R Program to Create a list of random numbers in normal distribution: In this program, we will learn about the R program to create a list of a random numbers in the normal distribution. let’s start
R Program to Create a list of Random Numbers
Source Code
n = floor(rnorm(100, 50, 10))
print('random numbers lists:')
print(n)
t = table(n)
print("Count occurrences:")
print(t)
Output
R Program to Create a list of random numbers in normal distribution