eval_str: Evaluate R Code in String

View source: R/rptnlmixr.R

eval_strR Documentation

Evaluate R Code in String

Description

Attempts to evaluate a string as a chunk of R code.

Usage

eval_str(estr = "", fit = NULL)

Arguments

estr

Object creating when reading in rptyaml file

fit

nlmixr2 fit object to be reported

Value

String containing the evaled as a character or the original string

Examples

res = eval_str(estr="ls()")

nlmixr2rpt documentation built on June 7, 2023, 5:49 p.m.