flowr_function: Returns a graph showing all the arguments of a function or...

Description Usage Arguments Value Examples

View source: R/flowr_function.R

Description

Returns a graph showing all the arguments of a function or the arguments of a function with a given element as part of their name

Usage

1
flowr_function(functionnames, element = NA, layout = "kk")

Arguments

element

if provided, part of the name of the argument of interest

layout

the type of layout: either "kk" (for a flower-like representation, the default) or "sugiyama" (for a tree-like representation)

functionname

the name of a function in an installed and loaded package

Value

a graph

Examples

1
2
3
4
5
6
library(flowrpowr)
flowr_function("geom_edge_link")
flowr_function("geom_edge_link",
               element="label")
flowr_function(c("geom_violin","geom_point","geom_boxplot"))
flowr_function(c("geom_violin","geom_point","geom_boxplot"),layout="sugiyama")

lvaudor/flowrpowr documentation built on Oct. 20, 2020, 8:47 a.m.