[{"path":"/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andreas Gammelgaard Damsbo. Author, maintainer.","code":""},{"path":"/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Damsbo (2022). stRoke: Tools work clinical stroke research. R package version 0.22.11.2.","code":"@Manual{, title = {stRoke: Tools for work in clinical stroke research}, author = {Andreas Gammelgaard Damsbo}, year = {2022}, note = {R package version 0.22.11.2}, }"},{"path":"/index.html","id":"stroke-package-","dir":"","previous_headings":"","what":"Tools for work in clinical stroke research","title":"Tools for work in clinical stroke research","text":"package contains tools used (Andreas) research work ENIGMA project. Please use package grab bits functions. Mind licensing.","code":""},{"path":"/index.html","id":"a-few-notes","dir":"","previous_headings":"","what":"A few notes","title":"Tools for work in clinical stroke research","text":"function generic_stroke()can used data(talos) custom data set illustrate classic analysis mRS outcome stroke trials.","code":""},{"path":"/index.html","id":"source","dir":"","previous_headings":"","what":"Source","title":"Tools for work in clinical stroke research","text":"package shared GitHub, welcome contribute opening issue pull request.","code":""},{"path":"/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Tools for work in clinical stroke research","text":"package can installed GitHub:","code":"remotes::install_github(\"agdamsbo/stRoke\")"},{"path":"/reference/age_calc.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculating age from date of birth — age_calc","title":"Calculating age from date of birth — age_calc","text":"age calculations. Vectorised.","code":""},{"path":"/reference/age_calc.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculating age from date of birth — age_calc","text":"","code":"age_calc(dob, enddate = Sys.Date(), units = \"years\", precise = TRUE)"},{"path":"/reference/age_calc.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculating age from date of birth — age_calc","text":"dob Date birth. Data format follows standard POSIX layout. Format yyyy-mm-dd. enddate Date calculate age . Format yyyy-mm-dd. units Default \"years\". Can changed \"days\". precise Default TRUE. Flag set whether include calculations spring years. matter using units = \"days\".","code":""},{"path":"/reference/age_calc.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculating age from date of birth — age_calc","text":"Vector age","code":""},{"path":"/reference/age_calc.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculating age from date of birth — age_calc","text":"","code":"# Kim Larsen (cpr is known from album) dob<-as.Date(\"1945-10-23\") date<-as.Date(\"2018-09-30\") trunc(age_calc(dob,date)) #> [1] 72"},{"path":"/reference/ci_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence interval plot with point estimate — ci_plot","title":"Confidence interval plot with point estimate — ci_plot","text":"Horizontal forest plot point estimate confidence intervals. Includes dichotomous olr, depending number levels \"x\". Title axis labels can added ggplot afterwards.","code":""},{"path":"/reference/ci_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence interval plot with point estimate — ci_plot","text":"","code":"ci_plot(ds, x, y, vars, dec = 3, lbls = NULL, title = NULL)"},{"path":"/reference/ci_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence interval plot with point estimate — ci_plot","text":"dsdatasetxtextstringmainexposurevariableytextstringoutcomevariablevarsv