get.pval {bigtcr} | R Documentation |
Comparison of CCIF
Description
Compare the CCIF of different failure typess by applying the technique of
permutation test. See bigtcr-package
.
Usage
get.pval(obs.y, event, tau = Inf, comp.event = c(1, 2), np = 1000,
Kt = function(x) { 1 })
Arguments
obs.y |
|
event |
0: censored; |
tau |
Conditioning time |
comp.event |
Failure events for CCIF comparison |
np |
Number of permutations |
Kt |
A weight function that takes one parameter |
Value
P-value of the hypothesis test H_0: G_j = G_k = \ldots = G_l
.
Examples
pval <- get.pval(pancancer$obs.y, pancancer$min.type,
tau=120, comp.event=c(1,2), np=20);
[Package bigtcr version 1.1 Index]