genMatrix {PBSmodelling}R Documentation

Generate Test Matrices for plotBubbles

Description

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

Usage

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

Arguments

m number of rows
n number of columns
mu mean of normal distribution
sigma standard deviation of normal distribution

Value

An m by n matrix with normally distributed random values.

See Also

plotBubbles

Examples

plotBubbles(genMatrix(20,6))

[Package PBSmodelling version 0.60 Index]