View source: R/careFlowMiner.wrapper.R
CFM.loadDataset | R Documentation |
Load a dataLoader$getData() structure
CFM.loadDataset(objCFM, inputData, dateToColumnName = NA, dateToFormat = "")
objCFM |
the |
inputData |
the data to load formattes as a dataLoader$getData() structure |
dateToColumnName |
the name of the column containing the optional |
dateToFormat |
the format of the optional |
## Not run: # instantiate a dataLoader object library(pMineR) tmp.objDL <- dataLoader() invisible(tmp.objDL$load.data.frame( mydata = data.frame(myInputCSVData) , IDName = "PatientID",EVENTName = "clinicalEvent", dateColumnName = "STRT_DT", format.column.date = "%Y-%m-%d %H:%M:%S" )) DLS <- tmp.objDL$getData() a <- careFlowMiner() a$loadDataset(DLS = DLS , dateToColumnName = "END_DT",dateToFormat="%Y-%m-%d %H:%M:%S") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.