inst/doc/objects.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(details)

## -----------------------------------------------------------------------------
 iris%>%
  details::details(summary = 'data.frame')

## -----------------------------------------------------------------------------
 iris%>%
  tibble::as_tibble()%>%
  details::details(summary = 'tibble')

## -----------------------------------------------------------------------------
 list(a = 1,b = head(iris))%>%
  details::details(summary = 'list')

## -----------------------------------------------------------------------------

details(
  plot(x=mtcars$mpg,y=mtcars$wt),
  summary = 'plots',
  imgur = FALSE)


## -----------------------------------------------------------------------------
iris%>%head()%>%knitr::kable()%>%
  details(
    summary = 'tables',
    lang = 'none'
)

Try the details package in your browser

Any scripts or data that you put into this service are public.

details documentation built on March 28, 2022, 1:06 a.m.