processlinear: Helper function for linear models

Description Usage Arguments Details Value


This function helps process linear models, such as patlak.plot or logan.plot. It finds the optimal fitting point by calling findbestfit and proceeeds to compute the kinetic parameters, that will mostly consist of the intercept and slope of the linear regression, along with their standard errors.


  processlinear(termx, termy, plot = TRUE, ...)



The x and y values of the graph.


Should the result be shown? Defaults to TRUE.


Further parameters for the plot function.


It plot is set to TRUE, the regression will be shown on screen. The data points used to compute the regression are displayed with a filled style, while the ones that have not been used are displayed using open circles.


Returns a list with three fields: kparms, the computed kinetic parameters; stderrors, the standard errors for each parameter as a percentage; fit, the actual fitted object.

Search within the traceRkinetic package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.