2
I have a dataset with 200 observations. I generated a sample with no reset of size 100 with the following commands:
library(car)
require(car)
(amostra1= some(dados,n=100,replace=F))
write.xlsx(amostra1,"C:/Users/../Desktop/amostra1.xlsx")
My interest is also in the non-sampled remarks.
The question is: What (is) command(s) in R should I use to get the observations nay sampled?
library
andrequire
is redundant. Keep the first, remove the second.– Rui Barradas