Skip to content

Commit

Permalink
Corrected typos in the latex formulae in getAttenuatedR() and getCorr…
Browse files Browse the repository at this point in the history
…ectedR()
  • Loading branch information
cpsyctc committed Oct 13, 2024
1 parent 32f590f commit 946c925
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: CECPfuns
Type: Package
Title: Package of Utility Functions for Psychological Therapies, Mental Health and Well-being Work (Created by Chris Evans and Clara Paz)
Version: 0.0.0.9053
Version: 0.0.0.9054
Maintainer: Chris Evans <chris@psyctc.org>
Description: This should evolve into a repository of all the functions that I (CE)
and Clara Paz (CP) have created (so far only CE!) and tested enough to
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version 0.0.0.9054
Corrected typos in the latex formulae in getAttenuatedR() and getCorrectedR()

# Version 0.0.0.9053
Added getCorrectedR() and tweaks to getAttenuatedR().

Expand Down
2 changes: 1 addition & 1 deletion R/getAttenuatedR.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' The formula is simple:
#' \loadmathjax{}
#'
#' \mjdeqn{correctedCorr=observedCorr*\sqrt{rel_{1}*rel_{2}}}{}
#' \mjdeqn{attenuatedCorr=unattenuatedCorr*\sqrt{rel_{1}*rel_{2}}}{attenuatedR = unattR * sqrt(rel1 * rel2)}
#'
#' The short summary is that unreliability in the measurement of both variables involved in a correlation
#' always reduces the observed correlation between the variables from what it would have been had the
Expand Down
2 changes: 1 addition & 1 deletion R/getCorrectedR.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' The formula is simple:
#' \loadmathjax{}
#'
#' \mjdeqn{correctedCorr=observedCorr\frac{\sqrt{rel_{1}*rel_{2}}}}{}
#' \mjdeqn{correctedCorr=\frac{observedCorr}{\sqrt{rel_{1}*rel_{2}}}}{correctedR = obsR / sqrt(rel1 * rel2)}
#'
#' The short summary is that unreliability in the measurement of both variables involved in a correlation
#' always reduces the observed correlation between the variables from what it would have been had the
Expand Down
2 changes: 1 addition & 1 deletion man/getAttenuatedR.Rd

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

2 changes: 1 addition & 1 deletion man/getCorrectedR.Rd

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

0 comments on commit 946c925

Please sign in to comment.