Create a variable using base R

Discuss statistics related things
Post Reply
srk80
Posts: 1
Joined: Sat Mar 18, 2023 7:37 am

Create a variable using base R

Post 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)
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Create a variable using base R

Post by jonathon »

yes.

https://youtu.be/32_Oc5jJElA

jonathon
Post Reply