diff --git a/docs/search.json b/docs/search.json
index 24cf5af..524807a 100644
--- a/docs/search.json
+++ b/docs/search.json
@@ -1 +1 @@
-[{"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.22.9.2.","code":"@Manual{, title = {stRoke: Providing 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":"Providing tools for work in clinical stroke research.","title":"Providing 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":"/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. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [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/cpr_female.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine female sex from CPR — cpr_female","title":"Determine female sex from CPR — cpr_female","text":"Just checking last number string equal .","code":""},{"path":"/reference/cpr_female.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(cpr)"},{"path":"/reference/cpr_female.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Determine female sex from CPR — cpr_female","text":"cpr cpr-numbers ddmmyy-.xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_female.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine female sex from CPR — cpr_female","text":"Logical vector","code":""},{"path":"/reference/cpr_female.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(\"231045-0637\") #> [1] TRUE"},{"path":"/reference/plot_ord_odds.html","id":null,"dir":"Reference","previous_headings":"","what":"Forrest plot from ordinal logistic regression. — plot_ord_odds","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"Heavily inspired https://www.r-bloggers.com/plotting-odds-ratios-aka--forrestplot--ggplot2/","code":""},{"path":"/reference/plot_ord_odds.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"","code":"plot_ord_odds( x, title = NULL, dec = 3, lbls = NULL, hori = \"OR (95 % CI)\", vert = \"Variables\", short = FALSE, input = c(\"model\", \"df\") )"},{"path":"/reference/plot_ord_odds.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"x input data. title plot title dec decimals labels lbls labels variable names. Carefull, right order checked automatically! hori labels horizontal axis (y axis plot rotated) vert labels horizontal axis (x axis plot rotated) short flag half number ticks horizontal axis. input can either \"model\", olr model (polr()), \"df\", dataframe whith three columns , lower CI upper CI.","code":""},{"path":"/reference/plot_ord_odds.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"gg object","code":""},{"path":"/reference/quantile_cut.html","id":null,"dir":"Reference","previous_headings":"","what":"Easy function for splitting numeric variable in quantiles — quantile_cut","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"Using base/stats functions cut() quantile().","code":""},{"path":"/reference/quantile_cut.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"","code":"quantile_cut( x, groups, y = NULL, na.rm = TRUE, group.names = NULL, ordered.f = FALSE, inc.outs = FALSE, detail.list = TRUE )"},{"path":"/reference/quantile_cut.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"x Variable cut. groups Number groups. y alternative vector draw quantile cuts . Limits within x. Default NULL. na.rm Remove NA's. Default TRUE. group.names Names groups split . Default NULL, giving intervals names. ordered.f Set resulting vector ordered. Default FALSE. inc.outs Flag include min(x) max(x) boarders case y!=NULL. detail.list","code":""},{"path":"/reference/quantile_cut.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"","code":"aa <- as.numeric(sample(1:1000,2000,replace = TRUE)) x <- 1:450 y <- 6:750 summary(quantile_cut(aa,groups=4,detail.list=FALSE)) ## Cuts quartiles #> [1,249] (249,510] (510,754] (754,998] #> 502 498 500 500"},{"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":"R functions convenient data management danalysis health research. package mainly collected personal use. 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":""}]
+[{"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":"/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. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [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/cpr_female.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine female sex from CPR — cpr_female","title":"Determine female sex from CPR — cpr_female","text":"Just checking last number string equal .","code":""},{"path":"/reference/cpr_female.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(cpr)"},{"path":"/reference/cpr_female.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Determine female sex from CPR — cpr_female","text":"cpr cpr-numbers ddmmyy-.xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_female.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine female sex from CPR — cpr_female","text":"Logical vector","code":""},{"path":"/reference/cpr_female.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(\"231045-0637\") #> [1] TRUE"},{"path":"/reference/plot_ord_odds.html","id":null,"dir":"Reference","previous_headings":"","what":"Forrest plot from ordinal logistic regression. — plot_ord_odds","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"Heavily inspired https://www.r-bloggers.com/plotting-odds-ratios-aka--forrestplot--ggplot2/","code":""},{"path":"/reference/plot_ord_odds.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"","code":"plot_ord_odds( x, title = NULL, dec = 3, lbls = NULL, hori = \"OR (95 % CI)\", vert = \"Variables\", short = FALSE, input = c(\"model\", \"df\") )"},{"path":"/reference/plot_ord_odds.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"x input data. title plot title dec decimals labels lbls labels variable names. Carefull, right order checked automatically! hori labels horizontal axis (y axis plot rotated) vert labels horizontal axis (x axis plot rotated) short flag half number ticks horizontal axis. input can either \"model\", olr model (polr()), \"df\", dataframe whith three columns , lower CI upper CI.","code":""},{"path":"/reference/plot_ord_odds.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Forrest plot from ordinal logistic regression. — plot_ord_odds","text":"gg object","code":""},{"path":"/reference/quantile_cut.html","id":null,"dir":"Reference","previous_headings":"","what":"Easy function for splitting numeric variable in quantiles — quantile_cut","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"Using base/stats functions cut() quantile().","code":""},{"path":"/reference/quantile_cut.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"","code":"quantile_cut( x, groups, y = NULL, na.rm = TRUE, group.names = NULL, ordered.f = FALSE, inc.outs = FALSE, detail.list = TRUE )"},{"path":"/reference/quantile_cut.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"x Variable cut. groups Number groups. y alternative vector draw quantile cuts . Limits within x. Default NULL. na.rm Remove NA's. Default TRUE. group.names Names groups split . Default NULL, giving intervals names. ordered.f Set resulting vector ordered. Default FALSE. inc.outs Flag include min(x) max(x) boarders case y!=NULL. detail.list","code":""},{"path":"/reference/quantile_cut.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Easy function for splitting numeric variable in quantiles — quantile_cut","text":"","code":"aa <- as.numeric(sample(1:1000,2000,replace = TRUE)) x <- 1:450 y <- 6:750 summary(quantile_cut(aa,groups=4,detail.list=FALSE)) ## Cuts quartiles #> [1,250] (250,500] (500,752] (752,1e+03] #> 500 500 501 499"},{"path":"/reference/stRoke-package.html","id":null,"dir":"Reference","previous_headings":"","what":"stRoke: Tools for work in clinical stroke research — stRoke-package","title":"stRoke: Tools for work in clinical stroke research — stRoke-package","text":"R functions convenient data management danalysis health research. package mainly collected personal use. start package migrates functions agdamsbo/daDoctoR-package.","code":""},{"path":"/reference/stRoke-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"stRoke: Tools for work in clinical stroke research — stRoke-package","text":"Maintainer: Andreas Gammelgaard Damsbo agdamsbo@clin.au.dk (ORCID)","code":""}]
diff --git a/man/stRoke-package.Rd b/man/stRoke-package.Rd
index 1d547d7..ce29bfe 100644
--- a/man/stRoke-package.Rd
+++ b/man/stRoke-package.Rd
@@ -4,7 +4,7 @@
\name{stRoke-package}
\alias{stRoke}
\alias{stRoke-package}
-\title{stRoke: Providing tools for work in clinical stroke research.}
+\title{stRoke: Tools for work in clinical stroke research}
\description{
R functions for convenient data management an danalysis in health research. The package is mainly collected for personal use. For a start this package migrates functions from the agdamsbo/daDoctoR-package.
}