edit_xpose_data: Master xpdb editing function

View source: R/xpdb_edits.R

edit_xpose_dataR Documentation

Master xpdb editing function

Description

Generic function used to build dedicated editing functions

Usage

edit_xpose_data(.fun, .fname, .data, ..., .problem, .source, .where)

Arguments

.fun

An editing function to be applied to the data.

.fname

The name of the editing function.

.data

An xpose database object.

...

Name-value pairs of expressions. Use NULL to drop a variable.

These arguments are automatically quoted and evaluated in the context of the data frame. They support unquoting and splicing. See the dplyr vignette("programming") for an introduction to these concepts.

.problem

The problem from which the data will be modified

.source

The source of the data in the xpdb. Can either be 'data' or an output file extension e.g. 'phi'.

.where

A vector of element names to be edited in special (e.g. .where = c('vpc_dat', 'aggr_obs') with vpc).


xpose documentation built on May 29, 2024, 5:12 a.m.