Learn R Programming

equate (version 0.1-0)

var.freqtab: Variance of a Frequency Table

Description

This function computes the variance of a frequency table of class freqtab

Usage

var.freqtab(freqtab)

Arguments

freqtab
two-column matrix of class freqtab where column 1 specifies the score scale and column 2 the frequencies for each score point

Value

    See Also

    freqtab, mean.freqtab

    Examples

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

    Run the code above in your browser using DataLab