R Dataset / Package datasets / sunspots

On this R-data statistics page, you will find information about the sunspots data set which pertains to Monthly Sunspot Numbers, 1749–1983. The sunspots data set is found in the datasets R package. You can load the sunspots data set in R by issuing the following command at the console data("sunspots"). This will load the data into a variable called sunspots. If R says the sunspots 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 sunspots R data set. The size of this file is about 60,582 bytes.

Monthly Sunspot Numbers, 1749–1983

Description

Monthly mean relative sunspot numbers from 1749 to 1983. Collected at Swiss Federal Observatory, Zurich until 1960, then Tokyo Astronomical Observatory.

Usage

sunspots

Format

A time series of monthly data from 1749 to 1983.

Source

Andrews, D. F. and Herzberg, A. M. (1985) Data: A Collection of Problems from Many Fields for the Student and Research Worker. New York: Springer-Verlag.

See Also

sunspot.month has a longer (and a bit different) series, sunspot.year is a much shorter one. See there for getting more current sunspot numbers.

Examples

require(graphics)
plot(sunspots, main = "sunspots data", xlab = "Year",
 ylab = "Monthly sunspot numbers")

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

Attachments: csv, json

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