This function calculates the exponential hazard rates for the conditional survival functions
surv.exp.gt.model(pilm, lm, gtprev, GRR, zmodel, interval)
A vector of length three containing the exponential hazard rates
Probability that the time-to-event is greater than lm
Landmark time used for powering the study
Relative genotypic frequency
Genotype Hazard Ratio
Genetic Risk Model (choices are "additive", "recessive" or "dominant")
Interval to search for baseline hazard rate
Kouros Owzar, Zhiguo Li, Nancy Cox, Sin-Ho Jung and Chanhee Yi
Determines the time to event distributions in the three component mixture model discussed in the reference below. It is not intended to be called directly by the user. To conduct power calculations, use sim.snp.expsurv.power or the convenience wrapper function survSNP.power.table.
Kouros Owzar, Zhiguo Li, Nancy Cox and Sin-Ho Jung. Power and Sample Size Calculations for SNP Association Studies with Censored Time-to-Event Outcomes. https://onlinelibrary.wiley.com/doi/full/10.1002/gepi.21645