phenogram: Phenogram

Description Usage Arguments Examples

View source: R/phenogram.R

Description

Phenogram

Usage

1
phenogram(.x, .x.months = NULL, .method = "days", ...)

Arguments

.x

integer vector of ydays, pentades or months

.x.months

integer vector of the corresponding months

.method

character: one of "days", "pentades" or "months"

...

arguments passed to grid::gpar

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
set.seed(213)
x <- round(rnorm(n = 100, mean = 180, sd = 50))
phenogram(x)

x <- round(rnorm(n = 100, mean = 40, sd = 10))
phenogram(x, method = "pentades")

x <- round(rnorm(n = 100, mean = 5, sd = 1))
phenogram(x, method = "months")

# with the sum of each month under the plot
x <- round(rnorm(n = 1000, mean = 5, sd = 1))
phenogram(x, .x.months = sample(1:12, 1000, replace = TRUE), method = "months")

markusdumke/lepidisthelper documentation built on Oct. 21, 2019, 3:54 a.m.