The legwork behind the scenes for the global view
Source:R/2_visualization.r
global_view_legwork.Rd
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
cheem_ls()
, a list of data frames.- 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.
See also
Other cheem consumers:
global_view()
,
radial_cheem_tour()
,
run_app()