View source: R/separateRowsInput.R
This function takes the input data and: 1. Removes all carriage return symbols 2. Separates all non-identifier rows based on a new line symbol 3. Trims the whitespace on the resulting parsed rows, particularly important for cases when there are multiple new lines separating 2 Components, resulting in a blank Component entry 4. Normalizes all blanks, "NA", and NA to NA_character_ 5. Filters for rows where both Regimen and Components are non-NA the non-NA Regimen and Components
1 | separateRowsInput(.input)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.