Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

read

Read data into structures (internal)


Description

Creates an NpdeData object containing the observed data, either from disk or from a dataframe

Usage

read(object, name.data, header=TRUE, sep="", na.strings=c("NA","."), detect=TRUE,
verbose=FALSE)

## S4 method for signature 'NpdeData'
read(
  object,
  name.data,
  header = TRUE,
  sep = "",
  na.strings = c("NA", "."),
  detect = TRUE,
  verbose = FALSE
)

## S4 method for signature 'NpdeSimData'
read(
  object,
  name.data,
  header = TRUE,
  sep = "",
  na.strings = c("NA", "."),
  verbose = FALSE
)

Arguments

object

an object

name.data

character string giving the name of the dataset (can be a file on disk or an R dataframe)

header

boolean indicating whether the file has a header (mandatory if detect is TRUE)

sep

field separator (for files on disk)

na.strings

strings to be considered as indicating NA

detect

a boolean; if TRUE, automatic recognition of names will be attempted to detect necessary items (longitudinal data structure, missing data and censoring information)

verbose

a boolean; messages are printed if verbose is TRUE (defaults to FALSE)

Value

an object of class "NpdeData" or "NpdeSimData"


npde

Normalised Prediction Distribution Errors for Nonlinear Mixed-Effect Models

v3.1
GPL (>= 2)
Authors
Emmanuelle Comets [aut, cre] (<https://orcid.org/0000-0002-9150-9886>), Karl Brendel [ctb], Thi Huyen Tram Nguyen [ctb], Romain Leroux [ctb], France Mentre [ctb]
Initial release
2021-04-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.