convert a texblock class into a data.frame
# S3 method for tb as.data.frame(x, ...)
x | texblock object |
---|---|
… | pass convert as a boolean argument to apply type.convert to the output columns |
data.frame
x <- '1' class(x) <- 'tb' x1 <- x+x as.data.frame(x1)#> # A tibble: 1 x 2 #> `1` `2` #> <chr> <chr> #> 1 1 1as.data.frame(x1,convert = TRUE)#> # A tibble: 1 x 2 #> `1` `2` #> <int> <int> #> 1 1 1