get_alpha: Transparency for large scatter plots

Description Usage Arguments

Description

This function computes alpha for scatter plots with a large number of data points. It is intended to alleviate overplotting.

Usage

1
2
get_alpha(fxGeom_alpha.threshold, fxGeom_alpha.half, fxGeom_alpha.min,
  n_row)

Arguments

fxGeom_alpha.threshold

What is the threshold number of data points to let transparency increase? Default is 1000

fxGeom_alpha.half

What number of data points should result in alpha = 0.5? Default is 3000

fxGeom_alpha.min

What is the minimal alpha? Default is 0.05.


sflippl/tectr documentation built on May 6, 2019, 8:51 a.m.