get_prefix | R Documentation |
Strip out the first several characters from a column
get_prefix(.x, .col, .len)
.x |
the input data frame |
.col |
the character column to extract the prefix from |
.len |
the length of the prefix |
a new data frame with a column, “prefix“ inserted before “.col“
hiRx:::get_prefix(
tibble::tribble(~Text, "hello", "world"),
Text,
3
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.