ABCoxPH {ABSurvTDC}R Documentation

Cox-PH Model for Animal Breeding

Description

Data preparation for ABCoxPH

Usage

ABCoxPH(wide_data, lact)

Arguments

wide_data

Dataset from DataPrep function

lact

Number of lactation to be used for model building

Value

References

Examples

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))
ABCoxPH(PropData)

[Package ABSurvTDC version 0.1.0 Index]