knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Hi! Our package corner
solves a problem with base::head()
when you have a wide matrix and just want to see the first couple of elements.
library(corner)
set.seed(20190531) my_mat <- matrix(rnorm(1000), ncol = 10) corner(my_mat) here::here('vignettes') getwd()
Get in touch with Emily E Burke!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.