samedi 3 novembre 2018

Random sample in R-commander

Is there a menu option in RCommander to use the sample command?

In R I would just do (for example):

sample(1:10, 100, replace=TRUE)

Or:

sample(c("black","white", "red"), 2)

I couldn't find a menu option in RCommander to do the same. Is there such a menu?




Aucun commentaire:

Enregistrer un commentaire