Learn R Programming

blockmodeling (version 1.1.5)

ss: Sum of Squared deviations from the mean and sum of Absolute Deviations from the median

Description

Functions to compute Sum of Squared deviations from the mean and sum of Absolute Deviations from the median. ssNa removes missing values (NAs) before calling the ss function.

Usage

ss(x)

ssNa(x)

ad(x)

Value

Sum of Squared deviations from the mean or sum of Absolute Deviations from the median.

Arguments

x

A numeric vector.

Author

Aleš Žiberna