simple_analysis | R Documentation |
This function is used when analyze
is invoked
simple_analysis(x, ...)
## S4 method for signature 'numeric'
simple_analysis(x, ...)
## S4 method for signature 'logical'
simple_analysis(x, ...)
## S4 method for signature 'factor'
simple_analysis(x, ...)
## S4 method for signature 'ANY'
simple_analysis(x, ...)
x |
the already split data being tabulated for a particular cell/set of cells |
... |
passed on directly |
This function has the following behavior given particular types of inputs:
calls mean
on x
calls sum
on x
calls length
on x
in_rows
is called on the resulting value(s).
All other classes of input currently lead to an error.
an RowsVerticalSection
object (or NULL
). The details of
this object should be considered an internal implementation detail.
Gabriel Becker and Adrian Waddell
simple_analysis(1:3)
simple_analysis(iris$Species)
simple_analysis(iris$Species == "setosa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.