Learn R Programming

equate (version 0.1-0)

mean.freqtab: 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
...
further arguments passed to or from other methods

Value

    See Also

    freqtab, var.freqtab

    Examples

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

    Run the code above in your browser using DataLab