On Thu, 2009-10-01 at 13:34 +0000, KABELI MEFANE wrote: > ## package sampling > > stra=strata(sampleframe,c("type","value","rating"),size=c(20,80,200,300,400), > method="srswor") > sample.strat<-getdata(sampleframe,stra) > > sample.strat >
Try: stra<-strata(sampleframe,size=c(20,80,200,300,400),method="srswor") sample.strat<-getdata(sampleframe,stra) sample.strat -- Bernardo Rangel Tura, M.D,MPH,Ph.D National Institute of Cardiology Brazil ______________________________________________ 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.