parameter_varCovar_mix99: Parameter File for Mix99

Description Usage Arguments Examples

View source: R/CreateVarCovarMix99.R

Description

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.

Usage

1
2
parameter_varCovar_mix99(psInputFile = psInputFile,
  psOptionRatio = FALSE, psRatio = 100, psOutputFile = psOutputFile)

Arguments

psInputFile

input csv-file

psOptionRatio

TRUE or FALSE

psRatio

number

psOutputFile

output txt-file

Examples

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)

sknqualitasag/PositiveDefinit documentation built on Nov. 5, 2019, 9:20 a.m.