The main interface function provides serveral PRECAST submodels, so a model setting is required to specified in advance for a PRECASTObj object.

AddParSetting(PRECASTObj, ...)

Arguments

PRECASTObj

a PRECASTObj object created by CreatePRECASTObject.

...

other arguments to be passed to model_set funciton.

Details

Nothing

Value

Return a revised PRECASTObj object.

Author

Wei Liu

Note

nothing

See also

None

Examples

  data(PRECASTObj)
  PRECASTObj <-AddParSetting(PRECASTObj)
  PRECASTObj@parameterList
#> $Sigma_equal
#> [1] FALSE
#> 
#> $Sigma_diag
#> [1] TRUE
#> 
#> $mix_prop_heter
#> [1] TRUE
#> 
#> $error_heter
#> [1] TRUE
#> 
#> $Sp2
#> [1] TRUE
#> 
#> $wpca_int
#> [1] FALSE
#> 
#> $int.model
#> [1] "EEE"
#> 
#> $coreNum
#> [1] 1
#> 
#> $coreNum_int
#> [1] 1
#> 
#> $beta_grid
#>  [1] 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8
#> [20] 4.0
#> 
#> $maxIter_ICM
#> [1] 6
#> 
#> $maxIter
#> [1] 20
#> 
#> $epsLogLik
#> [1] 1e-05
#> 
#> $verbose
#> [1] TRUE
#> 
#> $seed
#> [1] 1
#>