Read data into structures (internal)
Creates an NpdeData object containing the observed data, either from disk or from a dataframe
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 )
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) |
an object of class "NpdeData"
or "NpdeSimData"
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.