Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use R language to draw all kinds of statistical charts in SAP Analytics Cloud

Shulou Source: shulou.com Published: 2022-06-01 21:56:02 10月05日 Update

In this issue, the editor will bring you about how to use R language to draw various statistical charts in SAP Analytics Cloud. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Insert an R visualization:

Make sure that the small icon of the model appears in the graph, and that the model data representing the R visualization is successfully bound before you can proceed to the next step:

After the model is successfully bound, the model data can be seen in the Data drop-down menu on the Environment tab of the R script editor.

Use the excel file provided in the official SAP Analytics Cloud tutorial as the data source:

Https://www.rial-r-visualization/https://www.ontent/uploads/2019/09/R-Script-Plot.txt

# Discription:# Creating a histogram of the log returns, adding the kernel density of the log returns# and the normal density as reference distribution # # Requirements: # ggplot requires a data frame# # Output:# Histogram Plot# library (ggplot2) Simulated_data

Tags: Data models charts languages statistics success content graphics analysis professional small and medium representative rich content icons official that is buttons tutorials data sources files Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple macOS MariaDB Docker OPPO Reno