2023-01-04 14:33:48 +01:00
<!DOCTYPE html>
2023-06-05 11:22:03 +02:00
<!-- Generated by pkgdown: do not edit by hand --> < html lang = "en" > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" > < meta charset = "utf-8" > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" > < title > Changelog • stRoke< / title > <!-- favicons --> < link rel = "icon" type = "image/png" sizes = "16x16" href = "../favicon-16x16.png" > < link rel = "icon" type = "image/png" sizes = "32x32" href = "../favicon-32x32.png" > < link rel = "apple-touch-icon" type = "image/png" sizes = "180x180" href = "../apple-touch-icon.png" > < link rel = "apple-touch-icon" type = "image/png" sizes = "120x120" href = "../apple-touch-icon-120x120.png" > < link rel = "apple-touch-icon" type = "image/png" sizes = "76x76" href = "../apple-touch-icon-76x76.png" > < link rel = "apple-touch-icon" type = "image/png" sizes = "60x60" href = "../apple-touch-icon-60x60.png" > < script src = "../deps/jquery-3.6.0/jquery-3.6.0.min.js" > < / script > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" > < link href = "../deps/bootstrap-5.2.2/bootstrap.min.css" rel = "stylesheet" > < script src = "../deps/bootstrap-5.2.2/bootstrap.bundle.min.js" > < / script > <!-- Font Awesome icons --> < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity = "sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin = "anonymous" > < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity = "sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin = "anonymous" > <!-- bootstrap - toc --> < script src = "https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity = "sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin = "anonymous" > < / script > <!-- headroom.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity = "sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity = "sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin = "anonymous" > < / script > <!-- clipboard.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity = "sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin = "anonymous" > < / script > <!-- search --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity = "sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity = "sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity = "sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin = "anonymous" > < / script > <!-- pkgdown --> < script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "Changelog" > < meta property = "og:image" content = "/logo.png" > <!-- mathjax --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity = "sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity = "sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin = "anonymous" > < / script > <!-- [if lt IE 9]>
2023-01-04 14:33:48 +01:00
< script src = "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
<![endif]--> < / head > < body >
< a href = "#main" class = "visually-hidden-focusable" > Skip to contents< / a >
< nav class = "navbar fixed-top navbar-light navbar-expand-lg bg-light" > < div class = "container" >
< a class = "navbar-brand me-2" href = "../index.html" > stRoke< / a >
2023-06-05 11:09:05 +02:00
< small class = "nav-text text-muted me-auto" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "" > 23.6.1< / small >
2023-01-04 14:33:48 +01:00
< button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbar" aria-controls = "navbar" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< div id = "navbar" class = "collapse navbar-collapse ms-3" >
< ul class = "navbar-nav me-auto" > < li class = "nav-item" >
< a class = "nav-link" href = "../reference/index.html" > Reference< / a >
< / li >
< li class = "nav-item dropdown" >
< a href = "#" class = "nav-link dropdown-toggle" data-bs-toggle = "dropdown" role = "button" aria-expanded = "false" aria-haspopup = "true" id = "dropdown-articles" > Articles< / a >
< div class = "dropdown-menu" aria-labelledby = "dropdown-articles" >
2023-04-12 14:09:16 +02:00
< a class = "dropdown-item" href = "../articles/ds2dd.html" > ds2dd< / a >
2023-01-04 14:45:37 +01:00
< a class = "dropdown-item" href = "../articles/toolbox.html" > Toolbox< / a >
2023-01-04 14:33:48 +01:00
< / div >
< / li >
< li class = "active nav-item" >
< a class = "nav-link" href = "../news/index.html" > Changelog< / a >
< / li >
< / ul > < form class = "form-inline my-2 my-lg-0" role = "search" >
< input type = "search" class = "form-control me-sm-2" aria-label = "Toggle navigation" name = "search-input" data-search-index = "../search.json" id = "search-input" placeholder = "Search for" autocomplete = "off" > < / form >
< ul class = "navbar-nav" > < li class = "nav-item" >
< a class = "external-link nav-link" href = "https://github.com/agdamsbo/stRoke/" aria-label = "github" >
< span class = "fab fa fab fa-github fa-lg" > < / span >
< / a >
< / li >
< / ul > < / div >
< / div >
< / nav > < div class = "container template-news" >
< div class = "row" >
< main id = "main" class = "col-md-9" > < div class = "page-header" >
2023-06-05 11:22:03 +02:00
< img src = "../logo.png" class = "logo" alt = "" > < h1 > Changelog< / h1 >
2023-01-04 14:33:48 +01:00
< small > Source: < a href = "https://github.com/agdamsbo/stRoke/blob/HEAD/NEWS.md" class = "external-link" > < code > NEWS.md< / code > < / a > < / small >
< / div >
2023-04-12 14:09:16 +02:00
< div class = "section level2" >
2023-06-05 11:09:05 +02:00
< h2 class = "pkg-version" data-toc-text = "23.6.1" id = "stroke-2361" > stRoke 23.6.1< a class = "anchor" aria-label = "anchor" href = "#stroke-2361" > < / a > < / h2 >
< div class = "section level4" >
< h4 id = "functions-23-6-1" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-23-6-1" > < / a > < / h4 >
< ul > < li > NEW: ‘ color_plot()’ function implements the ‘ contrast_text()’ and is very much inspired from ‘ scales::show_col()’ . Passes arguments to the internal ‘ contrast_text()’ . Tests and all. Took way longer than intended.< / li >
< / ul > < / div >
< / div >
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "23.4.1" id = "stroke-2341" > stRoke 23.4.1< a class = "anchor" aria-label = "anchor" href = "#stroke-2341" > < / a > < / h2 > < p class = "text-muted" > CRAN release: 2023-04-13< / p >
2023-04-12 14:09:16 +02:00
< div class = "section level4" >
< h4 id = "functions-23-4-1" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-23-4-1" > < / a > < / h4 >
< ul > < li > NEW: ds2dd() creates a REDCap data dictionary based on a data set for easy upload. A new vignette will be provided for example use. A separate vignette has been added.< / li >
< / ul > < / div >
< div class = "section level4" >
< h4 id = "notes-23-4-1" > Notes:< a class = "anchor" aria-label = "anchor" href = "#notes-23-4-1" > < / a > < / h4 >
< ul > < li > With newer additions to the package, these functions clearly has their potential use also outside stroke research.< / li >
< li > A new vector with REDCap metadata headers has been added. Can be called with data(metadata_names).< / li >
< / ul > < / div >
< / div >
2023-01-12 13:56:17 +01:00
< div class = "section level2" >
2023-01-25 19:51:18 +01:00
< h2 class = "pkg-version" data-toc-text = "23.1.8" id = "stroke-2318" > stRoke 23.1.8< a class = "anchor" aria-label = "anchor" href = "#stroke-2318" > < / a > < / h2 >
< div class = "section level4" >
< h4 id = "functions-23-1-8" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-23-1-8" > < / a > < / h4 >
< ul > < li > write_ical() is an easy to use implementation of the package < code > < a href = "https://rdrr.io/r/base/library.html" class = "external-link" > library(calendar)< / a > < / code > for easy conversion of spreadsheets to ical object. Export an .ics file using < code > < a href = "https://rdrr.io/pkg/calendar/man/ic_write.html" class = "external-link" > calendar::ic_write()< / a > < / code > .< / li >
2023-04-12 14:09:16 +02:00
< li > contrast_text() calculates the best contrast text color for a given background color. For use in graphics.< / li >
2023-01-25 19:51:18 +01:00
< / ul > < / div >
< div class = "section level4" >
< h4 id = "notes-23-1-8" > Notes:< a class = "anchor" aria-label = "anchor" href = "#notes-23-1-8" > < / a > < / h4 >
2023-01-26 09:24:20 +01:00
< ul > < li > This is the first update on CRAN.< / li >
< / ul > < / div >
< div class = "section level4" >
< h4 id = "documentation-23-1-8" > Documentation< a class = "anchor" aria-label = "anchor" href = "#documentation-23-1-8" > < / a > < / h4 >
< ul > < li > Badges, lots of badges< / li >
< / ul > < / div >
2023-01-25 19:51:18 +01:00
< / div >
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "23.1.7" id = "stroke-2317" > stRoke 23.1.7< a class = "anchor" aria-label = "anchor" href = "#stroke-2317" > < / a > < / h2 > < p class = "text-muted" > CRAN release: 2023-01-24< / p >
2023-01-26 09:24:20 +01:00
< div class = "section level4" >
< h4 id = "notes-23-1-7" > Notes:< a class = "anchor" aria-label = "anchor" href = "#notes-23-1-7" > < / a > < / h4 >
< ul > < li > This is the version first published on CRAN as of 24.jan.2023.< / li >
< li > This is also the version first published to zenodo.org, and with corresponding < a href = "https://doi.org/10.5281/zenodo.7572023" class = "external-link" > doi: 10.5281/zenodo.7572023< / a > .< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-23-1-7" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-23-1-7" > < / a > < / h4 >
< ul > < li > redcap_read_tables() has been removed from the package for now. Looking to add it back later as a minimal data acquisition tool.< / li >
< / ul > < / div >
< / div >
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "23.1.6" id = "stroke-2316---failed-due-to-dependencies" > stRoke 23.1.6 - failed due to dependencies< a class = "anchor" aria-label = "anchor" href = "#stroke-2316---failed-due-to-dependencies" > < / a > < / h2 >
< div class = "section level4" >
< h4 id = "new-attempt-at-cran-submission-23-1-6" > New attempt at CRAN submission< a class = "anchor" aria-label = "anchor" href = "#new-attempt-at-cran-submission-23-1-6" > < / a > < / h4 >
2023-01-18 10:35:17 +01:00
< / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-23-1-6" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-23-1-6" > < / a > < / h4 >
2023-01-18 09:31:19 +01:00
< ul > < li > win_prop() added to implement the suggested methods in < a href = "https://doi.org/10.1161/STROKEAHA.121.037744" class = "external-link" > DOI: 10.1161/STROKEAHA.121.037744< / a > , as an implementation of “Tournament Methods” also found in < code > < a href = "https://rdrr.io/r/base/library.html" class = "external-link" > library(genodds)< / a > < / code > . The function is based on the spreadsheet provided by the authors. A print.win_Prop is also added for printing.< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "notes-23-1-6" > Notes:< a class = "anchor" aria-label = "anchor" href = "#notes-23-1-6" > < / a > < / h4 >
2023-01-18 09:31:19 +01:00
< ul > < li > 23.1.5 failed on CRAN due to gt_plot(). This function has been dropped. Find it as as_ggplot() elsewhere.< / li >
2023-01-23 12:26:21 +01:00
< li > agdamsbo/REDCapRITS added as “Additional_repositories”.< / li >
< li > Included references listed as authors.< / li >
2023-01-18 09:31:19 +01:00
< / ul > < / div >
< / div >
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "23.1.5" id = "stroke-2315" > stRoke 23.1.5< a class = "anchor" aria-label = "anchor" href = "#stroke-2315" > < / a > < / h2 >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "release-on-cran---failed-23-1-5" > RELEASE ON CRAN - failed< a class = "anchor" aria-label = "anchor" href = "#release-on-cran---failed-23-1-5" > < / a > < / h4 >
2023-01-12 13:56:17 +01:00
< / div >
< / div >
2023-01-12 13:44:29 +01:00
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "0.23.1.4" id = "stroke-02314" > stRoke 0.23.1.4< a class = "anchor" aria-label = "anchor" href = "#stroke-02314" > < / a > < / h2 >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-0-23-1-4" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-0-23-1-4" > < / a > < / h4 >
2023-01-12 13:44:29 +01:00
< ul > < li > plot_olr() has been deprecated and removed.< / li >
< li > ci_plot() functionality extended to include logistic model plotting.< / li >
< li > age_calc() use vapply() instead of sapply()< / li >
< li > gt_plot() function added to plot gt elements as ggplots. From < a href = "https://github.com/MSKCC-Epi-Bio/bstfun" class = "external-link" > bstfun< / a > . Not all done and satisfied with the layout with patchwork.< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "documentation-0-23-1-4" > Documentation< a class = "anchor" aria-label = "anchor" href = "#documentation-0-23-1-4" > < / a > < / h4 >
2023-01-12 13:44:29 +01:00
< ul > < li > Trying to complete all flags from goodpractice and inteRgrate< / li >
< / ul > < / div >
< / div >
2023-01-05 10:21:46 +01:00
< div class = "section level2" >
2023-01-11 12:57:02 +01:00
< h2 class = "pkg-version" data-toc-text = "0.23.1.3" id = "stroke-02313" > stRoke 0.23.1.3< a class = "anchor" aria-label = "anchor" href = "#stroke-02313" > < / a > < / h2 >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-0-23-1-3" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-0-23-1-3" > < / a > < / h4 >
2023-01-11 12:57:02 +01:00
< ul > < li > files_filter() added. Simple function to get file names in path with specified filter.< / li >
< li > updated cpr_dob to give warnings if format is not recognised and return NAs.< / li >
< li > ci_plot() updated to actually handle binary factors. Uses glm(), not lm().< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "documentation-0-23-1-3" > Documentation:< a class = "anchor" aria-label = "anchor" href = "#documentation-0-23-1-3" > < / a > < / h4 >
2023-01-11 12:57:02 +01:00
< ul > < li > test, test and tests to satisfy codecov and, of course, ensure higher quality< / li >
< li > changes to comply with goodpractices::gp()< / li >
< / ul > < p > …and probably some more.< / p >
< / div >
< / div >
< div class = "section level2" >
2023-01-05 10:21:46 +01:00
< h2 class = "pkg-version" data-toc-text = "0.23.1.2" id = "stroke-02312" > stRoke 0.23.1.2< a class = "anchor" aria-label = "anchor" href = "#stroke-02312" > < / a > < / h2 >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-0-23-1-2" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-0-23-1-2" > < / a > < / h4 >
2023-01-05 10:21:46 +01:00
< ul > < li > cpr_dob() now includes < code > format=< / code > .< / li >
< li > Other minor updates.< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "documentation-0-23-1-2" > Documentation:< a class = "anchor" aria-label = "anchor" href = "#documentation-0-23-1-2" > < / a > < / h4 >
2023-01-05 10:21:46 +01:00
< ul > < li > Two new vignettes< / li >
< li > Taking last steps in documenting before releasing on CRAN< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "other-0-23-1-2" > Other:< a class = "anchor" aria-label = "anchor" href = "#other-0-23-1-2" > < / a > < / h4 >
2023-01-05 10:21:46 +01:00
< ul > < li > New hex logo< / li >
< / ul > < / div >
< / div >
2023-01-04 14:33:48 +01:00
< div class = "section level2" >
< h2 class = "pkg-version" data-toc-text = "0.23.1.1" id = "stroke-02311" > stRoke 0.23.1.1< a class = "anchor" aria-label = "anchor" href = "#stroke-02311" > < / a > < / h2 >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "functions-0-23-1-1" > Functions:< a class = "anchor" aria-label = "anchor" href = "#functions-0-23-1-1" > < / a > < / h4 >
2023-01-04 14:33:48 +01:00
< ul > < li > age_calc() now also outputs a numeric vector for units=“days”, and not a character vector as difftime() would.< / li >
< / ul > < / div >
2023-01-23 12:26:21 +01:00
< div class = "section level4" >
< h4 id = "documentation-0-23-1-1" > Documentation:< a class = "anchor" aria-label = "anchor" href = "#documentation-0-23-1-1" > < / a > < / h4 >
2023-01-04 14:33:48 +01:00
< ul > < li > Added a < code > NEWS.md< / code > file to track changes to the package.< / li >
< li > Added codecov< / li >
< li > Added tests with the help of gpttools< / li >
< / ul > < / div >
< / div >
< / main > < aside class = "col-md-3" > < nav id = "toc" > < h2 > On this page< / h2 >
< / nav > < / aside > < / div >
< footer > < div class = "pkgdown-footer-left" >
< p > < / p > < p > Developed by Andreas Gammelgaard Damsbo.< / p >
< / div >
< div class = "pkgdown-footer-right" >
< p > < / p > < p > Site built with < a href = "https://pkgdown.r-lib.org/" class = "external-link" > pkgdown< / a > 2.0.7.< / p >
< / div >
< / footer > < / div >
< / body > < / html >