glimpse_daily_data: glimpse_daily_data

Description Usage Arguments Examples

Description

Visual presentation of daily data to spot missing values.

Usage

1
2
glimpse_daily_data(env_data, na.color = "red", low_color = "blue",
  high_color = "green", tidy_env_data = FALSE)

Arguments

env_data

a data frame of daily sequences of environmental data as columns and years as row names. Each row represents a year and each column represents a day of a year. Alternatively, env_data could be a tidy data with three columns, i.e. Year, DOY and third column representing values of mean temperatures, sum of precipitation etc. If tidy data is passed to the function, set the argument tidy_env_data to TRUE.

na.color

color to use for missing values

low_color

colours for low end of the gradient

high_color

colours for high end of the gradient

tidy_env_data

if set to TRUE, env_data should be inserted as a data frame with three columns: "Year", "DOY", "Precipitation/Temperature/etc."

Examples

1
2
3
4
5
data("LJ_daily_temperatures")
glimpse_daily_data(env_data = LJ_daily_temperatures, tidy_env_data = FALSE, na.color = "white")

data("LJ_daily_precipitation")
glimpse_daily_data(env_data = LJ_daily_precipitation, tidy_env_data = TRUE, na.color = "white")

jernejjevsenak/dendroTools2 documentation built on May 24, 2019, 7:14 a.m.