get_patterns: Get EOFs and PCs from observations

View source: R/get_patterns.R

get_patternsR Documentation

Get EOFs and PCs from observations

Description

Get EOFs and PCs from observations

Usage

get_patterns(
  dat,
  k = 4,
  scale = FALSE,
  rotate = FALSE,
  monthly = FALSE,
  weight = TRUE
)

Arguments

dat

A 'stars' object containing spatial and temporal dimensions.

k

The number of PC/EOF modes to retain.

Value

A 'patterns' object containing a tibble of PC amplitudes, a 'stars' object with EOF spatial patterns, and a 'stars' object with the mean and (optionally) standard deviation fields used.


nick-gauthier/tidyEOF documentation built on July 21, 2023, 8:25 a.m.