SummarySurvey {capm}  R Documentation 
Wraps functions for summary statistics from survey package.
SummarySurvey(design = NULL, variables = NULL, conf.level = 0.95, rnd = 3)
design 
an output form 
variables 

conf.level 
the confidence level required. 
rnd 
the number of decimal places (round) or significant digits (signif) to be used. If 
The length of variables
must be equal to the length of names(design$variables)
(see examples).
Matrix with survey summaries. The error (column "Error (
Lumley, T. (2011). Complex surveys: A guide to analysis using R (Vol. 565). Wiley.
Baquero, O. S., Marconcin, S., Rocha, A., & Garcia, R. D. C. M. (2018). Companion animal demography and population management in Pinhais, Brazil. Preventive Veterinary Medicine.
http://oswaldosantos.github.io/capm
data("cluster_sample") data("psu_ssu") ## Calibrated twostage cluster design cs < cluster_sample[ , c("interview_id", "census_tract_id", "number_of_persons", "number_of_dogs", "number_of_cats")] design < DesignSurvey(na.omit(cs), psu.ssu = psu_ssu, psu.col = "census_tract_id", ssu.col = "interview_id", cal.col = "number_of_persons", cal.N = 129445) SummarySurvey(design, c("total", "total", "total"))