Skip to content

Commit

Permalink
Merge pull request #15 from mayer79/latex
Browse files Browse the repository at this point in the history
Fix Latex problem in MacOS help files
  • Loading branch information
mayer79 committed May 15, 2023
2 parents b3500c8 + 99ed5bd commit ff90b78
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: confintr
Title: Confidence Intervals
Version: 1.0.1
Version: 1.0.2
Authors@R:
person("Michael", "Mayer", , "mayermichael79@gmail.com", role = c("aut", "cre"))
Description: Calculates classic and/or bootstrap confidence intervals for
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# confintr 1.0.2

## Maintenance

- Fix Latex problem in MacOS help files.

# confintr 1.0.1

## Maintenance
Expand Down
2 changes: 1 addition & 1 deletion R/ci_cramersv.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cramersv <- function(x) {
#' we round down to 0 the lower bound for Cramer's V as well.
#' Without this slightly conservative adjustment, the lower limit for V would always be
#' positive since the CI for V is found by
#' \eqn{\sqrt{(\text{CI for NCP} + \text{df})/(n \cdot (k - 1))}}, where \eqn{k} is the
#' \eqn{\sqrt{(\textrm{CI for NCP} + \textrm{df})/(n \cdot (k - 1))}}, where \eqn{k} is the
#' smaller number of levels in the two variables (see Smithson, p.40).
#' Use `test_adjustment = FALSE` to switch off this behaviour. Note that this is
#' also a reason to bootstrap V via NCP instead of directly bootstrapping V.
Expand Down
4 changes: 2 additions & 2 deletions R/ci_rsquared.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#' This function calculates parametric CIs for the population \eqn{R^2}.
#' It is based on CIs for the non-centrality parameter \eqn{\Delta} of the F
#' distribution found by test inversion. Values of \eqn{\Delta} are mapped to \eqn{R^2}
#' by \eqn{R^2 = \Delta / (\Delta + \text{df}_1 + \text{df}_2 + 1)},
#' where the \eqn{\text{df}_j} are the degrees of freedom of the F test statistic.
#' by \eqn{R^2 = \Delta / (\Delta + \textrm{df}_1 + \textrm{df}_2 + 1)},
#' where the \eqn{\textrm{df}_j} are the degrees of freedom of the F test statistic.
#' A positive lower \eqn{(1 - \alpha) \cdot 100\%}-confidence limit for the \eqn{R^2}
#' goes hand-in-hand with a significant F test at level \eqn{\alpha}.
#'
Expand Down
2 changes: 1 addition & 1 deletion man/ci_cramersv.Rd

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

4 changes: 2 additions & 2 deletions man/ci_rsquared.Rd

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

2 changes: 1 addition & 1 deletion packaging.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ library(usethis)
use_description(
fields = list(
Title = "Confidence Intervals",
Version = "1.0.1",
Version = "1.0.2",
Description = "Calculates classic and/or bootstrap confidence intervals for many parameters such as the population mean, variance, interquartile range (IQR), median absolute deviation (MAD), skewness, kurtosis, Cramer's V, odds ratio, R-squared, quantiles (incl. median), proportions, different types of correlation measures, difference in means, quantiles and medians. Many of the classic confidence intervals are described in Smithson, M. (2003, ISBN: 978-0761924999). Bootstrap confidence intervals are calculated with the R package 'boot'. Both one- and two-sided intervals are supported.",
`Authors@R` = "person('Michael', 'Mayer', email = 'mayermichael79@gmail.com', role = c('aut', 'cre'))",
Depends = "R (>= 3.1.0)",
Expand Down

0 comments on commit ff90b78

Please sign in to comment.