R/cut-to-numeric.R
ps_cut_to_numeric.Rd
Cut to Numeric
ps_cut_to_numeric(x)
A character or factor vector of cuts
An numeric vector of the cuts.
ps_cut_to_numeric(c(NA, "(0.25,0.75]", "[-2,-1)")) #> [1] NA 0.5 -1.5