fixed_alignment: Calculate alignment correlation for fixed parameters

View source: R/alignment_functions.R

fixed_alignmentR Documentation

Calculate alignment correlation for fixed parameters

Description

Calculate alignment correlation for fixed parameters

Usage

fixed_alignment(
  x,
  align_pars,
  cor_var = "conductivity",
  cor_method = "pearson",
  cast_direction
)

Arguments

x

oce object

align_pars

A list object with alignment parameters for a variable, e.g., list(temperature = -0.5)

cor_var

A vector of variable names that channels being aligned should be compared with (e.g., corr_var = "conductivity")

cor_method

Correlation method, passed to gapctd::channel_correlation().

cast_direction

Cast direction as a character vector ("downcast" or "upcast"). Passed to gapctd::slowdown()

Author(s)

Sean Rohan


sean-rohan-NOAA/gapctd documentation built on March 1, 2025, 9:27 a.m.