could you provide a reproducible example  ?dput is your friend

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example


On Sat, Jun 7, 2014 at 11:22 AM, Michael Willmorth <
mwillmo...@clearwater-research.com> wrote:

> I'm teaching myself how to use rake() in the R "survey" package, using
> Thomas
> Lumley's "Complex Surveys" book. Working with one of my data sets, I
> received
> an error that has me stumped.
>
> Here is the code I used:
>
> d473.raked <- rake(sdes473,
>   sample=list(~m01, ~m02, ~m03, ~m04, ~m05, ~m06c, ~m07c, ~m08, ~m09,
>               ~m10c, ~m11, ~m12c, ~m13, ~m14c, ~m15c, ~m16c),
>   population=list(pop.m01, pop.m02, pop.m03, pop.m04, pop.m05,
>                   pop.m06, pop.m07, pop.m08, pop.m09, pop.m10,
>                   pop.m11, pop.m12, pop.m13, pop.m14, pop.m15,
>                   pop.m16))
>
> Here is the error I received:
>
> Error in array(dim = extent, dimnames = namelist) : vector is too large
> In addition: Warning messages:
> 1: In ngroup * (as.integer(index) - one) :
>   NAs produced by integer overflow
> 2: In group + ngroup * (as.integer(index) - one) :
>   NAs produced by integer overflow
> 3: In ngroup * nlevels(index) : NAs produced by integer overflow
>
> Any guidance on this would be much appreciated.
>
> Thanks,
>
> Michael Willmorth
>
>         [[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.
>

        [[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