Description Usage Arguments Examples
View source: R/CreateVarCovarMix99.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.
The software mix99 need a paramter-File with the variance and covariance. So this function is building this paramter-file.
1 2 | parameter_varCovar_mix99(psInputFile = psInputFile,
psOptionRatio = FALSE, psRatio = 100, psOutputFile = psOutputFile)
|
psInputFile |
input csv-file |
psOptionRatio |
TRUE or FALSE |
psRatio |
number |
psOutputFile |
output txt-file |
1 2 3 4 5 | ## Not run:
PositiveDefinit::parameter_varCovar_mix99(psInputFile = '/qualstorzws01/data_projekte/projekte/singularity_data_zws_gslim/muku_CarcassVK/work/VCE_results.csv',
psOutputFile = 'par_varCovar_mix99.txt')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.