Learn R Programming

purrr (version 0.2.3)

get-attr: Infix attribute accessor

Description

Infix attribute accessor

Usage

x %@% name

Arguments

x

Object

name

Attribute name

Examples

Run this code
# NOT RUN {
factor(1:3) %@% "levels"
mtcars %@% "class"
# }

Run the code above in your browser using DataLab