Creates a named matrix of toy data from an
zero-mean normal distribution with identity covariance matrix.
For convenience in various examples and tests.
createData(n, m, n.na = 0)
A non-negative integer giving the number of observations/samples.
A non-negative integer giving the number of variables/features.
An integer from
m numeric matrix of observations from
zero-mean gaussian random variables.
NAs are randomly inserted in the output.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.