fit.final_space {isobxr} | R Documentation |
Fit n parameters to observations
Description
A function to find the combinations of values of n parameters producing final state delta values fitting within confidence intervals of observations.
Usage
fit.final_space(
workdir,
obs_file_name,
sweep_space_digest_folders,
fit_name = NULL,
output_dir = NULL,
delta_reference_box = NaN,
excluded_boxes = NULL,
print_correlogram = FALSE,
print_lda = FALSE,
print_LS_surfaces = FALSE,
parameter_subsets = NULL,
custom_expressions = NULL,
save_outputs = FALSE,
export_fit_data = FALSE
)
Arguments
workdir |
Working directory of 0_ISOBXR_MASTER.xlsx master file, |
obs_file_name |
Name of csv file containing observations with csv extension.
|
sweep_space_digest_folders |
Name of sweep.final_nD digest directory. |
fit_name |
Name given to specific fit. If NULL, output are named after date and time of fit. |
output_dir |
Destination directory for fit outputs. If NULL, outputs are stored in sweep_space_digest_folders directory. Default is NULL. |
delta_reference_box |
BOX ID of reference box, used to calculate difference
between any box delta and reference box delta. Default is NaN. |
excluded_boxes |
list of boxes to exclude from fit. Default is NULL. |
print_correlogram |
If TRUE, includes correlograms to final report when applicable. |
print_lda |
If TRUE, includes linear discriminant analysis to final report
when applicable. |
print_LS_surfaces |
If TRUE, includes surfaces of least squarred residuals
to final report when applicable. |
parameter_subsets |
List of limits vectors for parameters to subset before fit. |
custom_expressions |
Vector of expressions to add to the list of fitted parameters. |
save_outputs |
If TRUE, saves all run outputs to local working directory (workdir). |
export_fit_data |
If TRUE, exports fitted data as csv and rds files. |
Value
A observation fit graphical report, in R session or exported as pdf, and a data report as R list or xlsx if required.