Displaying 1 result from an estimated 1 matches for "vector_of_100_mean".
Did you mean:
vector_of_100_means
2010 Sep 14
3
rnorm using vector of means and SDs
...ent parameters (i.e. the mean and standard deviation). That is, I have a list/vector of say 100 means and another of the corresponding 100 SD's, and I want a matrix of 100 rows (one for each mean and SD pair) each having 1000 random samples.
Something like:
sample_matrix = rnorm(n=1000, mean=vector_of_100_means, sd=vector_of_100_corresponding_SDs)
Is this possible? Thanks for any help in advance.