2
Good afternoon, I’m studying R on Ubuntu (16.04 LTS). When trying to use the strata function via the command below:
amostra = strata(infert, c("education"), size = c(5, 48, 47), method = "srswor")
Error occurs below:
Error in strata(infert, c("Education"), size = c(5, 48, 47), method = "srswor") : could not find function "strata"
R version on Ubuntu R version 3.4.2 (2017-09-28) -- "Short Summer"
I did the same, with the package
sos
, but I think taking into account the arguments of the question function should come from the packagesampling
.– Rui Barradas
Cool, I edited the package suggestion. Thank you
– Willian Vieira
Then you should include that in your reply, so you only removed the previous suggestion.
– Rui Barradas