charSize: Adjust character size to number of observations

View source: R/pl.R

charSizeR Documentation

Adjust character size to number of observations

Description

Adjusts the character size cex to number of observations

Usage

charSize(n)

Arguments

n

number of observations

Details

The function simply applies min(1.5/log10(n), 2)

Value

A scalar, defining cex

Author(s)

Werner A. Stahel

Examples

charSize(20)
for (n in c(10,20,50,100,1000))  print(c(n,charSize(n)))

plgraphics documentation built on Oct. 19, 2023, 3 p.m.