Recursively loads all the plots with names matching the regular expression x_name as the first (list) column (named plots) in a data frame. Subsequent character vector columns specify the object names (named name) and sub folders (named sub1, sub2 etc).

sbf_load_plots_recursive(
  x_name = ".*",
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  include_root = TRUE,
  tag = ".*",
  meta = FALSE
)

Arguments

x_name

A string of the name.

sub

A string specifying the path to the sub folder (by default the current sub folder).

main

A string specifying the path to the main folder (by default the current main folder)

include_root

A flag indicating whether to include objects in the top sub folder.

tag

A string of the regular expression that the tag must match to be included.

meta

A flag specifying whether to include the report, caption and any other metadata as columns.