prettify: prettify

Description Usage Arguments Value

View source: R/prettify.R

Description

Takes in a dataframe and abstracts the use of the grid packages by creating a clean standardised table, output as an image

Usage

1
prettify(object, alias = c(""), title = "", plot = TRUE)

Arguments

object

dataframe

alias

character vector indicating what the columns should be renamed, must be a named vector or the same length as the number of columns

title

a string denoting the title of the table, defaults to the name of 'object'

plot

logical flag indicating whether to plot the table or simply return the formatted object for subsequent arranging/plotting

Value

Newly formatted object


chrisbrownlie/surveyr documentation built on Dec. 1, 2019, 12:34 a.m.