mapped_var: Existing variable mappings.

View source: R/intensity-classes.R

mapped_varR Documentation

Existing variable mappings.

Description

Get or set existing variable mappings.

Usage

mapped_var(x)

mapped_var(x, keep = TRUE) <- value

Arguments

x

An intensity object.

keep

Logical. Do we keep any previous mapped variables that are not redifined in the mapping object?

value

A mapping object.

Value

mapped_var returns the list of current mapped names of the object x.

See Also

mapping

Examples

my_data <- count(aphids)
my_data
mapped_var(my_data)
mapped_var(my_data) <- mapping(x = X, y = Y)
mapped_var(my_data)
mapped_var(my_data) <- mapping(x = x, r = r, keep = FALSE)
mapped_var(my_data)


epiphy documentation built on Nov. 16, 2023, 5:06 p.m.