Skip to contents

Joint data class (R6 class)

Joint data class (R6 class)

Public fields

paths

The events data, an object of class PathData.

dosing

The dosing data, an object of class DosingData.

Methods


Method new()

Initialize

Usage

JointData$new(paths, dosing)

Arguments

paths

The events data, an object of class PathData.

dosing

The dosing data, an object of class DosingData. Can be also NULL.


Method filter()

Filter subjects, creates new object

Usage

JointData$filter(subject_ids_keep)

Arguments

subject_ids_keep

Subjects to keep


Method print()

Print info

Usage

JointData$print()


Method plot_dosing()

Plot dosing

Usage

JointData$plot_dosing(df_fit = NULL, max_num_subjects = 12)

Arguments

df_fit

Fit data frame.

max_num_subjects

Max number of subjects to plot.

Returns

a ggplot


Method clone()

The objects of this class are cloneable with this method.

Usage

JointData$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.