mean.freqtab {equate}R Documentation

Mean of a Frequency Table

Description

This function returns the mean of a frequency table of class “freqtab

Usage

mean.freqtab(x, ...)

Arguments

x two-column matrix of class freqtab, where column 1 specifies the score scale and column 2 the frequencies for each score point. If x is a bivariate frequency table, only the first variable will be considered
... further arguments passed to or from other methods

Author(s)

Anthony Albano tony.d.albano@gmail.com

See Also

freqtab, cov.freqtab

Examples

set.seed(2005)
x <- round(rnorm(1000,100,10))
xscale <- 70:130
xtab <- freqtab(x,xscale)
mean.freqtab(xtab); mean(x)

yscale <- 0:36
vscale <- 0:12
ny <- freqtab(KBneat$y[,1],yscale,KBneat$y[,2],vscale)
mean.freqtab(ny); mean(KBneat$y[,1])

[Package equate version 0.1-1 Index]