[R] svyciprop object

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri May 6 14:00:09 CEST 2016


Your post in HTML format came through garbled.  Please post plain text email on this list. 

Your question is unclear as well.  Perhaps you are not familiar with using the str() function preview what is in an object? 
-- 
Sent from my phone. Please excuse my brevity.

On May 6, 2016 2:20:00 AM PDT, kende jan via R-help <r-help at r-project.org> wrote:
>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]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list