So i was wanting to create a multivariate linear regression model in tableau that connects to the analytics extension to allow the use of R scripts in tableau. I have a few categorical variables that i was wanting to convert that ordinal encoding wasn't sufficient enough for such as variables like admissionType (urgent, emergency, etc.) , ethnicity, and a few others. I saw that you could add a r script in tableau prep to perform the encoding on all categorical variables but was wondering if there was a way in tableau?