Description Usage Arguments Details Value Author(s) See Also Examples
Builds a matrix of uniformly random association values between -1 and +1 for all pairs of variables that follow from the number of variables given as input argument.
1 | qpUnifRndAssociation(n.var, var.names=as.character(1:n.var))
|
n.var |
number of variables. |
var.names |
names of the variables to use as row and column names in the resulting matrix. |
This function simply generates uniformly random association values with no independence
pattern associated to them. For generating a random covariance matrix that reflects
such a pattern use the function qpG2Sigma
.
A symmetric matrix of uniformly random association values between -1 and +1.
R. Castelo
1 2 | rndassociation <- qpUnifRndAssociation(100)
summary(rndassociation[upper.tri(rndassociation)])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.