assign_color: assign color by column

View source: R/misc.R

assign_colorR Documentation

assign color by column

Description

assigns color to a data.frame by a certain column

Usage

assign_color(df, col, order_by_freq = T)

Arguments

df

a data.frame

col

the identifiying column for assiging color

order_by_freq

boolean. Should the data be order by frequency of col?


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.