ObservationList is a class for recording instances of observations. If a matrix is wide form, these observations are in long form.
Variable which stores the column names of self$frame
associated with each dimension of self$arr
, but not defining them.
Variable which stores the column names of self$frame
associated with each dimension of self$arr
, but not defining them.
Variable which stores the column names of self$frame
defining each dimension of self$arr
Variable which stores the column names of self$frame
defining the values of self$arr
A function used to aggregate elements of self$frame
when it is grouped. This function should take a single table as input, and summarize each relevant column when grouped.
An array of aggregate data pulled from the frame. See formArray
for details
A list of data associated to the cells of self$arr
The names of the rows of self$arr
A list of data associated to the columns of self$arr
A list of data associated with each dimension of arr
The dimensions of arr
The names of the slices of each dimension of self$arr
The data frame this object is responsible for.
A matrix pulled from a cross section of self$arr
The number of columns in self$arr
The number of dimensions of arr
The number of rows in self$arr
The names of the rows of self$arr
A list of data associated to the rows of self$arr
Which slice of self$arr
to look at for self$mat
In order to use an ObservationList as an ArrayData, you need to select which columns to use to form the dimensions of the array. Optionally, you can also assign some of the columns to be associated with each dimension (or cell). Note that aggregate
is used to determine how to deal with multiple frame associated with a particular grouping.
... | - | Column names of columns which, in order should form the dimensions of the array |
val | - | The attribute of frame to use for the values of the array (must aggregate _ to a numeric type)
|
dimData | - | A list containing for each dimension of the array, the attribute(s) of frame which are associated with that dimension.
|
Create a new ObservationList with frame
given by data
data | - | A data frame to use as the frame of the ObservationList |
... | - | A list of arguments to pass to the formArray function. These arguments determine how the ObservationList behaves as an ArrayData objec. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.