predict.se {funfits}R Documentation

Standard errors of predictions

Description

This function is generic and will call the appropriate function to calculate the standard errors for the object class.

Usage

predict.se(object, ...)

Arguments

object A fitted model object of a certain class

Value

A vector of standard errors for the predicted values.

See Also

predict, predict.se.tps, predict.se.krig

Examples

tps(ozone$x,ozone$y) -> fit                 # tps fit
predict.se(fit)                             # std errors of predictions
cbind(seq(87,89,,10),seq(40,42,,10)) -> x   # new x matrix
predict.se(fit,x) -> out                    # std errors of predictions

tps(BD[,1:4],BD$lnya,scale.type="range") -> fit # fitting a DNA strand
# displacement amplification surface to various buffer compositions
predict.se(fit) -> out # std erros of predictions

[Package Contents]