pluck: Extract a component from an object

Description Usage Arguments

View source: R/utils.R

Description

Extract a component from an object

Usage

1
2
3
4
5
6
pluck(
  x,
  n,
  type = c("auto", "character", "integer", "numeric", "logical", "list", "matrix",
    "data.frame")
)

Arguments

x

object - either vector, list, matrix, etc

n

integer or string that identifies a part of x

type

string, identifies


tkonopka/shrt documentation built on March 5, 2020, 2:51 p.m.