global_view_legwork {cheem} | R Documentation |
The legwork behind the scenes for the global view
Description
Not meant for end user. This is an internal legwork function to keep from repeating global_view code.
Usage
global_view_legwork(
cheem_ls,
primary_obs = NULL,
comparison_obs = NULL,
color = c("default", "residual", "log_maha.data", "cor_attr_proj.y")
)
Arguments
cheem_ls |
A return from |
primary_obs |
The rownumber of the primary observation. Its local attribution becomes the 1d projection basis, and the point it highlighted as a dashed line. Defaults to NULL, no highlighting applied. |
comparison_obs |
The rownumber of the comparison observation. Point is highlighted as a dotted line. Defaults to NULL, no highlighting applied. |
color |
The name of the column in cheem_ls$global_view_df to map to color. Expects c("default", "residual", "log_maha.data", "cor_attr_proj.y"). Defaults to "default"; predicted_class for classification, dummy class for regression. |
Value
a ggplot2
object, waiting to be rendered with global_view
or
global_view_subplots
.
See Also
Other cheem consumers:
global_view()
,
radial_cheem_tour()
,
run_app()