read_input: Read Modelling input data

View source: R/pmx-reader.R

read_inputR Documentation

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


ggPMX documentation built on May 29, 2024, 1:40 a.m.