stRoke/docs/search.json

2 lines
13 KiB
JSON
Raw Normal View History

2022-09-23 19:20:15 +02:00
[{"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.9.2.","code":"@Manual{, title = {stRoke: Tools for work in clinical stroke research}, author = {Andreas Gammelgaard Damsbo}, year = {2022}, note = {R package version 0.22.9.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":"github","dir":"","previous_headings":"","what":"GitHub","title":"Tools for work in clinical stroke research","text":"package shared GitHub, wellcome contribute opening issue pull request.","code":""},{"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/cpr_check.html","id":null,"dir":"Reference","previous_headings":"","what":"CPR check — cpr_check","title":"CPR check — cpr_check","text":"Checking validity cpr number. Vectorised.","code":""},{"path":"/reference/cpr_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CPR check — cpr_check","text":"","code":"cpr_check(cpr)"},{"path":"/reference/cpr_check.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"CPR check — cpr_check","text":"cpr cpr-numbers ddmmyy\"-.\"xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"CPR check — cpr_check","text":"Logical vector cpr validity","code":""},{"path":"/reference/cpr_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"CPR check — cpr_check","text":"","code":"fsd<-c(\"2310450637\", \"010115-4000\", \"0101896000\",\"010189-3000\",\"300450-1030\",\"010150-4021\") cpr_check(fsd) #> OBS: according to new description, not all valid CPR numbers apply to this modulus 11 rule. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [1] TRUE FALSE FALSE FALSE FALSE FALSE all(cpr_check(fsd)) #> OBS: according to new description, not all valid CPR numbers apply to this modulus 11 rule