Tableau 8.1 just got released! As I wrote before, one of the exciting new features in this release is R integration. Now you can write R scripts inside Tableau calculated fields which opens the door to many new analysis scenarios. To celebrate the release of Tableau 8.1, I put together two new examples to show how you can run different statistical tests inside Tableau.

I took advantage of Tableau parameters to provide an easy way to change the options for the Student’s t-test. Chi-square demo is based on the sample Superstore dataset. For t-test I made up some data for demonstrative purposes. Now that these are done, should I also create a logistic regression example? Or given the positive feedback and interest we saw at R User Groups, I wonder if somebody else will do it before me.

You can download the Tableau workbook from HERE.

### Like this:

Like Loading...

*Related*

Thank you. This is a very beautiful post for a Tableau beginner like myself🙂

Hi Bora!

Those were extremely well done! Good job and thanks for doing them! They help a lot for someone like me who is trying to learn how to integrate R in Tableau.

I do have one question I was hoping you might be able to answer/provide some guidance on. How would you be able to conduct an ANOVA in Tableau using R? I know how to do this in R, but am having trouble performing this in Tableau with R.

Thanks!

Thank you and well done

Hi

I was wondering if the link to the workbook still existed or had been moved? I’m trying to do some R/Tableau integration and would love to have a look at your workbook.

Cheers

Microsoft OneDrive claims it is already shared with public and that you can download it from here http://1drv.ms/1MdQUof

Hi, I wonder if you have upgraded to Tableau 9? Because it says the calculated field is no longer valid.

(I have downloaded only the StatisticalTestWithRandTablue.twbx and running Excel 2013 on Mac)

Do you have RServe configured?

hi, I tried with my data but I have this error: Error in data.frame(…, check.names = FALSE) : arguments imply differing number of rows: 6, 5 could you please help me understand why? thanks a lot.

Can you check if you have NULLs in your data?

Thanks for sharing.