Learn R Programming

campsis (version 1.9.2)

Occasion: Define a new occasion. Occasions are defined by mapping occasion values to dose numbers. A new column will automatically be created in the exported dataset.

Description

Define a new occasion. Occasions are defined by mapping occasion values to dose numbers. A new column will automatically be created in the exported dataset.

Usage

Occasion(colname, values, dose_numbers)

Value

occasion object

Arguments

colname

name of the column that will be output in dataset

values

the occasion numbers, any integer vector

dose_numbers

the related dose numbers, any integer vector of same length as 'values'