This function is used to create a NpdeSimData object containing the simulated data corresponding to an NpdeData object
npdeSimData(npde.data, name.simdata, header=TRUE, sep="", na.strings=c("NA","."),
detect=FALSE, verbose=FALSE)
an object of class NpdeSimData
a NpdeData object
name of the file containing the simulated data, or a dataframe containing it
boolean indicating whether the file has a header (a header is mandatory if detect is TRUE)
field separator (for files on disk)
strings to be considered as indicating NA
a boolean controlling whether automatic recognition of columns in the dataset is on, defaults to FALSE if FALSE, the first 3 columns of the simulated data file will will be used as simulated id, predictor and response respectively if TRUE, the function will look for columns named respectively idsim, xsim and ysim (it will fail with an error message if these columns are not present in the simulated data)
whether to print warning messages, defaults to FALSE (set to TRUE to check how data is being handled)
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
NpdeData
, npde
, autonpde