attributize: Map a vector to several plotting attributes

View source: R/attributize.R

attributizeR Documentation

Map a vector to several plotting attributes

Description

Given a vector with likely high number of unique values create a list of vectors which combinations cover the unique values of the input vector.

Usage

attributize(x, ...)

## S3 method for class 'data.frame'
attributize(x, vec, vcol = ncol(x), ...)

## Default S3 method:
attributize(x, ..., na.last = FALSE, vcol = ncol(d))

Arguments

x, vec

input vector

...

other arguments passed to/from other methods

vcol

numeric vector, column id with input vector values

na.last

logical, passed to sort

Value

data frame


mbojan/mbtools documentation built on Oct. 16, 2023, 8:18 p.m.