stRoke/docs/search.json
AG Damsbo 090a6316b0 site
2022-09-22 14:23:49 +02:00

2 lines
5.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[{"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: Providing tools work clinical stroke research.. R package version 0.0.0.9000.","code":"@Manual{, title = {stRoke: Providing tools for work in clinical stroke research.}, author = {Andreas Gammelgaard Damsbo}, year = {2022}, note = {R package version 0.0.0.9000}, }"},{"path":[]},{"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<-daDoctoR::dob_extract_cpr(\"231045-0637\") #> Error in loadNamespace(x): there is no package called daDoctoR date<-as.Date(\"2018-09-30\") trunc(age_calc(dob,date)) #> Error in age_calc(dob, date): object 'dob' not found"},{"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","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) #> [1] TRUE FALSE FALSE FALSE FALSE FALSE all(cpr_check(fsd)) #> [1] FALSE"},{"path":"/reference/cpr_dob.html","id":null,"dir":"Reference","previous_headings":"","what":"Extracting date of birth from CPR — cpr_dob","title":"Extracting date of birth from CPR — cpr_dob","text":"easy calculation.","code":""},{"path":"/reference/cpr_dob.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracting date of birth from CPR — cpr_dob","text":"","code":"cpr_dob(cpr)"},{"path":"/reference/cpr_dob.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracting date of birth from CPR — cpr_dob","text":"cpr cpr-numbers ddmmyy-.xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_dob.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extracting date of birth from CPR — cpr_dob","text":"vector Date elements. Format yyyy-mm-dd","code":""},{"path":"/reference/cpr_dob.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extracting date of birth from CPR — cpr_dob","text":"","code":"cpr_dob(\"231045-0637\") #> [1] \"1945-10-23\" fsd<-c(\"010190-2000\", \"010115-4000\", \"0101896000\",\"010189-3000\",\"300450-1030\",\"010150-4021\") cpr_dob(fsd) #> [1] \"1990-01-01\" \"2015-01-01\" \"1889-01-01\" \"1989-01-01\" \"1950-04-30\" #> [6] \"1950-01-01\""},{"path":"/reference/stRoke-package.html","id":null,"dir":"Reference","previous_headings":"","what":"stRoke: Providing tools for work in clinical stroke research. — stRoke-package","title":"stRoke: Providing tools for work in clinical stroke research. — stRoke-package","text":"start package migrates functions agdamsbo/daDoctoR-package.","code":""},{"path":"/reference/stRoke-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"stRoke: Providing tools for work in clinical stroke research. — stRoke-package","text":"Maintainer: Andreas Gammelgaard Damsbo agdamsbo@clin.au.dk (ORCID)","code":""}]