Learn R Programming

easyr (version 0.3-1)

strx: Structure with Like

Description

Runs str function but only for names matching a character value (regex). Author: Scott Sobel. Tech Review: Bryce Chamberlain.

Usage

strx(df, char, ignore.case = T)

Arguments

df

Object with names you'd like to search.

char

Regex (character value) to match.

ignore.case

(Optional) Ignore case when matching.

Examples

Run this code
# NOT RUN {
strx(iris,'length')
# }

Run the code above in your browser using DataLab