search for: ab_data

Displaying 1 result from an estimated 1 matches for "ab_data".

Did you mean: b_data
2023 Dec 18
3
Function with large nested list
...list_AB_duur <- setNames(as.list(rep("Geen informatie", length(AB_list))), names(AB_list)) # make named list of all AB's and assign "Geen informatie", will be replaced with actual information in algorithm ##### CULTURES ##### for (i in names(AB_list)) { ab_data <- dataset_ab[dataset_ab$middel == i,] #get info for this AB from dataset_ab # Extract and split the diagnoses, dosering, and duur info for the current antibiotic ab_diagnoses <- str_split(ab_data$diagnoses, pattern = " \\| ")[[1]] ab_diagnose_dosering <- str_spl...