Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Example Analysis of getting R-built-in dataset and R-packet dataset

Shulou Source: shulou.com Published: 2022-06-01 10:23:25 10月03日 Update

It is believed that many inexperienced people are at a loss to obtain the example analysis of R-built-in dataset and R-packet dataset. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

When learning R, we all use R to our own dataset, or data sets contained in third-party R packages, such as iris Iris data.

There are data sets, such as the above iris data, but if we do not understand the specific background of the data set, it is difficult to understand its analysis purpose, statistical analysis is more blunt, so we also need to be prepared to grasp the background information of these data sets, or illustrative documents.

R also provides convenience in this respect, we just need to add a question mark in front of the dataset and command R to output and display the background information of the corresponding dataset.

Such as the iris data set of Iris

? iris

How do you view the introduction document for the dataset of the third-party R package? It's the same, except that you have to load the package first.

For example, the diamonds dataset that comes with the ggplot2 package

Library (ggplot2)? diamonds

After reading the above, have you mastered the method of obtaining sample analysis of R-built-in dataset and R-packet dataset? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Data analysis background examples content documents methods more third parties materials problems irises blunt helpless for this reason only commands this skills Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info NVidia OPPO Reno Xiaomi