- Learning Jupyter 5
- Dan Toomey
- 204字
- 2021-08-13 15:42:13
R dataset access
For this example, we will use the Iris dataset. Iris is built into R installations and is available directly. Let's just pull in the data, gather some simple statistics, and plot the data. This will show R accessing a dataset in Jupyter, using an R built-in package, as well as some available statistics (since we have R), and the interaction with R graphics.
The script we will use is as follows:
data(iris)
summary(iris)
plot(iris)
If we enter this small script into a new R Notebook, we get an initial display that looks like the following:

I would expect the standard R statistical summary as output, and I know that the Iris plot is pretty interesting. We can see exactly what happened in the following screenshot:

The plot continues in the following screenshot, as it wouldn't fit into a single page:

- 大數(shù)據(jù)技術(shù)與應(yīng)用基礎(chǔ)
- 大數(shù)據(jù)管理系統(tǒng)
- 輕松學(xué)C語(yǔ)言
- 三菱FX3U/5U PLC從入門到精通
- Learning Apache Spark 2
- Hands-On Data Science with SQL Server 2017
- 工業(yè)機(jī)器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- 21天學(xué)通Java
- Apache Spark Deep Learning Cookbook
- 變頻器、軟啟動(dòng)器及PLC實(shí)用技術(shù)260問
- Implementing AWS:Design,Build,and Manage your Infrastructure
- 分析力!專業(yè)Excel的制作與分析實(shí)用法則
- 悟透AutoCAD 2009案例自學(xué)手冊(cè)
- 工業(yè)自動(dòng)化技術(shù)實(shí)訓(xùn)指導(dǎo)
- Bayesian Analysis with Python