Skip to content

Alternative code for tables in vignette #35

@LHMarshall

Description

@LHMarshall

Provided by Eric


title: "Easier way to build markdown tables"
author: "Rexstad"
date: "22 July 2016"
output: html_document

knitr::opts_chunk$set(echo = TRUE)

R Markdown

An alternative to the xtable method you are using for your simulation summary table.

df <- data.frame(a=runif(10), b=runif(10), c=runif(10))
colnames(df) <- c("$\\alpha$", "$\\hat{\\beta}$", "$\\sqrt{\\gamma_\\sigma}$")
knitr::kable(df, digits=c(2,3,4), caption = "My example of building tables easier")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions