get_node_val: Computes the test statistic at the current node.
Description
Computes the test statistic at the current node.
Not to be called directly by the user.
Usage
get_node_val(f1, f2, data, lrt = TRUE, ...)
Arguments
f1
a two-sided formula of the fitted survival model, without the longitudinal outcome in
the right side of the formula. Only needed when lrt=TRUE.
f2
a two-sided formula of the fitted survival model, same as f1 but with the longitudinal outcome
being the first covariate on the right side of the formula.
data
a data.frame containing covariates in f2.
lrt
if TRUE, use likelihood ratio test, otherwise use
Wald test. Default is TRUE.
...
further arguments to pass to or from other methods.