pr_fm_subset: Subset formatted phenor data

View source: R/pr_fm_subset.R

pr_fm_subsetR Documentation

Subset formatted phenor data

Description

Function to subset data formatted using the phenor package

Usage

pr_fm_subset(data, selection)

Arguments

data

structured data of type/class 'phenor', generated by the phenor pr_fm_...() functions

selection

vector of columns to select (logical) of the same length as the number of site years in the dataset

Value

Returns a subset of the original data, for cross validation experiments.

Examples


## Not run: 
# subset phenor formatted data
subset <- pr_fm_subset(data = phenocam_DB,
                        selection = 1:10)

## End(Not run)

khufkens/phenor documentation built on Aug. 31, 2023, 1:24 a.m.