Description Usage Arguments Value Examples
Given a set of cuts
as character names of a vector, return either the left
,
right
or mid
as a numerical value that can be used for plotting.
1 | cut_2_value(cuts, type = "left")
|
cuts |
the set of character |
type |
which type of value to return |
numerical vector
1 2 3 4 5 6 | # set up some fake data
cuts <- c("[0.301,0.4771)", "[0.4771,0.6276)")
cut_2_value(cuts, "left")
cut_2_value(cuts, "right")
cut_2_value(cuts, "mid")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.