fitNormal: Fit a normal function to a set of values at given positions.

View source: R/normalFit.R

fitNormalR Documentation

Fit a normal function to a set of values at given positions.

Description

?

Usage

fitNormal(values, pos, output = "mu")

Arguments

values

A numeric vector of data values.

pos

A numeric vector with N data positions.

output

The kind of output wanted (see Value).

Details

?

Value

By default, this function only returns the location of the peak of the normal function fitted to the data, but there are other options: - mu: the mean - sigma: the standard deviation - offset: and offset added to the function - scale: a largely irrelevant scale parameter - par: all four parameters as a named, numeric vector

Examples

?

thartbm/SMCL documentation built on Oct. 23, 2022, 5:17 a.m.