2023-06-30 11:54:03 +02:00
<!DOCTYPE html>
2024-10-10 14:22:20 +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 > PASE score calculator — pase_calc • 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.3.1/bootstrap.min.css" rel = "stylesheet" > < script src = "../deps/bootstrap-5.3.1/bootstrap.bundle.min.js" > < / script > < link href = "../deps/font-awesome-6.4.2/css/all.min.css" rel = "stylesheet" > < link href = "../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel = "stylesheet" > < script src = "../deps/headroom-0.11.0/headroom.min.js" > < / script > < script src = "../deps/headroom-0.11.0/jQuery.headroom.min.js" > < / script > < script src = "../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js" > < / script > < script src = "../deps/clipboard.js-2.0.11/clipboard.min.js" > < / script > < script src = "../deps/search-1.0.0/autocomplete.jquery.min.js" > < / script > < script src = "../deps/search-1.0.0/fuse.min.js" > < / script > < script src = "../deps/search-1.0.0/mark.min.js" > < / script > <!-- pkgdown --> < script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "PASE score calculator — pase_calc" > < meta name = "description" content = "Calculates PASE score from raw questionnaire data." > < meta property = "og:description" content = "Calculates PASE score from raw questionnaire data." > < meta property = "og:image" content = "https://agdamsbo.github.io/stRoke/logo.png" > < / head > < body >
2023-06-30 11:54:03 +02:00
< a href = "#main" class = "visually-hidden-focusable" > Skip to contents< / a >
2024-10-10 14:22:20 +02:00
< nav class = "navbar navbar-expand-lg fixed-top bg-light" data-bs-theme = "light" aria-label = "Site navigation" > < div class = "container" >
2023-06-30 11:54:03 +02:00
< a class = "navbar-brand me-2" href = "../index.html" > stRoke< / a >
2024-10-10 14:22:20 +02:00
< small class = "nav-text text-muted me-auto" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "" > 24.10.1< / small >
2023-06-30 11:54:03 +02: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" >
2024-10-10 14:22:20 +02:00
< ul class = "navbar-nav me-auto" > < li class = "active nav-item" > < a class = "nav-link" href = "../reference/index.html" > Reference< / a > < / li >
2023-06-30 11:54:03 +02:00
< li class = "nav-item dropdown" >
2024-10-10 14:22:20 +02:00
< button class = "nav-link dropdown-toggle" type = "button" id = "dropdown-articles" data-bs-toggle = "dropdown" aria-expanded = "false" aria-haspopup = "true" > Articles< / button >
< ul class = "dropdown-menu" aria-labelledby = "dropdown-articles" > < li > < a class = "dropdown-item" href = "../articles/toolbox.html" > Toolbox< / a > < / li >
< / ul > < / li >
< li class = "nav-item" > < a class = "nav-link" href = "../news/index.html" > Changelog< / a > < / li >
< / ul > < ul class = "navbar-nav" > < li class = "nav-item" > < form class = "form-inline" role = "search" >
< input class = "form-control" type = "search" name = "search-input" id = "search-input" autocomplete = "off" aria-label = "Search site" placeholder = "Search for" data-search-index = "../search.json" > < / form > < / li >
< li class = "nav-item" > < a class = "external-link nav-link" href = "https://github.com/agdamsbo/stRoke/" aria-label = "GitHub" > < span class = "fa fab fa-github fa-lg" > < / span > < / a > < / li >
2023-06-30 11:54:03 +02:00
< / ul > < / div >
2024-10-10 14:22:20 +02:00
2023-06-30 11:54:03 +02:00
< / div >
< / nav > < div class = "container template-reference-topic" >
< div class = "row" >
< main id = "main" class = "col-md-9" > < div class = "page-header" >
< img src = "../logo.png" class = "logo" alt = "" > < h1 > PASE score calculator< / h1 >
2024-10-10 14:22:20 +02:00
< small class = "dont-index" > Source: < a href = "https://github.com/agdamsbo/stRoke/blob/main/R/pase_calc.R" class = "external-link" > < code > R/pase_calc.R< / code > < / a > < / small >
2023-06-30 11:54:03 +02:00
< div class = "d-none name" > < code > pase_calc.Rd< / code > < / div >
< / div >
< div class = "ref-description section level2" >
< p > Calculates PASE score from raw questionnaire data.< / p >
< / div >
< div class = "section level2" >
< h2 id = "ref-usage" > Usage< a class = "anchor" aria-label = "anchor" href = "#ref-usage" > < / a > < / h2 >
2024-02-09 09:30:37 +01:00
< div class = "sourceCode" > < pre class = "sourceCode r" > < code > < span > < span class = "fu" > pase_calc< / span > < span class = "op" > (< / span > < span class = "va" > ds< / span > , adjust_work < span class = "op" > =< / span > < span class = "cn" > FALSE< / span > , consider.missing < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/c.html" class = "external-link" > c< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "Not available"< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span > < / code > < / pre > < / div >
2023-06-30 11:54:03 +02:00
< / div >
< div class = "section level2" >
< h2 id = "arguments" > Arguments< a class = "anchor" aria-label = "anchor" href = "#arguments" > < / a > < / h2 >
2024-10-10 14:22:20 +02:00
< dl > < dt id = "arg-ds" > ds< a class = "anchor" aria-label = "anchor" href = "#arg-ds" > < / a > < / dt >
2023-06-30 11:54:03 +02:00
< dd > < p > data set< / p > < / dd >
2024-10-10 14:22:20 +02:00
< dt id = "arg-adjust-work" > adjust_work< a class = "anchor" aria-label = "anchor" href = "#arg-adjust-work" > < / a > < / dt >
2024-02-09 09:30:37 +01:00
< dd > < p > flag to set whether to include 10b type 1.< / p > < / dd >
2024-10-10 14:22:20 +02:00
< dt id = "arg-consider-missing" > consider.missing< a class = "anchor" aria-label = "anchor" href = "#arg-consider-missing" > < / a > < / dt >
2024-02-09 09:30:37 +01:00
< dd > < p > character vector of values considered missing.
2023-06-30 11:54:03 +02:00
Default is TRUE.< / p > < / dd >
< / dl > < / div >
< div class = "section level2" >
< h2 id = "value" > Value< a class = "anchor" aria-label = "anchor" href = "#value" > < / a > < / h2 >
2024-10-10 14:22:20 +02:00
< p > data.frame< / p >
2023-06-30 11:54:03 +02:00
< / div >
< div class = "section level2" >
< h2 id = "details" > Details< a class = "anchor" aria-label = "anchor" href = "#details" > < / a > < / h2 >
< p > Labelling should be as defined by the questionnaire.
02-06 should start with 0:3, 02a-06b should start with 1:4.< / p > < div class = "section" >
< h3 id = "regarding-work-scoring" > Regarding work scoring< a class = "anchor" aria-label = "anchor" href = "#regarding-work-scoring" > < / a > < / h3 >
< p > The score calculation manual available for the PASE questionnaire, all types
of work should be included. According to the article by
Washburn RA. et al (1999) sitting work is not included in the item 10 score.
This differentiation is added with the option to set < code > adjust_work< / code > to
exclude item 10b category 1 work (set < code > TRUE< / code > ).< / p >
< / div >
< div class = "section" >
< h3 id = "regarding-output" > Regarding output< a class = "anchor" aria-label = "anchor" href = "#regarding-output" > < / a > < / h3 >
< p > Output includes sub scores as well as sums, but also to columns assessing data
quality and completeness. If any field has not been filled, < code > score_incompletes< / code >
will return < code > TRUE< / code > . If all measures are missing < code > score_missings< / code > is < code > TRUE< / code > .
If < code > adjust_work==TRUE< / code > , 10b has to be filled, or < code > score_incompletes< / code > will be
set < code > TRUE< / code > .< / p >
< / div >
< / div >
< div class = "section level2" >
< h2 id = "ref-examples" > Examples< a class = "anchor" aria-label = "anchor" href = "#ref-examples" > < / a > < / h2 >
< div class = "sourceCode" > < pre class = "sourceCode r" > < code > < span class = "r-in" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/base/summary.html" class = "external-link" > summary< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > pase_calc< / span > < span class = "op" > (< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "pase.html" > pase< / a > < / span > < span class = "op" > )< / span > < span class = "op" > [< / span > ,< span class = "fl" > 13< / span > < span class = "op" > ]< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > Min. 1st Qu. Median Mean 3rd Qu. Max. < / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > 0.0 75.0 128.6 138.9 195.9 574.3 < / span >
2024-02-09 09:30:37 +01:00
< span class = "r-in" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/str.html" class = "external-link" > str< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > pase_calc< / span > < span class = "op" > (< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "pase.html" > pase< / a > < / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > 'data.frame': 642 obs. of 15 variables:< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_02 : num 85.8 5 25.8 25.8 2.2 15 0 51.4 51.4 15 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_03 : num 53.97 0 6.72 2.31 2.31 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_04 : num 98.67 0 0 0 2.53 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_05 : num 0 0 0 0 0 0 0 0 0 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_06 : num 0 0 0 0 0 0 0 0 0 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_07 : num 25 25 25 25 25 25 25 25 25 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_08 : num 25 0 25 25 25 0 25 25 25 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_09a : num 0 0 0 0 0 0 0 0 0 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_09b : num 36 0 0 36 0 0 0 0 36 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_09c : num 20 0 20 20 0 0 0 0 20 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_09d : num 0 35 35 35 0 0 0 0 0 0 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_10 : num 12 NA NA 105 9 NA NA 240 NA NA ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_sum : num 356 65 138 274 66 ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_missings : logi FALSE FALSE FALSE FALSE FALSE FALSE ...< / span >
< span class = "r-out co" > < span class = "r-pr" > #> < / span > $ pase_score_incompletes: logi FALSE FALSE FALSE FALSE FALSE FALSE ...< / span >
2023-06-30 11:54:03 +02:00
< span class = "r-in" > < span > < / span > < / span >
< / code > < / pre > < / div >
< / div >
2024-10-10 14:22:20 +02:00
< / main > < aside class = "col-md-3" > < nav id = "toc" aria-label = "Table of contents" > < h2 > On this page< / h2 >
2023-06-30 11:54:03 +02:00
< / nav > < / aside > < / div >
< footer > < div class = "pkgdown-footer-left" >
2024-10-10 14:22:20 +02:00
< p > Developed by Andreas Gammelgaard Damsbo.< / p >
2023-06-30 11:54:03 +02:00
< / div >
< div class = "pkgdown-footer-right" >
2024-10-10 14:22:20 +02:00
< p > Site built with < a href = "https://pkgdown.r-lib.org/" class = "external-link" > pkgdown< / a > 2.1.1.< / p >
2023-06-30 11:54:03 +02:00
< / div >
< / footer > < / div >
2024-10-10 14:22:20 +02:00
2023-06-30 11:54:03 +02:00
< / body > < / html >