parse_title: Parse keywords in string based on values contained in an xpdb

Description Usage Arguments Value

View source: R/xplot_helpers.R

Description

Parse keywords in string based on values contained in an xpdb

Usage

1
2
3
4
5
6
7
8
9
parse_title(
  string,
  xpdb,
  problem,
  quiet,
  extra_key = NULL,
  extra_value = NULL,
  ignore_key = NULL
)

Arguments

string

A string containing keywords (e.g. '@nobs') to be parsed (e.g. title, label, etc.) using values stored in the 'xpdb$summary'.

xpdb

An xpose database object.

problem

The $problem number to be used.

quiet

Should messages be displayed to the console.

extra_key

A vector of additional keywords not available in the 'xpdb$summary'.

extra_value

A vector of values matching the order of 'extra_key'.

ignore_key

A vector of keywords to be ignored i.e. warnings will not be returned.

Value

The parsed 'string'.


xpose documentation built on Jan. 16, 2021, 5:08 p.m.