search for: mtcal

Displaying 1 result from an estimated 1 matches for "mtcal".

Did you mean: mical
2009 Dec 01
2
Cut intervals (character) to numeric midpoint; regex problem
Starting with the head of a 499 element matrix whose column names are now the labels trom a cut() operation, I needed to get to a vector of midpoints to serve as the basis for plotting a calibration curve ( exp(linear predictor) vs. : > dput(head(dimnames(mtcal)[2][[1]])) # was starting point testvec <- c("(-8.616,-3.084]", "(-3.084,-2.876]", "(-2.876,-2.756]", "(-2.756,-2.668]", "(-2.668,-2.597]", "(-2.597,-2.539]") I started this message with the thought of requesting an answer but ke...