View source: R/PositiveDefinit.R
Read csv-file of the variance component estimates and construct a matrix with this estimates by parts. This matrix is checked if she is positive definite or not. If this matrix is not positive definite, 2 functions may be called. If you put the paramter psOptionRatio = FALSE, makePD2() is called . For the parameter psOptionRatio = TRUE the function make_pd_rat_ev() is called. The difference is, that with make_pd_rat_ev() you have the option to whish a maximum ratio between largest and smallest eigenvalue.
1 | positivedefinit(psInputFile, psOptionRatio = FALSE, psRatio = 100)
|
psInputFile |
input csv-file |
psOptionRatio |
TRUE or FALSE |
psRatio |
number |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.