The goal of ForestFires is to present data for a particularly challenging regression task of predicting the size of the burned area using various meteorological measurements.
You can install the released version of ForestFires from CRAN with:
install.packages("ForestFires")
This is a basic example which shows you how to solve a common problem:
library(ForestFires)
## distribution of observations by month
library(tidyverse)
ForestFires%>%
group_by(month)%>%
summarize(count = n())%>%
ggplot(aes(x = month, y = count)) +
geom_col(fill ="#3D9970") +
ggtitle("Distribution of Forest Fires by month")
## basic ggpairs for regression preliminary analysis
library(GGally)
ggpairs(data = ForestFires, columns = 7:13, title = "Basic scatter plot matrix")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.