Hi!

I am just learning the 'svyglm' package and have run into an error for which I 
have not found a solution. My data have been collected from a stratified random 
survey. Here is the code:

NB3<-glm.nb(COLNUM~Year+Depth+MESH+offset(LogEffort),data=data)

dstrat <- svydesign(id=~1, strata=~STRATA, weights = ~weight, data=data)

SNB3 <- svyglm(NB3, design=dstrat)

The error that is returned is:

Error in model.frame.glm(formula = list(coefficients = c(-6.96858807641624,  :
  object '.survey.prob.weights' not found

I would appreciate any assistance in solving this problem.

Thanks,

Laura


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to