Description Usage Arguments Examples
Phenogram
1 |
.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 |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.