From the course: Tableau and R for Analytics Projects

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Add an R logistic regression model to a Tableau viz

Add an R logistic regression model to a Tableau viz

From the course: Tableau and R for Analytics Projects

Start my 1-month free trial

Add an R logistic regression model to a Tableau viz

- [Curt] After you test your logistic regression model in R, and visualize your data in Tableau, you can create a calculated field that includes your R code. From there you can use color, shape, or another characteristic to distinguish the two classes in your viz. In this movie I will show you how to link up R in Tableau and use those to create your new calculated field. I've started in R and to turn on Rserve I need to do two things here. The first is type library, and then in parentheses and double quotes Rserve. All right so Rserve has been loaded and now I need to run the Rserve process. So I'll type Rserve, and that's with a capital R at the front. And then an open and close parentheses with nothing in between, press Enter and I see that the process is now running. With that in place I can switch to Tableau and link to this external service. So I'll press Alt + Tab to move to Tableau and then on the Help menu…

Contents