Man pages for campsis
Generic PK/PD Simulation Platform Campsis

apply_actionApply some action on the given object.
apply_compartment_characteristicsApply compartment characteristics from model. In practice,...
apply_outfunApply output function(s) on the given Campsis results.
apply_scenarioApply scenario to the given model or dataset.
ArmCreate a treatment arm.
arm-classArm class.
arms-classArms class.
as.numeric-time_sequence-methodTime sequence to numeric vector.
as.numeric-time_vector-methodTime vector to numeric vector.
assign_dose_numberAssign dose number to each treatment entry.
BinomialDistributionBinomial distribution.
binomial_distribution-classBinomial distribution class.
BolusCreate one or several bolus(es).
bolus-classBolus class.
bolus_wrapper-classBolus wrapper class.
BootstrapCreate a bootstrap object.
bootstrap-classBootstrap class.
BootstrapDistributionCreate a bootstrap distribution. During function sampling,...
bootstrap_distribution-classBootstrap distribution class.
campsis_handlerSuggested Campsis handler for showing the progress bar.
campsis_metadata-classCampsis metadata class.
campsis_tbl-classCampsis table class (see this class as an interface)
check_ii_and_addlCheck ii and addl arguments in addition to time.
compute_incremental_progressCompute incremental progress.
compute_piCompute the prediction interval summary over time.
compute_statsCompute generic statistics over time.
ConstantDistributionCreate a constant distribution. Its value will be constant...
constant_distribution-classConstant distribution class.
convert_timeConvert numeric time vector based on the provided units.
convertTimeConvert numeric time vector based on the provided units.
counterBalanceLocfModeCounter-balance LOCF mode for occasions & IOV. This function...
counterBalanceNocbModeCounter-balance NOCB mode for occasions & IOV. This function...
CovariateCreate a non time-varying (fixed) covariate.
covariate-classCovariate class.
covariates-classCovariates class.
cutTableForEventCut table according to given iteration.
CyclicScheduleCyclic schedule constructor.
cyclic_schedule-classCyclic schedule class.
DatasetCreate a dataset.
dataset-classDataset class.
DatasetConfigCreate a dataset configuration. This configuration allows...
dataset_config-classDataset configuration class.
DatasetSummaryCreate a dataset summary (internal method).
daysConvert days to hours.
DeclareCreate declare settings.
declare_settings-classDeclare settings class.
DefaultOutfunDefault output function (identity function).
default_outfun-classDefault output function class.
DefaultSettingsCreate default settings.
default_settings-classDefault settings class.
DiscreteDistributionDiscrete distribution.
discrete_distribution-classDiscrete distribution class.
distribution-classDistribution class. See this class as an interface.
DoseAdaptationCreate a dose adaptation.
dose_adaptation-classDose adaptation class.
dose_adaptations-classDose adaptations class.
dosing_onlyFilter Campsis output on dosing rows.
DosingScheduleDosing schedule constructor.
dosing_schedule-classDosing schedule class.
dot-assert_variable_presentAssert that one or more variable columns are present in the...
dot-auto_colour_columnsDetect colour stratification columns automatically.
dot-auto_strataDetect VPC stratification variable automatically.
dot-is_replicatedDoes the data contain more than one replicate?
drop_othersReturn the 'DROP_OTHERS' string that may be used in the...
EtaDistributionCreate an ETA distribution. The resulting distribution is a...
EventCreate an interruption event.
event-classEvent class.
EventCovariateCreate an event covariate. These covariates can be modified...
event_covariate-classEvent covariate class.
EventIterationCreate an event iteration object.
EventRelatedObservationsCreate an event-related observations list. Please note that...
EventsCreate a list of interruption events.
events-classEvents class.
export_delegateExport delegate method. This method is common to RxODE and...
export_table_delegateExport table delegate.
fillIOVOccColumnsFill IOV/Occasion columns.
fixed_covariate-classFixed covariate class.
FixedDistributionCreate a fixed distribution. Each sample will be assigned a...
fixed_distribution-classFixed distribution class.
FunctionDistributionCreate a function distribution. During distribution sampling,...
function_distribution-classFunction distribution class.
generate_iivGenerate IIV matrix for the given Campsis model.
generate_iiv_Generate IIV matrix for the given OMEGA matrix.
get_available_time_unitsReturn the list of available time units.
get_campsis_optionGet Campsis option logic.
get_campsis_optionsGet the Campsis options (R options).
get_columnGet data of given column unless if does not exist (return...
get_compartment_mappingGet a mapping table with all possibilities of compartment...
get_covariatesGet all covariates (fixed / time-varying / event covariates).
getDatasetMaxTimeGet dataset max time.
get_event_covariatesGet all event-related covariates.
getEventIterationsGet list of event iterations.
get_fixed_covariatesGet all fixed covariates.
get_initial_conditionsGet initial conditions at simulation start-up.
get_iovsGet all IOV objects.
get_occasionsGet all occasions.
get_random_seed_valueGet random seed value.
get_seedGet seed value.
get_seed_for_dataset_exportGet seed for dataset export.
get_seed_for_iterationGet seed for iteration.
get_seed_for_parameters_samplingGet seed for parameter uncertainty sampling.
get_simulation_engine_typeGet simulation engine type.
get_splitting_configurationGet splitting configuration for parallel export.
get_timesGet all distinct times for the specified object.
get_time_varying_covariatesGet all time-varying covariates.
getTimeVaryingVariablesGet all time-varying variables. These variables are likely to...
HardwareCreate hardware settings.
hardware_settings-classHardware settings class.
hoursConvert hours to hours (do nothing).
import_campsismod_to_namespaceImport the whole campsismod package into NAMESPACE when...
InfusionCreate one or several infusion(s).
infusion-classInfusion class.
infusion_wrapper-classInfusion wrapper class.
internal_settings-classInternal settings class (transient object from the simulation...
IOVDefine inter-occasion variability (IOV) into the dataset. A...
is_empty_bootstrapIs the given bootstrap empty.
json_to_campsis_datasetJSON to Campsis dataset.
json_to_campsis_settingsJSON to Campsis dataset.
left_join_iivLeft-join IIV matrix.
length-arm-methodReturn the number of subjects contained in this arm.
length-cyclic_schedule-methodReturn the number of repetition cycles.
length-dataset-methodReturn the number of subjects contained in this dataset.
length-repeat_at_schedule-methodReturn the number of repetition cycles.
LogNormalDistributionCreate a log normal distribution.
lognormal_distribution-classLog normal distribution class.
make_vpc_summaryMake the VPC summary. Input data frame must contain the...
mergeTimeVaryingCovariatesMerge time-varying covariates into a single data frame. This...
minutesConvert minutes to hours.
monthsConvert pharma months (1 month = 4 weeks) to hours.
mrgsolve_engine-classmrgsolve engine class.
NCATableOutfunCreate a NCA table output function
nca_table_outfun-classNCA table output function class.
nhanesNHANES database (demographics and body measure data combined,...
NOCBCreate NOCB settings.
nocb_settings-classNOCB settings class.
NormalDistributionCreate a normal distribution.
normal_distribution-classNormal distribution class.
ObservationsCreate an observations list. Please note that the provided...
observations-classObservations class.
observations_set-classObservations set class.
obs_onlyFilter Campsis output on observation rows.
OccasionDefine a new occasion. Occasions are defined by mapping...
occasion-classOccasion class.
occasions-classOccasions class.
on_ciCheck if the current session is on CI (e.g. GitHub actions).
on_cranCheck if the current session is on CRAN. The objective is to...
open_jsonOpen JSON file.
OutfunCreate a new output function
outfun-classOutput function class.
OutfunsCreate a collection of output functions.
outfuns-classOutput functions class (i.e. a collection of output...
ParameterDistributionCreate a parameter distribution. The resulting distribution...
PICompute the prediction interval summary over time...
pi_campsis_tbl-classPrediction Interval (PI) Campsis table class
PIOutfunCreate a prediction interval output function
pi_outfun-classPrediction interval output function class.
preprocess_arm_columnPreprocess ARM column. Add ARM equation in model...
preprocess_destPre-process destination engine. Throw an error message if the...
preprocess_dosingPreprocess 'dosing' argument.
preprocess_eventsPre-process events.
preprocess_idsPreprocess subjects ID's.
preprocessNocbvarsPreprocess 'nocbvars' argument.
preprocess_outfunPre-process outfun argument.
preprocess_outvarsPreprocess 'outvars' argument. 'Outvars' is a character...
preprocess_replicatesPreprocess 'replicates' argument.
preprocess_scenariosPre-process scenarios.
preprocess_settingsPreprocess the simulation settings.
preprocess_slicesPreprocess 'slices' argument.
preprocess_tablefunPre-process tablefun argument.
preprocessTSLDAndTDOSColumnPreprocess TSLD and TDOS columns according to given dataset...
processAllTimeColumnsProcess time-related columns according to given dataset...
process_arm_labelsProcess arm labels. Arm identifiers in ARM column are...
process_drop_othersProcess 'DROP_OTHERS'.
process_simulate_argumentsPreprocess arguments of the simulate method.
ProgressCreate progress settings.
progress_settings-classProgress settings class.
protocol-classProtocol class.
remove_initial_conditionsRemove initial conditions.
reorder_columnsReorder output columns.
RepeatAtSchedule'Repeat at' schedule constructor. Note that the time 0 for...
repeat_at_schedule-class'Repeat at' schedule class.
repeated_schedule-classRepeated schedule class. See this class as an interface.
repeat_scheduleRepeat schedule.
ReplaceActionCreate a replace action.
replace_action-classReplace action class.
retrieve_parameter_valueRetrieve the parameter value (standardized) for the specified...
rxode_engine-classrxode2 engine class.
sampleSample generic object.
sample_covariates_listSample covariates list.
sample_distribution_as_tibbleSample a distribution and return a tibble.
sampleTimeVaryingCovariatesSample time-varying covariates.
scatter_plotScatter plot (S3 generic).
scatterPlotScatter plot (or X vs Y plot).
scatter_plot.std_campsis_tblScatter plot for standard Campsis simulation output.
ScenarioCreate an scenario.
scenario_action-classScenario action class.
scenario_actions-classScenario actions class.
scenario-classScenario class.
ScenariosCreate a list of scenarios.
scenarios-classScenarios class.
secondsConvert seconds to hours.
set_labelSet the label.
setLabelSet the label.
set_seedSet the seed. The goal of this method is to centralize all...
set_subjectsSet the number of subjects.
setSubjectsSet the number of subjects.
SettingsCreate advanced simulation settings.
setup_plan_defaultSetup default plan for the given simulation or hardware...
setupPlanDefaultSetup default plan for the given simulation or hardware...
setup_plan_sequentialSetup plan as sequential (i.e. no parallelisation).
setupPlanSequentialSetup plan as sequential (i.e. no parallelisation).
shaded_plotShaded plot / prediction interval plot (S3 generic).
shadedPlotShaded plot (or prediction interval plot).
shaded_plot.std_campsis_tblShaded plot for standard Campsis simulation output.
simulateSimulate function.
simulate_delegateSimulation delegate (several replicates).
simulate_delegate_coreSimulation delegate core (single replicate).
simulate_scenariosSimulation scenarios.
simulation_engine-classSimulation engine class.
SimulationProgressCreate a simulation progress object.
simulation_progress-classSimulation progress class.
simulation_settings-classSimulation settings class.
SolverCreate solver settings.
solver_settings-classSolver settings class. See ?mrgsolve::update. See...
spaghetti_plotSpaghetti plot (S3 generic).
spaghettiPlotSpaghetti plot.
spaghetti_plot.std_campsis_tblSpaghetti plot for standard Campsis simulation output.
splitDatasetSplit dataset according to config.
standardise_timeStandardise time to hours.
stats_campsis_tbl-classStatistics Campsis table class
StatsOutfunCreate a statistics output function
stats_outfun-classStatistics output function class.
std_campsis_tbl-classStandard Campsis table class
TimeSequenceInstantiate a new time sequence.
time_sequence-classTime sequence class.
TimeVaryingCovariateCreate a time-varying covariate. This covariate will be...
time_varying_covariate-classTime-varying covariate class.
TimeVectorInstantiate a new time vector
time_vector-classTime vector class.
toDatasetSummaryConvert dataset to dataset summary (internal method).
to_explicit_distributionConvert user-given distribution to an explicit Campsis...
treatment-classTreatment class.
treatment_iov-classTreatment IOV class.
treatment_iovs-classTreatment IOV's class.
undefined_distribution-classUndefined distribution class. This type of object is...
undefined_schedule-classUndefined schedule class.
UniformDistributionCreate an uniform distribution.
uniform_distribution-classUniform distribution class.
unite_columnsUnite the given column names.
unwrap_treatmentUnwrap treatment.
update_addlUpdate the number of additional doses (ADDL).
update_amountUpdate amount.
update_iiUpdate the inter-dose interval (II).
update_repeatUpdate the repeat field (argument 'rep' in Bolus and Infusion...
vec_restore.campsis_tblRestore a campsis_tbl object
vpc_plotVPC plot (S3 generic).
vpcPlotVPC plot.
vpc_plot.pi_campsis_tblVPC plot for prediction-interval Campsis output.
vpc_plot.std_campsis_tblVPC plot for standard Campsis simulation output.
weeksConvert weeks to hours.
yearsConvert pharma years (1 year = 12*4 weeks) to hours.
campsis documentation built on Aug. 5, 2026, 9:07 a.m.