set_argument: set argument of a function

Description Usage Arguments Examples

View source: R/set_argument.R

Description

set argument of a function

Usage

1
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

1
2
3
4
5
6
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 2, 2020, 5:09 p.m.