Page 1 of 1

Create a variable using base R

Posted: Sat Mar 18, 2023 7:39 am
by srk80
Hi, I would like to create a new toy dataset with variable X.
Is it possible to create 100 rows with the following code?
X = rnorm(100, 0, 1)

Re: Create a variable using base R

Posted: Sat Mar 18, 2023 11:28 pm
by jonathon
yes.

https://youtu.be/32_Oc5jJElA

jonathon