based_on: Use file to set control file contents in nm object

View source: R/nm-gettersetters.R

based_onR Documentation

Use file to set control file contents in nm object

Description

[Stable]

This function is mostly called by the new_nm() and will not generally be used directly by users. The function populates/modifies the ctl_contents field of an nm object, with the contents of an already existing control file.

Usage

based_on(m, ctl_ob, update_numbering = TRUE, update_dollar_data = TRUE, ...)

Arguments

m

An nm object.

ctl_ob

Path to control file.

update_numbering

Logical. Should table numbers and author fields be updated.

update_dollar_data

Logical. Should $DATA in control file be updated.

...

Additional arguments.

Value

An nm object with modified ctl_contents field.


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.