vendredi 23 avril 2021

How to generate random numbers from a function in rStudio

I'm having difficulty generating a random sample of size 1000 from a function. Say the function is function(x){0.25*x}. Please help




Aucun commentaire:

Enregistrer un commentaire