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("jhelvy/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")
#>
#> To cite maddTools in publications use:
#>
#> John Paul Helveston (2021). maddTools: Tools For EMSE 6035 -
#> Marketing Analytics for Design Decisions.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {maddTools: Tools For EMSE 6035 - Marketing Analytics for Design Decisions},
#> author = {John Paul Helveston},
#> year = {2021},
#> note = {R package version 0.0.3},
#> url = {http://madd.seas.gwu.edu/maddTools/},
#> }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.