Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing positon arguments #28

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions R/pwr_1pois.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@

if (calc == "n") {
str <- gettextf(
"We would need %s to reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s.",
"We would need %1$s to reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s.",
n_text, power, d_text, "<i>\u2265</i>", d, tail_text, paste0("<i>\u03B1=</i>", alpha)
)
} else if (calc == "es") {
str <- gettextf(
"A design with %s will reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s.",
"A design with %1$s will reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s.",
n_text, power, d_text, "<i>\u2265</i>", round(d, 3), tail_text, paste0("<i>\u03B1=</i>", alpha)
)
} else if (calc == "power") {
Expand Down
24 changes: 12 additions & 12 deletions po/R-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -488,22 +488,22 @@ msgid "effect sizes of %s"
msgstr "Effektstärken von %s"

msgid ""
"We would need %s to reliably (with probability greater than %1$s) detect "
"%2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a "
"maximum Type I error rate of %6$s."
"We would need %1$s to reliably (with probability greater than %2$s) detect "
"%3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a "
"maximum Type I error rate of %7$s."
msgstr ""
"Wir bräuchten %s, um %2$s%3$s%4$s zuverlässig (mit einer Wahrscheinlichkeit "
"größer als %1$s) aufzudecken, wobei ein %5$s-Kriterium zur Aufdeckung "
"angenommen wird, das eine maximale Typ-I-Fehlerrate von %6$s zulässt."
"Wir bräuchten %1$s, um %3$s%4$s%5$s zuverlässig (mit einer Wahrscheinlichkeit "
"größer als %2$s) aufzudecken, wobei ein %6$s-Kriterium zur Aufdeckung "
"angenommen wird, das eine maximale Typ-I-Fehlerrate von %7$s zulässt."

msgid ""
"A design with %s will reliably (with probability greater than %1$s) detect "
"%2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a "
"maximum Type I error rate of %6$s."
"A design with %1$s will reliably (with probability greater than %2$s) detect "
"%3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a "
"maximum Type I error rate of %7$s."
msgstr ""
"Ein Design mit %s wird zuverlässig (mit einer Wahrscheinlichkeit größer als "
"%1$s) %2$s%3$s%4$s aufdecken, wenn man ein %5$s-Kriterium für die Aufdeckung "
"annimmt, das eine maximale Typ-I-Fehlerrate von %6$s zulässt."
"Ein Design mit %1$s wird zuverlässig (mit einer Wahrscheinlichkeit größer als "
"%2$s) %3$s%4$s%5$s aufdecken, wenn man ein %6$s-Kriterium für die Aufdeckung "
"annimmt, das eine maximale Typ-I-Fehlerrate von %7$s zulässt."

msgid ""
"A design with %1$s can detect %2$s%3$s%4$s with a probability of at least "
Expand Down
4 changes: 2 additions & 2 deletions po/R-jaspPower.pot
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ msgstr ""
msgid "effect sizes of %s"
msgstr ""

msgid "We would need %s to reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s."
msgid "We would need %1$s to reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
msgstr ""

msgid "A design with %s will reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s."
msgid "A design with %1$s will reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
msgstr ""

msgid "A design with %1$s can detect %2$s%3$s%4$s with a probability of at least %5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
Expand Down
Loading