larix: Longitudinal Larix dataset

Description Format Details Examples

Description

Repeated measurements of microdensity data along 16 years, with climatic covariates.

Format

A dataframe with 11897 observations of the following variables

Details

Each one of the 8 replicate is composed of 5 incomplete blocks, which gives a nested variable with 40 levels.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
library(tidyr)
library(dplyr)
library(ggplot2)
data(larix)

## N observations by year and replicate
with(larix, table(yr, rep))

## Mean response evolution by replicate
larix %>%
  group_by(yr, rep) %>% 
  summarise(MLAS = mean(LAS)) %>% 
  ggplot(aes(yr, MLAS, group = rep)) +
  geom_line()
 
## Visualise trial by year
ggplot(larix, aes(x, y)) +
  geom_tile(aes(fill = LAS)) + 
  facet_wrap(~ yr)

## Correlations with environmental variables
if (require(GGally)) {
  ggpairs(larix[, c('map', 'mat', 'mi', 'LAS', 'DOS')])
}

skayondo/breed_forest documentation built on Aug. 11, 2020, 12:35 a.m.