apply_type_funs | R Documentation |
Convert columns of match.mat
using corresponding functions from
type.list
.
apply_type_funs(match.mat,
type.list)
match.mat |
character matrix (matches X groups). |
type.list |
named list of functions to apply to captured groups. |
If type.list
is a list of functions, then return a data.frame
whose columns are defined by calling the functions in type.list
on
the corresponding column of match.mat
. Otherwise just return a
character matrix. If match.mat
does not already have rownames, and
it has a column named "name", then that column will be used for
the rownames, and that column will not be returned.
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.