R/RcppExports.R

Defines functions sample_choice record_shown process_4_output_cpp

Documented in process_4_output_cpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' multiRL.output
#'
#' @param record multiRL.record
#' @param extra A list of extra information passed from R.
#' @return An S4 object of class \code{multiRL.output}.
#' 
#'  \describe{
#'     \item{\code{input}}{
#'       An object of class \code{multiRL.input},
#'       containing the raw data, column specifications, parameters and ...
#'     }
#'     \item{\code{behrule}}{
#'       An object of class \code{multiRL.behrule},
#'       defining the latent learning rules.
#'     }
#'     \item{\code{result}}{
#'       An object of class \code{multiRL.result},
#'       storing trial-level outputs of the Markov Decision Process.
#'     }
#'     \item{\code{extra}}{
#'       A \code{List} containing additional user-defined information.
#'     }
#'   }
#' 
#' @export
process_4_output_cpp <- function(record, extra) {
    .Call(`_multiRL_process_4_output_cpp`, record, extra)
}

record_shown <- function(state, cue) {
    .Call(`_multiRL_record_shown`, state, cue)
}

sample_choice <- function(prob_row, shown_row, cues) {
    .Call(`_multiRL_sample_choice`, prob_row, shown_row, cues)
}

Try the multiRL package in your browser

Any scripts or data that you put into this service are public.

multiRL documentation built on March 31, 2026, 5:06 p.m.