knitr::opts_chunk$set( collapse = TRUE, warning = FALSE, message = FALSE, comment = "#>", fig.path = "man/figures/", fig.retina = 3 )
Miscellaneous functions for the GWU course EMSE 6035: Marketing Analytics for Design Decisions
The package can be installed from GitHub:
# install.packages("remotes") remotes::install_github("emse-madd-gwu/maddTools")
Load the package with:
library(maddTools)
This package contains the following functions:
ci()
: Get confidence intervals for a vector of numbers or for every column in a data frame of numeric columns.ggtornado()
: Creates a "tornado" plot using the {ggplot2} package.logitProbs()
: Computes logit fraction given a set of coefficients and alternatives.rep_df()
: Repeats a data frame n
times.To view more details of any of the functions, run ?functionName()
in R, replacing 'functionName' with the name of the function.
If you use this package for in a publication, I would greatly appreciate it if you cited it - you can get the citation by typing citation("maddTools")
into R:
citation("maddTools")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.