shift_state_indices: R starts counting vector indices at 1, c++ starts at 0, so...

View source: R/shift_state_indices.R

shift_state_indicesR Documentation

R starts counting vector indices at 1, c++ starts at 0, so reduce all state numbers in the Cpp function definition by 1

Description

R starts counting vector indices at 1, c++ starts at 0, so reduce all state numbers in the Cpp function definition by 1

Usage

shift_state_indices(ode_def, n = -1)

Arguments

ode_def

ODE definition

n

add/subtract what number, default = -1


InsightRX/PKPDsim documentation built on April 25, 2024, 2:10 a.m.