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")

berndbischl/BBmisc documentation built on Jan. 6, 2023, 12:32 p.m.