R Dataset / Package datasets / volcano

On this R-data statistics page, you will find information about the volcano data set which pertains to Topographic Information on Auckland's Maunga Whau Volcano. The volcano data set is found in the datasets R package. You can load the volcano data set in R by issuing the following command at the console data("volcano"). This will load the data into a variable called volcano. If R says the volcano data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the volcano R data set. The size of this file is about 21,167 bytes.

Topographic Information on Auckland's Maunga Whau Volcano


Maunga Whau (Mt Eden) is one of about 50 volcanos in the Auckland volcanic field. This data set gives topographic information for Maunga Whau on a 10m by 10m grid.




A matrix with 87 rows and 61 columns, rows corresponding to grid lines running east to west and columns to grid lines running south to north.


Digitized from a topographic map by Ross Ihaka. These data should not be regarded as accurate.

See Also

filled.contour for a nice plot.


require(grDevices); require(graphics)
filled.contour(volcano, color.palette = terrain.colors, asp = 1)
title(main = "volcano data: filled contour map")

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-datasets-volcano.html" width="100%" height="100%" style="border:0px"></iframe>