search for: emilybakker

Displaying 4 results from an estimated 4 matches for "emilybakker".

2023 Apr 12
2
Split String in regex while Keeping Delimiter
...with effective use of R. If so, learn to use a proper programming editor, and in any case learn to post to rhelp in plain text. -- David scan(text=gsub("([-+]){1}\\s", "\\1\n", dat), what="", sep="\n") > On Apr 12, 2023, at 2:29 AM, Emily Bakker <emilybakker at outlook.com> wrote: > > Hello List, > > I have a dataset consisting of strings that I want to split while saving the delimiter. > > Some example data: > ?leucocyten + gramnegatieve staven +++ grampositieve staven ++? > ?leucocyten ? grampositieve coccen +? >...
2023 Apr 12
3
Split String in regex while Keeping Delimiter
Hello List, ? I have a dataset consisting of strings that I want to split while saving the delimiter. ? Some example data: ?leucocyten + gramnegatieve staven +++ grampositieve staven ++? ?leucocyten ? grampositieve coccen +? ? I want to split the strings such that I get the following result: c(?leucocyten +?, ??gramnegatieve staven +++?, ??grampositieve staven ++?) c(?leucocyten ??, ?grampositieve
2023 Apr 12
1
Split String in regex while Keeping Delimiter
On Wed, 12 Apr 2023 08:29:50 +0000 Emily Bakker <emilybakker at outlook.com> wrote: > Some example data: > ?leucocyten + gramnegatieve staven +++ grampositieve staven ++? > ?leucocyten ? grampositieve coccen +? > ? > I want to split the strings such that I get the following result: > c(?leucocyten +?, ??gramnegatieve staven +++?, > ?...
2023 Dec 18
3
Function with large nested list
Hello list, I want to make a large rulebased algorithm, to provide decision support for drug prescriptions. I have defined the algorithm in a function, with a for loop and many if statements. The structure should be as follows: 1. Iterate over a list of drug names. For each drug: 2. Get some drug related data (external dataset). Row of a dataframe. 3. Check if adaptions should be made to