Skip to contents

Loads the lines of the .md file of the data of a plot saved by sbf_save_plot().

Usage

sbf_load_plot_md(
  x_name,
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  entities = FALSE,
  exists = TRUE
)

Arguments

x_name

A string of the name.

sub

A string or character vector 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)

entities

A flag specifying whether to replace the spaces that align the decimal points of numeric columns with the HTML entities for figure ( ) and punctuation ( ) spaces so that the alignment is preserved when the markdown is rendered.

exists

A logical scalar specifying whether the file should exist.

Value

A character vector of the lines of the plot data in markdown format or NULL if doesn't exist.