Learn R Programming

prettyR (version 2.2-3)

Pretty Descriptive Stats

Description

Functions for conventionally formatting descriptive stats, reshaping data frames and formatting R output as HTML.

Copy Link

Version

Install

install.packages('prettyR')

Monthly Downloads

2,181

Version

2.2-3

License

GPL (>= 2)

Maintainer

Last Published

April 9th, 2019

Functions in prettyR (2.2-3)

describe

Description of variables
BeginNav

Write the header for the HTML navigation file (htmlize).
toNA

Set specified values in an object to NA
truncString

Truncate strings and add ellipses if a string is truncated.
add.value.labels

Add value labels
CreateIndexFile

Write an index file for the current output (htmlize).
freq

Calculate a frequency table
addxtabs

Add the cells of two or more xtab objects
htmlize

Read an R script and write HTML output
delim.table

Format a 2D table
describe.factor

Description of factor variables
print.xtab

Display a 2D crosstabulation
brkdn

Breakdown of a numeric variable by grouping variable(s)
calculate.xtab

Calculate a crosstabulation
describe.logical

Description of logical variables
describe.numeric

Description of numeric variables
print.freq

Display frequency table(s)
print.desc

Display descriptive stats output
delim.xtab

Format a crosstabulation
rep_n_stack

Replicate and stack columns of a data frame
decimal.align

Turn numbers into strings with aligned decimal points
skew

Calculate the skew of a distribution.
stretch_df

Reshape a data frame from "long" to "wide" format
valid.n

Find the number of valid (not NA) values
xtab

Crosstabulate variables
Mode

Find the modal value
EndHTML

End an HTML file (htmlize).
HTMLgraph

Create a graphic in HTML output (R2html).
R2html

Read an R script and write HTML output
StartNav

Write the header for the HTML navigation file (R2html).
StartList

Write the header for the HTML listing file (htmlize).
AddNav

Add a navigation item (R2html).
AddNavItem

Add a navigation item (htmlize).
createIndxFile

Write an index file for the current output (R2html).