viz_pen_obj: =========================================================================...

View source: R/viz_pen_obj.r View source: R/.ipynb_checkpoints/viz_pen_obj-checkpoint.r

viz_pen_objR Documentation

========================================================================= viz_pen_obj

viz_pen_obj visualizes penalty objects

Description

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.

Usage

viz_pen_obj(obj, top_i = nrow(obj[[3]][[1]]) * ncol(obj[[3]][[1]]))

Arguments

obj

object: penalty object(make_pen output)

top_i

integer: the number of top results visualized. Default is all.

Value

A visualization of the penalty object

Examples

data(penalties_e_coli)
viz_pen_obj(penalties_e_coli$pen_obj_delay,25)


CyanolabFreiburg/rifi documentation built on May 7, 2023, 7:53 p.m.