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)

rrtable documentation built on April 5, 2022, 9:08 a.m.