Good afternoon, I am studying R in Ubuntu (16.04 LTS). When trying to use the strata function through the command below:
amostra = strata(infert, c("education"), size = c(5, 48, 47), method = "srswor")
The error below occurs:
Error in strata (infert, c ("education"), size = c (5, 48, 47), method="srswor"): could not find strata function
R version in Ubuntu R version 3.4.2 (2017-09-28) - "Short Summer"