Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

intFun.sampleDataFrame

random sampling across space and time for a data frame (FLUXNET and runoff).


Description

This function conducts random sampling with replacement for a single raster layer

Usage

intFun.sampleDataFrame(ref)

Arguments

ref

A raster object

Value

A raster object

Examples

# make some data
data <- seq(1, 29, 1)
data <- c(data, NA)
data <- data.frame(matrix(data, ncol = 10))

randomSample <- intFun.sampleDataFrame(ref = data)
print(data)
print(randomSample)

amber

Automated Model Benchmarking R Package

v1.0.3
GPL-3
Authors
Christian Seiler [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.