Description Usage Arguments Details Value Author(s)
View source: R/simulate_chisq.R
Simulates a value from a chi-squared distribution with a specified correlation structure.
1 | simulate_chisq(corr_matrix, num_sims)
|
corr_matrix |
A square matrix of correlations. |
num_sims |
An integer value for the number of simulations to be performed. |
This function simulates a value from a chi-squared distribution with a specified correlation structure and degrees of freedom corresponding to the number of rows in the correlation matrix.
A numeric value corresponding to a chi-squared statistic simulated from a chi-squared-like distribution with specified correlation structure and degrees of freedom corresponding to the number of rows in the correlation matrix.
Caitlin McHugh mchughc@uw.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.