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

Norwegian translation #1143

Merged
merged 4 commits into from
Feb 5, 2022
Merged

Norwegian translation #1143

merged 4 commits into from
Feb 5, 2022

Conversation

pedersebastian
Copy link
Contributor

@pedersebastian pedersebastian commented Feb 4, 2022

Norsk oversettelse :)

Første gang jeg gjør dette. Så håper det er riktig måte

Peder

If there is an GitHub issue associated with this pull request, please provide link.


Reviewer Checklist (if item does not apply, mark is as complete)

  • Ensure all package dependencies are installed by running renv::install()
  • PR branch has pulled the most recent updates from master branch. Ensure the pull request branch and your local version match and both have the latest updates from the master branch.
  • If an update was made to tbl_summary(), was the same change implemented for tbl_svysummary()?
  • If a new function was added, function included in _pkgdown.yml
  • If a bug was fixed, a unit test was added for the bug check
  • Run pkgdown::build_site(). Check the R console for errors, and review the rendered website.
  • Code coverage is suitable for any new functions/features. Review coverage with covr::report(). Before you run, set Sys.setenv(NOT_CRAN="true") and begin in a fresh R session without any packages loaded.
  • R CMD Check runs without errors, warnings, and notes
  • usethis::use_spell_check() runs with no spelling errors in documentation

When the branch is ready to be merged into master:

  • Update NEWS.md with the changes from this pull request under the heading "# gtsummary (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (see NEWS.md for examples).
  • Increment the version number using usethis::use_version(which = "dev")
  • Run codemetar::write_codemeta()
  • Run usethis::use_spell_check() again
  • Approve Pull Request
  • Merge the PR. Please use "Squash and merge".

@ddsjoberg
Copy link
Owner

Hej hej! Thank you for the fastest contribution ever! I incorporated into the package. Before we merge, can you check the following translations? (make sure I didn't screw it up migrating it in) THANK YOU!

gtsummary:::df_translations |> 
  dplyr::select(en, no) |> 
  dplyr::filter(!is.na(no)) |> 
  knitr::kable()
en no
Overall Total
Pearson’s Chi-squared test Pearsons kjikvadrattest
Fisher’s exact test Fishers eksakte test
Kruskal-Wallis rank sum test Kruskal-Wallis test
One-way ANOVA Ensidig-ANOVA
p-value p-verdi
random intercept logistic regression Logistisk regresjon med tilfeldig intercept
Statistic Statistikk
Statistical tests performed Utført statistisk test
Welch Two Sample t-test t-test
Two Sample t-test t-test
Wilcoxon rank sum test Wilcoxon rangsumtest
Paired t-test Paret t-test
McNemar’s Chi-squared test with continuity correction McNemars kjikvadrat test med korreksjon for kontinuitet
McNemar’s Chi-squared test McNemars kjikvadrat test
Benjamini & Hochberg correction for multiple testing Benjamini & Hochberg korrigering for multippel testing
Benjamini & Yekutieli correction for multiple testing Benjamini & Yekutieli korrigering for multippel testing
Bonferroni correction for multiple testing Bonferroni korrigering for multippel testing
False discovery rate correction for multiple testing False discovery rate korrigering for multippel testing
Hochberg correction for multiple testing Hochberg korrigering for multippel testing
Holm correction for multiple testing Holm korrigering for multippel testing
Hommel correction for multiple testing Hommel korrigering for multippel testing
No correction for multiple testing Ingen korrigering for multippel testing
q-value q-verdi
Beta Beta
CI KI
CI = Confidence Interval KI = Konfidensintervall
Confidence Interval Konfidensintervall
HR HR
HR = Hazard Ratio HR = Hazard ratio
IRR Hazard ratio
IRR = Incidence Rate Ratio IRR = Incidence Rate Ratio
log(Beta) log(Beta)
log(HR) log(HR)
log(IRR) log(IRR
log(RR) log(RR)
RR RR
RR = Relative Risk RR = Relativ risk
log(OR) log(OR)
OR OR
OR = Odds Ratio OR = Odds ratio
SE SE
SE = Standard Error SE = Standardfeil
% missing % Manglende observasjoner
% Missing (unweighted) % Manglende observasjoner (uvektet)
% not missing % Ikke-manglende observasjoner
% not Missing (unweighted) % Ikke-manglende observasjoner (uvektet)
Characteristic Karakteristika
IQR Interkvartilavstand
Maximum Maksimum
Mean Gjennomsnitt
Median Median
Minimum Minimim
N N
N missing N manglende observasjoner
N Missing N Manglende observasjoner
N Missing (unweighted) N Manglende observasjoner (uvektet)
N not Missing N ikke-manglende observasjoner
N not Missing (unweighted) N ikke-manglende observasjoner (uvektet)
No. obs. Antall observasjoner
Range Variasjonsbredde
SD SD
Statistics presented Presentert statistikk
Sum Sum
Total N N Total
Total N (unweighted) N Total (uvektet)
Unknown Ukjent
Variance Varians
Percentile Persentil
Time Tid

Created on 2022-02-04 by the reprex package (v2.0.1)

@pedersebastian
Copy link
Contributor Author

Looks good!

@ddsjoberg
Copy link
Owner

Thank you @pedersebastian ! I think the table looks amazing!

library(gtsummary)
packageVersion("gtsummary")

theme_gtsummary_language("no", big.mark = " ", decimal.mark = ",")

glm(response ~ age, trial, family = binomial) |> 
  tbl_regression(exponentiate = TRUE)

image

@ddsjoberg ddsjoberg merged commit 4308067 into ddsjoberg:main Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants