plot.nonprob | R Documentation |
Simple plotting method that compares the estimated mean(s) and CI(s) with the naive (uncorrected) estimates.
## S3 method for class 'nonprob'
plot(x, ...)
x |
the |
... |
other arguments passed to the plot method (currently not supported) |
data(admin)
data(jvs)
jvs_svy <- svydesign(ids = ~ 1, weights = ~ weight,
strata = ~ size + nace + region, data = jvs)
ipw_est1 <- nonprob(selection = ~ region + private + nace + size,
target = ~ single_shift,
svydesign = jvs_svy,
data = admin, method_selection = "logit")
plot(ipw_est1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.