read_input: Read Modelling input data

Description Usage Arguments Value

View source: R/pmx-reader.R

Description

Read Modelling input data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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


ggPMX documentation built on Sept. 20, 2021, 5:09 p.m.