lrSS(HR, PRIOR = FALSE, Sp, tp, mtp, a, f, alpha = 0.1,
beta = 0.2, p = 0.5)TRUE then additional estimates
will be givenPRIOR = FALSE, n, the no. of subjects
required (with no prior information).
If
PRIOR = TRUE, A list with the following values:
[object Object],[object Object],[object Object]data(btumors)
lrSS(HR=1.5)
m1 <- mean(rep(btumors[,"ms"],btumors[,"n"]))
lrSS(HR=1.5,PRIOR=TRUE,
Sp=c(0.43,0.2,0.11),tp=c(1,2,3),
mtp=m1,a=2,f=1,alpha=0.1,beta=0.2,p=0.5)Run the code above in your browser using DataLab