Skip to contents

Pull a parameter from a parameter set.

Usage

pull(x, var)

# S3 method for ParameterSet
pull(x, var = -1)

Arguments

x

The ParameterSet object to pull from.

var

A variable specified as:

  • a literal variable name

  • a positive integer, giving the position counting from the left

  • a negative integer, giving the position counting from the right. The default returns the last column (on the assumption that's the column you've created most recently). This argument is taken by expression and supports quasiquotation (you can unquote column names and column locations).