findSigRegions {JWileymisc} | R Documentation |
Function to find significant regions from an interaction
Description
This function uses the contrast
function from rms to
find the threshold for significance from interactions.
Usage
findSigRegions(
object,
l1,
l2,
name.vary,
lower,
upper,
alpha = 0.05,
starts = 50
)
Arguments
object |
A fitted rms object |
l1 |
the first set of values to fix for the contrast function |
l2 |
the second set of values to fix for the contrast function |
name.vary |
the name of the model parameter to vary values for
to find the threshold. Note that this should not be included in
|
lower |
The lower bound to search for values for the varying value |
upper |
The upper bound to search for values for the varying value |
alpha |
The significance threshold, defaults to |
starts |
Number of starting values to try between the lower and upper bounds. |
Value
A data table with notes if no convergence or significance thresholds (if any).
Examples
## make me
[Package JWileymisc version 1.4.1 Index]