asQuoted: Converts a string into a quoted expression.

View source: R/asQuoted.R

asQuotedR Documentation

Converts a string into a quoted expression.

Description

Works the same as if you would have entered the expression and called quote on it.

Usage

asQuoted(s, env = parent.frame())

Arguments

s

[character(1)]
Expression as string.

env

[numeric(1)]
Environment for expression. Default is parent.frame()

Value

Quoted expression.

Examples

asQuoted("x == 3")

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to asQuoted in BBmisc...