Creates an NpdeData object containing the observed data, either from disk or from a dataframe
read(object, dat, detect=TRUE, verbose=FALSE, ...)# S4 method for NpdeData
read(object, dat, detect = TRUE, verbose = FALSE, ...)
# S4 method for NpdeSimData
read(object, dat, detect = FALSE, verbose = FALSE, ...)
an object of class "NpdeData"
or "NpdeSimData"
an object
a dataframe containing the data to be analysed
a boolean; if TRUE, automatic recognition of names will be attempted to detect necessary items for a NpdeData, these include longitudinal data structure, missing data and censoring information for a NpdeSimData, the required columns should be called idsim, xsim, ysim, representing respectively simulated id, simulated predictor and simulated response
a boolean; messages are printed if verbose is TRUE (defaults to FALSE)
additional arguments for compatibility with generic