PBSmodelling (version 2.68.8)

genMatrix: Generate Test Matrices for plotBubbles

Description

Generate a test matrix of random numbers (mu = mean and signa = standard deviation), primarily for plotBubbles.

Usage

genMatrix(m,n,mu=0,sigma=1)

Value

An m by n matrix with normally distributed random values.

Arguments

m

number of rows

n

number of columns

mu

mean of normal distribution

sigma

standard deviation of normal distribution

Author

Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC

See Also

plotBubbles

Examples

Run this code
local(envir=.PBSmodEnv,expr={
  plotBubbles(genMatrix(20,6))
})

Run the code above in your browser using DataLab