Clustering
As a Power BI author with only the most basic knowledge of R, I think the R Library is a great concept. However, actually making use of what's been posted on the site is extremely hard because so much code has been written into the examples, I have no idea which lines of code are actually driving the visual. When I pasted the code into a Word document, it was 18 pages in length, with 1851 words.
Is there any way to simplify what's in the library so that it's more comprehensible and usable?
Thanks,
Jeff
- chrislbs9 years agoFrequent Visitor
R is its own language and it takes most of us some time to learn how to do the basics in it, not to mention the more advance transformations and graphics. This code is very well commented with #Comments Here and that should give you a sense as to what each step is doing.
You might want to load the script into R and then watch the graphics pane as you parse the code line by line. The function plot(...) is where some of the work is done, and then the subsequent statements add to it according to the parameters defined at the beginning of the script.
- boefraty9 years agoMicrosoft Employee
Hi,
The clustering code is too complicated, mostly because it contains the implementation of the the automatic mode and many parameters to create flexible visual. In addition we do a lot of data correctness testing...
The simplest code to start with is "corrplot". We recommend to look at the R code in dedicated R-IDE, like RStudio.