plot_weight: plot_weight

Description Usage Arguments Value See Also

View source: R/stat.R

Description

prints a plot of the weighting function produced using 'bin_weights(num, dem, by, bin_no)'

Usage

1
plot_weight(num, den, by, bin_no = 10, labs)

Arguments

num

is the numeric vector to use in the numerator of the weight

den

is the numeric vector to use in the denomintor of the weight

by

is the numeric vector to take the cdf of 'num' and 'dem' with respect to

bin_no

is the number of bins to use in 'bin_weights()'

labs

is a character vector length 2 (xlab, ylab)

Value

a plot of the weighting function using 'weight_by()'

See Also

weight_by


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.