View source: R/NpdeData-methods.R
npdeSimData | R Documentation |
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)
npde.data |
a NpdeData object |
name.simdata |
name of the file containing the simulated data, or a dataframe containing it |
header |
boolean indicating whether the file has a header (a header is mandatory if detect is TRUE) |
sep |
field separator (for files on disk) |
na.strings |
strings to be considered as indicating NA |
detect |
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) |
verbose |
whether to print warning messages, defaults to FALSE (set to TRUE to check how data is being handled) |
an object of class NpdeSimData
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
NpdeData
, npde
, autonpde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.