Description Usage Arguments Value Examples
View source: R/buildScaleMat_function.R
This function builds a 2x2 scale matrix given xsd, ysd, corr, and df.
1 | buildScaleMat(xsd, ysd, r, df)
|
xsd |
A positive number representing the standard deviation of x. |
ysd |
A positive number representing the standard deviation of x. |
r |
A number between -1 and 1 representing the correlation of x and y. |
df |
Integer greater than 3, representing degrees of freedom with df=Inf implying normal. |
Returns a 2x2 matrix oftened used to give scaling parameters to rmt.
1 2 | buildScaleMat( 1,1,0,Inf) #normal
buildScaleMat( 1,1,0,4) #t with df =4
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.