run_nca_components {ruminate}R Documentation

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")
)

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

Value

List with the following components:

Examples

# We need a state object to use below
sess_res = NCA_test_mksession(session=list(), full_session=FALSE)
state = sess_res$state

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

[Package ruminate version 0.2.4 Index]