mapped_var {epiphy}R 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)


[Package epiphy version 0.5.0 Index]