Change postprocessing used in susiF object
Usage
change_fit(
obj,
Y,
X,
to = "TI",
verbose = TRUE,
max_scale = 10,
filter_cs = FALSE,
filter.number = 10,
family = "DaubLeAsymm"
)
Arguments
- obj
a fitted susiF object
- Y
functional phenotype used in the original fit
- X
matrix of covariates used in the original fit
- to
name of the type of postprocessing you wish to change the susiF object to be fitted with current option "TI" or "hMM"
- verbose
If
verbose = TRUE
, the algorithm's progress, and a summary of the optimization settings are printed on the console.- max_scale
numeric, define the maximum of wavelet coefficients used in the analysis (2^max_scale). Set 10 true by default.
- filter_cs
logical, if TRUE filters the credible set (removing low-purity) cs and cs with estimated prior equal to 0). Set as TRUE by default.
- filter.number
see documentation of wd from wavethresh package
- family
see documentation of wd from wavethresh package