growthcurve: Draw growth cruve from a fitted and sapmled nim object

Description Usage Arguments Examples

Description

Draw growth cruve from a fitted and sapmled nim object

Usage

1
2
growthcurve(f, ribbon_1_probs = c(0.05, 0.95), ribbon_2_probs = c(0.25,
  0.75), use_plotly = TRUE)

Arguments

f

fitted and sapmled nim object

ribbon_1_probs

probabilites interval of the 1st ribbon

ribbon_2_probs

probabilites interval of the 2nd ribbon

use_plotly

argument specifying whether to use/or not the 'plotly' package for interactive graph

Examples

1
2
3
4
5
6
7
data('precip_max')
extremes(precip_max) = 2:ncol(precip_max)
n <- nim( ~1, data = precip_max)
smp <- sample(n, length = 50)
f <- fit(n, smp, mc.cores = 4)
growthcurve(f)
growthcurve(f, c(.10, .90), c(.40,.60))

hanel/nim documentation built on Sept. 27, 2020, 3:13 a.m.