Calculates frequencies from data to be used in a HistogramPlot.
Version | 1.0 |
---|---|
Bundle | tools |
Categories | |
Authors | Ville Rantanen (ville.rantanen@helsinki.fi) |
Issue tracker | View/Report issues |
Requires | R |
Source files | component.xml freqcalc.r |
Usage | Example with default values |
Name | Type | Mandatory | Description |
---|---|---|---|
in | CSV | Mandatory | Data for frequency calculation |
Name | Type | Description |
---|---|---|
out | CSV | Frequencies for histogram. |
midPoints | CSV | Bin midpoints |
breakPoints | CSV | Bin breakpoints |
midPointsFormatted | CSV | Bin midpoints, formatted to digits |
Name | Type | Default | Description |
---|---|---|---|
bins | string | "10" | String to describe how to construct the bin edges. (R conventions, examples: "10" or "seq(0,1,length=21)" or "seq(mean(values)-3*sd(values),mean(values)+3*sd(values),length=31)"). Note that values not fitting in the sequence are REMOVED. |
commonScale | boolean | true | If true, all columns have the same limits for X and Y axes. |
digits | int | 2 | Number of digits shown in the x-axis of the histogram plot. |
frequencyIsRatio | boolean | false | Present histogram frequencies as ratio instead of absolute values. |
values | string | "*" | Comma separated column names for values to create the histogram from. |
Test case | Parameters▼ | IN in |
OUT out |
OUT midPoints |
OUT breakPoints |
OUT midPointsFormatted |
---|---|---|---|---|---|---|
case1 | properties | in | out | midPoints | breakPoints | midPointsFormatted |
bins=0.5+(0:9) |