#count #statistics #stats

frequency

A trait for types that keep track of the counts of things

2 stable releases

Uses old Rust 2015

1.0.1 Mar 25, 2017

#74 in #stats


Used in 4 crates

MIT license

4KB

The Frequency trait represents types that keep track of the observed counts of items.

Usage

Add frequency to your Cargo.toml:

[dependencies]
frequency = "^1.0.0"

To use the Frequency interface for types implementing Frequency, you must import the Frequency trait:

extern crate frequency;

use frequency::Frequency;

Implementations of Frequency are provided by the frequency-btreemap, frequency-btreemap, and frequency-btreemap crates.


lib.rs:

The Frequency trait represents types that keep track of the observed counts of items.

Usage

Add frequency to your Cargo.toml:

[dependencies]
frequency = "^1.0.0"

To use the Frequency interface for types implementing Frequency, you must import the Frequency trait:

extern crate frequency;

use frequency::Frequency;

Implementations of Frequency are provided by the frequency-btreemap, frequency-btreemap, and frequency-btreemap crates.

Dependencies

~240KB