DataPrep | R Documentation |
Data preparation for ABCoxPH
DataPrep(data, t_int, max_lac)
data |
Raw data sets |
t_int |
No of days to be considered as single time interval (Default value: 90) |
max_lac |
Maximum no of lactation to be considered for data preparation (Default value: Max Lactation) |
wide_data - Processed data for ABCoxPH
J.D. Kalbfleisch and R.L. Prentice (1980). The statistical analysis of failure time data. John Wiley & Sons, Inc., New York, 1980. <doi:10.1002/9781118032985>
J.P. Klein and M L. Moeschberger (2003). Survival Analysis: Techniques for Censored and Truncated Data. Springer New York. <doi:10.1007/b97377>
library("ABSurvTDC") library("readxl") data_test<-read_excel(path = system.file("extdata/data_test.xlsx", package = "ABSurvTDC")) PropData<-DataPrep(data =as.data.frame(data_test))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.