plotSSR: Example plot of values used to calcualte split-sample reliability.
Description
This function creates a plot of the measure performance for each entity split across two exclusive random samples of observations within each entity.
Usage
plotSSR(df, model = NULL, entity = "entity", y = "y", ctrPerf = controlPerf())
Arguments
- df
observation-level data; if null, will use the dataframe from the model object
- model
model; if null, will use an unadjusted model
- entity
data column containing the accountable entity identifier
- y
data column containing the outcome variable
- ctrPerf
parameters to control performance measure calculation
Author
Kenneth Nieser (nieser@stanford.edu)