View source: R/2_visualization.r
global_view_legwork | R Documentation |
Not meant for end user. This is an internal legwork function to keep from repeating global_view code.
global_view_legwork(
cheem_ls,
primary_obs = NULL,
comparison_obs = NULL,
color = c("default", "residual", "log_maha.data", "cor_attr_proj.y")
)
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. |
a ggplot2
object, waiting to be rendered with global_view
or
global_view_subplots
.
Other cheem consumers:
global_view()
,
radial_cheem_tour()
,
run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.