Skip to content

Commit

Permalink
bump version for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
leeper committed Jul 27, 2018
1 parent e3553bd commit 1c0ec3a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Package: cregg
Type: Package
Title: Simple Conjoint Tidying, Analysis, and Visualization
Version: 0.2.4
Date: 2018-07-23
Version: 0.3.0
Date: 2018-07-27
Authors@R: c(person("Thomas J.", "Leeper", role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-4097-6326")))
Description: Simple tidying, analysis, and visualization of conjoint (factorial) experiments, including estimation and visualization of average marginal component effects ('AMCEs') and marginal means ('MMs') for weighted and un-weighted survey data, along with useful reference category diagnostics and statistical tests. Estimation of AMCEs is based upon methods described by Hainmueller, Hopkins, and Yamamoto (2014) <doi:10.1093/pan/mpt024>.
Description: Simple tidying, analysis, and visualization of conjoint (factorial) experiments, including estimation and visualization of average marginal component effects ('AMCEs') and marginal means ('MMs') for weighted and un-weighted survey data, along with useful reference category diagnostics and statistical tests. Estimation of 'AMCEs' is based upon methods described by Hainmueller, Hopkins, and Yamamoto (2014) <doi:10.1093/pan/mpt024>.
License: MIT + file LICENSE
URL: https://github.com/leeper/cregg
BugReports: https://github.com/leeper/cregg/issues
Expand All @@ -16,7 +16,7 @@ Imports:
sandwich (>= 2.4-0),
survey (>= 3.33),
lmtest,
ggplot2,
ggplot2 (>= 2.0),
ggstance,
scales
Suggests:
Expand Down
2 changes: 1 addition & 1 deletion R/amce.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' data("immigration")
#' # estimating AMCEs with constraints
#' amce(immigration, ChosenImmigrant ~ Gender + ReasonForApplication * CountryOfOrigin,
#' id = ~CaseID, constraints = list(~ReasonForApplication + CountryOfOrigin))
#' id = ~CaseID)
#'
#' # balance testing example
#' plot(amce(immigration[!is.na(immigration$ethnocentrism),],
Expand Down
5 changes: 4 additions & 1 deletion R/cj_tidy.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
#'
#'
#' # perform reshape
#' str(long <- cj_tidy(wide_conjoint, profile_variables = list1, task_variables = list2, id = ~ respondent))
#' str(long <- cj_tidy(wide_conjoint,
#' profile_variables = list1,
#' task_variables = list2,
#' id = ~ respondent))
#' stopifnot(nrow(long) == nrow(wide_conjoint)*4*2)
#'
#' # recode outcome so it is coded sensibly
Expand Down
3 changes: 0 additions & 3 deletions R/plot_cj_amce.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
#' d2_1$reasons <- "1,2,3"
#' d2_2$reasons <- "1,2"
#' plot(rbind(d2_1, d2_2), group = "reasons")
#'
#' # plot AMCEs
#' plot(d2)
#' }
#' @seealso \code{\link{amce}}, \code{\link{mm}}
#' @import ggplot2
Expand Down
2 changes: 1 addition & 1 deletion man/amce.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion man/cj_tidy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c0ec3a

Please sign in to comment.