| str_pretty | R Documentation |
str_pretty is a wrapper around str that tries to use better, more
distinct identifiers in the object overview.
str_pretty(x, ...)
x |
[R |
... |
[named arguments] Extra arguments to pass to |
Nothing. Only side effect being output to stdout.
str_pretty(lm(Sepal.Length ~ ., data = iris))
nst_lst <- list()
nst_lst$a <- list(c(9,2,4, 12), g=c(2,4,9,7), h=list(m=4,n=7,d=12))
nst_lst$b <- c(4, 3, 9, 10, 3, 16, 1, 7)
nst_lst$f <- c("a", "b")
nst_lst$c <- 4
nst_lst$d <- c(7,9)
str_pretty(nst_lst)
# Pass `str` arguments to modify behavior
str_pretty(lm(Sepal.Length ~ ., data = iris), give.attr = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.