x.weight: Compute Weights of Distinct Observed Values

Description Usage Arguments Value Examples

View source: R/cnmlcd.R

Description

Finds frequencies of unique observed values.

Usage

1

Arguments

x

observations for which frequencies (or weights) of unique values are to be found.

Value

x

vector of distinct and sorted observations.

w

vector of observation weights.

Examples

1
x.weight(c(5:1,1,3))

cnmlcd documentation built on May 1, 2019, 10:55 p.m.

Related to x.weight in cnmlcd...