cell_n {tangram} | R Documentation |
Create an cell_n (S3) object of the given statistic
Description
A cell_n object contains an n value. Essentially, this is just a helper that appends the cell_n class to the given object and makes sure it's a cell S3 object as well.
Usage
cell_n(n, class = NULL, hdr = FALSE, possible = NULL, ...)
Arguments
n |
The numerical value |
class |
character; An optional field for additional S3 classes (e.g. could be used in html rendering for CSS) |
hdr |
logical; Construct an n value for a header (defaults to FALSE) |
possible |
numerical; The total N that was possible |
... |
optional extra information to attach |
Value
A cell_n object.
Examples
cell_n(20)
[Package tangram version 0.8.2 Index]