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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/fit.plateau2cf.R

Description

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

Usage

1
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

1
2
3
4
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 Jan. 13, 2021, 8 a.m.