genMatrix | R Documentation |
Generate a test matrix of random numbers (mu
= mean
and signa
= standard deviation), primarily for plotBubbles
.
genMatrix(m,n,mu=0,sigma=1)
m |
number of rows |
n |
number of columns |
mu |
mean of normal distribution |
sigma |
standard deviation of normal distribution |
An m
by n
matrix with normally distributed random values.
Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
plotBubbles
local(envir=.PBSmodEnv,expr={
plotBubbles(genMatrix(20,6))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.