fit.plateau2cf: fits a plateau to an object of class 'cf'

View source: R/fit.plateau2cf.R

fit.plateau2cfR Documentation

fits a plateau to an object of class cf

Description

where applicable, a plateau is fitted to the averaged data in cf using a (correlated) chisquare fit.

Usage

fit.plateau2cf(cf, t1, t2, useCov = FALSE)

Arguments

cf

input object of class cf

t1

starting t-value for the fit

t2

final t-value for the fit.

useCov

perform a correlated chisquare fit or not.

Value

Returns a list with elements

plateau

the fitted plateau value

dplateau

its error

Author(s)

Carsten Urbach curbach@gmx.de

See Also

cf

Examples


data(correlatormatrix)
cfnew <- extractSingleCor.cf(correlatormatrix, id=1)
cfnew <- bootstrap.cf(cfnew, boot.R=99, boot.l=1)
X <- fit.plateau2cf(cfnew, t1=13, t2=20)

hadron documentation built on Sept. 9, 2022, 5:06 p.m.