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

A standard R dataset .R file looks like this (https://r-pkgs.org/data.html)

' Prices of 50,000 round cut diamonds.

'

' A dataset containing the prices and other attributes of almost 54,000

' diamonds.

'

' @format A data frame with 53940 rows and 10 variables:

' \describe{

' \item{price}{price, in US dollars}

' \item{carat}{weight of the diamond, in carats}

' ...

' }

' @source \url{http://www.diamondse.info/}

"diamonds"



brouwern/compbio4all documentation built on Dec. 19, 2021, 11:47 a.m.