ggPMX (version 0.9.4)

read_input: Read Modelling input data

Description

Read Modelling input data

Usage

read_input(ipath, dv, dvid, cats = "", conts = "", strats = "",
  occ = "", endpoint = NULL, id = NULL, time = NULL)

Arguments

ipath

full path of the input file

dv

character the name of measurable variable used in the input modelling file

dvid

character observation type parameter

cats

[Optional]character vector of categorical covariates

conts

[Optional]character vector of continuous covariates

strats

[Optional]character extra stratification variables

occ

[Optional]character inter individual occasion variables

endpoint

integer null in case of a single endpoint otherwise the index of endpoints.

id

character the name of identifier variable used in the input modelling file.

time

character the name of time variable used in the input modelling file

Value

data.table well formatted containing modelling input data