fit_curvature_max: maximum curvature analysis

View source: R/trans_fit_curvature_max.R

fit_curvature_maxR Documentation

maximum curvature analysis

Description

Fitting a curvature model in a sequence of observations. It extracts the the maximum curvature computed.

Usage

fit_curvature_max()

Value

returns an object of class fit_curvature_max, which inherits from the fit_curvature and dal_transform classes. The object contains a list with the following elements:

  • x: The position in which the maximum curvature is reached.

  • y: The value where the the maximum curvature occurs.

  • yfit: The value of the maximum curvature.

Examples

x <- seq(from=1,to=10,by=0.5)
dat <- data.frame(x = x, value = -log(x), variable = "log")
myfit <- fit_curvature_max()
res <- transform(myfit, dat$value)
head(res)

daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.