Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scrape_opts

Scrape options from a code block


Description

Scrape options from a code block

Usage

scrape_opts(
  x,
  envir = list(),
  def = list(),
  all = TRUE,
  marker = "=",
  allow_multiple = FALSE,
  narrow = TRUE
)

Arguments

x

data

envir

environment from $ENV

def

default values

all

return all options, even those that are not in def

marker

assignment operator; used to locate lines with options

allow_multiple

if TRUE, the list with replicate names will be reduced

narrow

logical; if TRUE, only get options on lines starting with >>

Value

list with elements x (the data without options) and named options as specified in the block.


mrgsolve

Simulate from ODE-Based Models

v0.11.1
GPL (>= 2)
Authors
Kyle T Baron [aut, cre] (<https://orcid.org/0000-0001-7252-5656>), Bill Gillespie [ctb], Charles Margossian [ctb], Devin Pastoor [ctb], Bill Denney [ctb] (<https://orcid.org/0000-0002-5759-428X>), Dilawar Singh [ctb], Felicien Le Louedec [ctb] (<https://orcid.org/0000-0003-3699-2729>), Timothy Waterhouse [ctb] (<https://orcid.org/0000-0002-0954-9660>), Metrum Research Group [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.