msgs: Error messages if any issues were encountered.
nca_res: PKNCA results if run was successful.
Arguments
state
NCA state from NCA_fetch_state()
components
List of components to run. By default it will run all of
the following. If you just need to regenerate a figure based on the current
nca results you can just specify that component. These are the valid
verbose
Logical to enable or disable messaging
components:
nca: Run NCA analysis
fg_ind_obs: Build the figure(s) with the indiviudal observations.
tb_ind_obs: Build the table(s) with the indiviudal observations.
tb_ind_params: Build the table(s) with the indiviudal parameters.
# We need a state object to use belowsess_res = NCA_test_mksession()
state = sess_res$state
state = run_nca_components(state, components="tb_ind_params")