View source: R/newlines_to_definition.R
newlines_to_definition | R Documentation |
Adds new lines to the description so that hover boxes don't get too wide.
newlines_to_definition(definition, line_length = 10)
definition |
A disease description string |
line_length |
A integer representing the desired words per line. |
The disease description with newline symbols added every nth word.
description <- "A dialeptic seizure is a type of seizure characterised
predominantly by reduced responsiveness or awareness and with subsequent at
least partial amnesia of the event."
newlines_to_definition(description, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.