Raven is a table type (new_table_type()) that declares no column and takes any: a data
frame without row names, a data.table, a tibble, a named list of vectors, or
columns given by name.
Value
A value of R8::Raven: of a raven, the same value, and of a value of
another table, its columns, with the units and the descriptions that its type
declares.
Details
A column is a logical, an integer, a double, a character vector, a factor, a
Date, or a POSIXct. Cells may be missing, and a double column holds NaN and
infinite values. The name of a column is any text that does not begin with $.
Examples
r <- Raven(iris)
dim(r)#> [1] 150 5#> <raven table> 90 rows ⨉ 2 columns
#> Species Petal.Width
#> factor double
#> 1 versicolor 1.4
#> 2 versicolor 1.5
#> 3 versicolor 1.5
#> 4 versicolor 1.3
#> 5 versicolor 1.5
#> ... 80 rows not shown
#> 86 virginica 2.3
#> 87 virginica 1.9
#> 88 virginica 2.0
#> 89 virginica 2.3
#> 90 virginica 1.8#> (Intercept) Petal.Length
#> 4.3066034 0.4089223