Displaying 1 result from an estimated 1 matches for "m1_19_ocupacionprincipalactu".
Did you mean:
m1_19_ocupacionprincipalactual
2012 May 31
1
svychisq??
...frame=TRUE)
b<-matrix(c(am18$N6_MANZANA),ncol=1)
c<-matrix(c(am18$PM1_1_PONDEMUESTRA),ncol=1)
d<-matrix(c(am18$M1_3_ESTRATO),ncol=1)
e<-matrix(c(rep(0.078,315)),ncol=1)
Muestra.comp<-svydesign(id=~b,strata
=~d,nest=TRUE,weights=~c,data=am18, fpc=~e)
ocupacion
<-matrix(c(am18$M1_19_OCUPACIONPRINCIPALACTUAL),ncol=1)
APES<-matrix(c(am18$M3_11_AUTOPERCEPCIONSALUDGENERAL),ncol=1)
tbl1<-svytable(~ocupacion+APES,Muestra.comp)
summary(tbl1, statistic="Chisq")
Error en
`[.data.frame`(design$variables, , as.character(rows)) :
undefined columns
selected
when I call am18 at...