[R] package sampling

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Dec 13 11:11:32 CET 2010


Which version of R and sampling? Where is the reproducible code?

Uwe Ligges

On 11.12.2010 16:16, andrija djurovic wrote:
> Hi R users.
>
> I have a problem with function strata in sampling packages.
>
>> st0 = strata(dom, stratanames="stratas", size=sample.size,
> method="systematic",pik, FALSE)
> Error in sort.list(y) : 'x' must be atomic for 'sort.list'
> Have you called 'sort' on a list?
>
> In previous version of R 2.9.1 and previous version of package sampling this
> code worked well and now I don't know what is a problem?
> Any ideas how to solve this problem will be very useful?
>
>
> Thanks in advance
>
> Andrija
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list