Learn R Programming

IFC (version 0.1.1)

densCols: Colors for Smooth Density Plots

Description

Helper to map density to colors

Usage

densCols(
  x,
  y = NULL,
  nbin = 128,
  bandwidth,
  colramp = colorRampPalette(c("blue", "green", "red")),
  transformation = function(x) (x^0.125)
)

Arguments