[R] svyciprop object

kende jan kendejan at yahoo.fr
Fri May 6 11:20:00 CEST 2016


Hi, I'd like to access to the different elements in a svyciprop object (to the confidence intervals in particular...). But none of the functions I know works.Thank you for your help !
> grr <- svyciprop(~temp==bzz, dclus1)> grr                               2.5%   97.5%temp == bzz 0.040719697 0.027622756 0.05965> attributes(grr)$names[1] "temp == bzz"
$var                        as.numeric(temp == bzz)as.numeric(temp == bzz)       6.42377038236e-05
$ci           2.5%           97.5% 0.0276227559667 0.0596454643748 
$class[1] "svyciprop"
> grr$ciErreur dans grr$ci : $ operator is invalid for atomic vectors> grr["ci"]<NA>   NA > ci(grr)Erreur : impossible de trouver la fonction "ci"


	[[alternative HTML version deleted]]



More information about the R-help mailing list