bubcex: Scaling Bubble sizes

Description Usage Arguments Value Author(s) See Also Examples

Description

Based on some input, rescale the variables so that they have these cex sizes

Usage

1
bubcex(bubCounts, bubsize = c(1, 5), lims.b = NULL, sqrt = FALSE)

Arguments

bubCounts

Count data representing the counts in each bubble

bubsize

a vector of two showing the minimum and maximum sizes you want

lims.b

a vector of length two representing the min and max value things will be scaled to

sqrt

TRUE/FALSE whether you would like the vector to be squareroot transformed

Value

returns a vector the same length as bubCounts representing the cex of the bubbles

Author(s)

Connor F. White

See Also

transBub

Examples

1
2
3
counts<-rpois(10, lambda=5)

cexs<-bubcex(bubCounts=counts)

ConnorFWhite/AssFunc documentation built on May 20, 2019, 4:07 p.m.