| spaceToCamel | R Documentation | 
Given a string like "mean attitude", the function returns "meanAttitude". But if the character just before the space is uppercase, the space will be replaced by an underscore (_): "TV news" will become "TV_news".
spaceToCamel(x)
x | 
 A string.  | 
snakeToCamel
spaceToCamel("colleges and universities")  # [1] "collegesAndUniversities"
spaceToCamel("TV news")                    # [1] "TV_news" 
spaceToCamel("TV News")                    # [1] "TV_News"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.