countries-class {swash} | R Documentation |
Class "countries"
Description
The class "countries"
contains the results of a two-country comparison analysis using the Swash-Backwash Model, including two "sbm_ci"
classes for each country. Use summary(countries)
and plot(countries)
for results summary and plotting, respectively.
Objects from the Class
Objects can be created by calls of the form new("countries", ...)
.
Objects can be created by the function compare_countries(sbm1, sbm2)
.
Slots
sbm_ci1
:Object of class
"sbm_ci"
Results of"confint(sbm1)"
for country 1sbm_ci2
:Object of class
"sbm_ci"
Results of"confint(sbm1)"
for country 2D
:Object of class
"numeric"
Results: DifferenceD
between the samples with respect to the chosen indicatorD_ci
:Object of class
"numeric"
Results:\alpha
confidence intervals ofD
config
:Object of class
"list"
Configuration details for bootstrap samplingcountry_names
:Object of class
"character"
User-stated country namesindicator
:Object of class
"character"
User-stated indicator to be tested
Methods
- plot
signature(x = "countries")
: Plots the results of a two-country comparison with the Swash-Backwash Model- show
signature(object = "countries")
: Prints ancountries
object; usesummary(sbm_ci)
for results- summary
signature(object = "countries")
: Prints a summary of acountries
object (results of the two-country comparison)
Author(s)
Thomas Wieland
Examples
showClass("countries")