# NOT RUN {
# plot data summary for selected variables at two sites
amf_plot_datasummary(site_set = c("US-CRT", "US-WPT"),
var_set = c("H", "LE", "NETRAD"))
# plot data summary for FCH4 at all sites, and show
# clustering among sites
amf_plot_datasummary(var_set = "FCH4",
show_cluster = TRUE)
# plot data summary for TA at all grassland sites,
# and show clustering among sites
sites <- amf_site_info()
sites <- subset(sites, IGBP == "CRO")
amf_plot_datasummary(site_set = sites$SITE_ID,
var_set = "TA",
show_cluster = TRUE)
# normalize TA among sites
amf_plot_datasummary(site_set = sites$SITE_ID,
var_set = "TA",
show_cluster = TRUE,
scale = TRUE)
# }
Run the code above in your browser using DataLab