Description Usage Arguments Value Author(s) Examples

Create a random Phi matrix with maximum factor correlation.

1 | ```
genPhi(NFac, EigenValPower = 6, MaxAbsPhi = 0.5)
``` |

`NFac` |
Number of factors. |

`EigenValPower` |
(Scalar > 1) A scalar than controls the positive skewness of the distribution of eigenvalues of Phi. |

`MaxAbsPhi` |
(Scaler in [0,1]) The maximum off diagonal of Phi (the factor correlation matrix). |

A factor correlation matrix. Note that the returned matrix is not guaranteed to be positive definite. However, a PD check is performed in simFA so that simFA always produces a PD Phi matrix.

Niels Waller

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.