powered by
This function uses the contrast function from rms to find the threshold for significance from interactions.
contrast
findSigRegions( object, l1, l2, name.vary, lower, upper, alpha = 0.05, starts = 50 )
A data table with notes if no convergence or significance thresholds (if any).
A fitted rms object
the first set of values to fix for the contrast function
the second set of values to fix for the contrast function
the name of the model parameter to vary values for to find the threshold. Note that this should not be included in l1 or l2 arguments.
l1
l2
The lower bound to search for values for the varying value
The upper bound to search for values for the varying value
The significance threshold, defaults to .05
.05
Number of starting values to try between the lower and upper bounds.
## make me
Run the code above in your browser using DataLab