string.bounding.box {Hmisc} | R Documentation |
This determins the number of rows and maximum number of columns of each string in a vector.
string.bounding.box(string)
string |
vector of strings |
rows |
vector containing the number of character rows in each string. |
columns |
vector containing the maximum number of character columns in each string. |
compatable with Splus string.bounding.box
Charles Dupont
a <- c("this is a single line string", "This is a\nmulty line string") stringDims(a)