summary.proportion.count Function (GPL)
Syntax
summary.proportion.count(<algebra>, <base function>)
or
summary.proportion.count(<binning function>, <base function>)
or
summary.proportion.count(<statistic function>, <base function>)
<algebra>. Graph algebra, such as x
or x*y
.
In the second case, the proportion is calculated for cases with non-missing y
-variable
values. Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<base function>. A function that specifies the percentage
base for summary.proportion.count
. This is optional.
The default is base.all()
.
<binning function>. A binning function.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate summary.proportion.count
.
Description
Calculates the proportion of cases within each subgroup compared
to the total number of cases. This function is similar to summary.percent.count
except
it reports a value between 0 and 1 instead of 0 and 100.
Examples
ELEMENT: interval(position(summary.proportion.count(jobcat)))
Statistic Functions
See GPL Functions .