Useful R functions

Here I list some of my own and oth­ers R func­tions that may be use­ful for you. These are the results of dif­fer­ent prob­lems that I have ecoun­tered dur­ing my work.

How to use plotly graphs in shiny apps

Click the link below to learn how to use plot­ly with shiny:

Use plot­ly with shiny

Separate full name into two columns

Dur­ing my work with cus­tomer sat­is­fac­tion sur­veys I need to have the first and last name sep­a­rat­ed into two columns. Some­times, how­ev­er, I get the names in one col­umn. When hav­ing about 2000 names you do not want to sep­a­rate the first and last name by hand. There­fore I wrote the func­tion below so I would not have too.

Get the func­tion at Github