vignettes/VisualR.R

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

## ------------------------------------------------------------------------
x <- 4:6
drawExpression("x")

## ------------------------------------------------------------------------
names(x) <- LETTERS[1:3]
drawExpression("x", draw.names = TRUE)

## ------------------------------------------------------------------------
drawExpression("x[2]")

## ------------------------------------------------------------------------
l <- list(F, 1:3, list(1:2, "foo"))
drawExpression("l")
sylvainloiseau/drawExpression documentation built on May 3, 2019, 9:39 p.m.