set_argument: set argument of a function

View source: R/set_argument.R

set_argumentR Documentation

set argument of a function

Description

set argument of a function

Usage

set_argument(code, argument, value = TRUE)

Arguments

code

string of function call

argument

argument of function to be set

value

value to be set

Examples

code="df2flextable( ) "
code="df2flextable(vanilla=TRUE,head(iris[1:10,]))"
code="df2flextable(mtcars)"
code="df2flextable(sampleData3)"
code="df2flextable(head(iris[1:10,]),vanilla=TRUE)"
set_argument(code,"vanilla",FALSE)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.