powered by
cf
where applicable, a plateau is fitted to the averaged data in cf using a (correlated) chisquare fit.
fit.plateau2cf(cf, t1, t2, useCov = FALSE)
input object of class cf
starting t-value for the fit
final t-value for the fit.
perform a correlated chisquare fit or not.
Returns a list with elements
the fitted plateau value
its error
# NOT RUN { 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) # }
Run the code above in your browser using DataLab