Description Usage Arguments Format Note Author(s) Examples
Create a new R6Frame from a data.frame
, data.table
or tbl
.
1 2 3 |
x |
A |
An object of class R6ClassGenerator
of length 24.
Under the hood, the R6Frame
is a R6Class
.
Kristian D. Olsen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | org <- data.frame("A" = c("Yes","No"), "B" = c(1, 2), stringsAsFactors = FALSE)
# Create new R6Frame:
df <- R6Frame$new(org)
is.R6Frame(df) # TRUE
# Minimal example
org[, "test"] <- "test"
df[, "test"] <- "test"
identical(org, df$get_data())
# For more information:
# vignette("introduction", package = "R6Frame")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.