cut_2_value: cut names 2 value

Description Usage Arguments Value Examples

View source: R/parp1.R

Description

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.

Usage

1
cut_2_value(cuts, type = "left")

Arguments

cuts

the set of character cuts to process

type

which type of value to return

Value

numerical vector

Examples

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")

rmflight/fmcorrelationbreastcaparp1 documentation built on May 27, 2019, 9:31 a.m.