Learn R Programming

quantable (version 0.3.6)

split2table: splits names and creates a matrix

Description

splits names and creates a matrix

Usage

split2table(names, split = "\\||\\_")

Arguments

names

vector with names

split

patter to use to split

Value

matrix

Examples

Run this code
# NOT RUN {
dat = c("bla_ra0/2_run0","bla_ra1/2_run0","bla_ra2/2_run0")
split2table(dat,split="\\_|\\/")
# }

Run the code above in your browser using DataLab