gen_tmseq: Generate a random temperature sequence

Description Usage Arguments Value Examples

View source: R/gen_tmseq.R

Description

Generates a random temperature sequence of a given length between two values and considering sampling error

Usage

1
gen_tmseq(Tmin, Tmax, Nt, Error)

Arguments

Tmin

Mimumum temperature value

Tmax

Maximum temperature value

Nt

Number of samples to be taken

Error

Amount of error to be introduced

Value

A vector of temperature values

Examples

1
2
3
example <- gen_tmseq(Tmin = 25, Tmax = 30, Nt = 30, Error = 1)

plot(example, type = "l", lwd = 1.25, col = "red")

ggcostoya/tpcurves2 documentation built on Jan. 1, 2021, 2:19 a.m.