Learn R Programming

ruminate (version 0.3.1)

run_nca_components: Runs NCA for the Current Analysis

Description

Takes the current state and runs the current analysis in that state.

Usage

run_nca_components(
  state,
  components = c("nca", "fg_ind_obs", "tb_ind_obs", "tb_ind_params"),
  verbose = TRUE
)

Value

List with the following components:

  • isgood: Return status of the function.

  • 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.

Examples

Run this code
# We need a state object to use below
sess_res = NCA_test_mksession()
state = sess_res$state

state = run_nca_components(state, components="tb_ind_params")

Run the code above in your browser using DataLab