get_sort_var: Get a vector from a vector/list/table to be used in mapping

View source: R/old_taxa--taxmap--parsers.R

get_sort_varR Documentation

Get a vector from a vector/list/table to be used in mapping

Description

Get a vector from a vector/list/table to be used in mapping

Usage

get_sort_var(data, var)

Arguments

data

A vector/list/table

var

What to get. * For tables, the names of columns can be used. * '"index"' : This means to use the index of rows/items * '"name"' : This means to use row/item names. * '"value"' : This means to use the values in vectors or lists. Lists


metacoder documentation built on April 4, 2023, 9:08 a.m.