powered by
Generate a test matrix of random numbers (mu = mean and signa = standard deviation), primarily for plotBubbles.
mu
signa
plotBubbles
genMatrix(m,n,mu=0,sigma=1)
An m by n matrix with normally distributed random values.
m
n
number of rows
number of columns
mean of normal distribution
standard deviation of normal distribution
Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
local(envir=.PBSmodEnv,expr={ plotBubbles(genMatrix(20,6)) })
Run the code above in your browser using DataLab