View source: R/viz_pen_obj.r View source: R/.ipynb_checkpoints/viz_pen_obj-checkpoint.r
| viz_pen_obj | R Documentation | 
viz_pen_obj visualizes penalty objects
viz_pen_obj provides an optional visualization of any penalty object created by make_pen. the function aan be customized to show only the n = top_i top results.
viz_pen_obj(obj, top_i = nrow(obj[[3]][[1]]) * ncol(obj[[3]][[1]]))
obj | 
 object: penalty object(make_pen output)  | 
top_i | 
 integer: the number of top results visualized. Default is all.  | 
A visualization of the penalty object
data(penalties_e_coli)
viz_pen_obj(penalties_e_coli$pen_obj_delay,25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.