Description Usage Format Details Examples
Seed survial data of three crops - groundnut, soybean and wheat stored for 15 years at combinations of three different moisture contents (3%, 5% and 7%) and temperatures (0 °C, 10 °C and 25 °C).
1 |
A data frame with 7 columns:
The crop name.
The moisture content (%).
The temperature (°C).
The period of storage, i.e. the year at which viability was recorded.
The replication.
The viability percentage value recorded.
The sample size used for estimating viability percentage.
1 2 3 4 5 6 7 8 9 10 11 | # Load ggplot2 package
library(ggplot2)
# Plot with seedsurvival dataset with ggplot2
ggplot(data = seedsurvival, aes(x = storageperiod, y = viabilitypercent)) +
geom_point(aes(colour = crop), alpha = 0.5) +
labs(x = "Storage period (years)", y = "Viability (%)") +
facet_grid(crop + moistruecontent ~ temperature) +
theme_bw() +
theme(axis.text = element_text(colour = "black"),
legend.title = element_blank())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.