| readDatamlx {mlxR} | R Documentation | 
Read formatted data file
Description
Read data in a Monolix/NONMEM format
Usage
readDatamlx(
  project = NULL,
  data = NULL,
  out.data = FALSE,
  nbSSDoses = 10,
  obs.rows = FALSE,
  error.iov = FALSE,
  filter = NULL,
  datafile = NULL,
  header = NULL,
  infoProject = NULL,
  addl.ss = NULL
)
Arguments
project | 
 a Monolix project  | 
data | 
 a list with fields 
  | 
out.data | 
 TRUE/FALSE (default=FALSE) returns the original data as a table and some information about the Monolix project  | 
nbSSDoses | 
 number of additional doses to use for steady-state (default=10)  | 
obs.rows | 
 a list of observation indexes  | 
error.iov | 
 TRUE/FALSE (default=TRUE) returns an error message if occasions are overlapping  | 
filter | 
 filter to apply to the data (string)  | 
datafile | 
 (deprecated) a formatted data file  | 
header | 
 (deprecated) a vector of strings  | 
infoProject | 
 (deprecated) an xmlfile  | 
addl.ss | 
 (deprecated) number of additional doses to use for steady-state (default=10)  | 
Details
See http://simulx.webpopix.org/mlxr/readdatamlx/ for more details.
Value
A list of data frames
Examples
## Not run: 
# using a Monolix project:
d <- readDatamlx(project='projects/warfarinPK.mlxtran')
# using a data file:
warfarinPK <- list(dataFile = "data/warfarinPK.csv",
                   headerTypes = c("id", "time", "observation", "amount", 
                                   "contcov", "contcov", "catcov"),
                   administration = "oral")
d <- readDatamlx(data=warfarinPK)
## End(Not run)
[Package mlxR version 4.2.0 Index]