Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/methods.sigfit.R
This function calculates predictions from the sigfit
models in the scale
of results. Major difference between this function and predict method for nls
models
is that predict.nls
would make predictions in the scale of MFI.
1 2 |
object |
An object of class |
newdata |
Data for which to make predictions. If omitted (default), the predictions
will be made for the standards that were used to fit the model. Otherwise, |
e.fit |
Logical. If |
... |
Currenly ignored. |
This function uses the inverse-sigmoid formula to make predictions from nls
model
in the scale of the result, instead of scale of "MFI".
If provided with an object of class ima
as an argument to newdata
parameter, this function returns an object of the same type, but with the column of
predictions added. Otherwise, it returns a numeric vector of predictions (for
e.fit=FALSE
) or a matrix of predictions and % error values (for
e.fit=TRUE
).
Michal J. Figurski, PhD mfigrs@gmail.com
1 2 3 4 5 6 | ## Not run:
run = read.multiplex("your-path-here")
fit = sigfit(run)
predict(run)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.