R/rm_facets_string_part_extract.R

Defines functions rm_facets_string_part_extract

## File Name: rm_facets_string_part_extract.R
## File Version: 0.06

rm_facets_string_part_extract <- function( x, split, part)
{
    vec <- strsplit( paste(x), split=split )
    vec <- unlist( lapply( vec, FUN=function(vv){ vv[part] } ) )
    return(vec)
}

Try the sirt package in your browser

Any scripts or data that you put into this service are public.

sirt documentation built on May 29, 2024, 8:43 a.m.