intFun.sampleDataFrame: random sampling across space and time for a data frame...

Description Usage Arguments Value Examples

View source: R/intFun.R

Description

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

Usage

1

Arguments

ref

A raster object

Value

A raster object

Examples

1
2
3
4
5
6
7
8
# 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 documentation built on Aug. 28, 2020, 5:08 p.m.