attributize: Map a vector to several plotting attributes

Description Usage Arguments Value

View source: R/attributize.R

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

1
2
3
4
5
6
7
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 Nov. 9, 2017, 3:21 p.m.