Skip to content
Back to formatted view

Raw Message

Message-ID: <4D05F154.1070900@statistik.tu-dortmund.de>
Date: 2010-12-13T10:11:32Z
From: Uwe Ligges
Subject: package sampling
In-Reply-To: <AANLkTikjZxAuYZtZkuRrGf+eXseo1y3Ujsp=aQRYS8TS@mail.gmail.com>

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.