Frequency Module
Represents a histogram (map from values to integer frequencies).
Functions and values
| Function or value | Description |
Full Usage:
add equalBandwidthOrNominal histA histB
Parameters:
bool
-
Is the binwidth equal for both frequencies? For nominal data set to true.
histA : Map<'a, ^value>
-
Frequency map A
histB : Map<'a, ^value>
-
Frequency map B
Returns: Map<'a, ^value>
New frequency map that results from merged maps histA and histB. Values from keys that are present in both maps are handled by f
Modifiers: inline Type parameters: 'a, ^value |
When applied to continuous data the bandwidths must be equal!
|
|
|
Full Usage:
create bandwidth data
Parameters:
float
-
data : float seq
-
Returns: Map<float, int>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
merge equalBandwidthOrNominal histA histB
Parameters:
bool
-
Is the binwidth equal for both frequencies? For nominal data set to true.
histA : Map<'a, 'value>
-
Frequency map A
histB : Map<'a, 'value>
-
Frequency map B
Returns: Map<'a, 'value>
New frequency map that results from merged maps histA and histB.
|
When applied to continuous data the bandwidths must be equal!This function is not commutative! (merge a b) is not equal to (merge b a)
|
Full Usage:
mergeBy equalBandwidthOrNominal f histA histB
Parameters:
bool
-
Is the binwidth equal for both frequencies? For nominal data set to true.
f : 'value -> 'value -> 'value
-
Function to transform values if key is present in both histograms. `mapA-value → mapB-value → newValue`
histA : Map<'a, 'value>
-
Frequency map A
histB : Map<'a, 'value>
-
Frequency map B
Returns: Map<'a, 'value>
New frequency map that results from merged maps mapA and mapB. Values from keys that are present in both maps are handled by f
|
When applied to continuous data the bandwidths must be equal!This function is not commutative! (mergeBy f a b) is not equal to (mergeBy f b a)
|
Full Usage:
subtract equalBandwidthOrNominal histA histB
Parameters:
bool
-
Is the binwidth equal for both frequencies? For nominal data set to true.
histA : Map<'a, ^value>
-
Frequency map A
histB : Map<'a, ^value>
-
Frequency map B
Returns: Map<'a, ^value>
Modifiers: inline Type parameters: 'a, ^value |
When applied to continuous data the bandwidths must be equal!This function is not commutative! (subtract a b) is not equal to (subtract b a)
|
FSharp.Stats