Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: smoother

Macro: supsmo
Description: calculates the super smoother

Usage: sm=supsmo(xy)
Input:
xy n x 2, the data. In the first column the independent, in the second column the dependent variable.
Output:
sm n x 2 matrix, the first column is the independent variable xy[,1] and the second column contains the fitted values.

Example:
library("smoother") 
library("plot")
xy = read("motcyc")           
sm=supsmo(xy)
sm = setmask(sm,"line","red")
plot(xy, sm) 
Result:
plot of super smoother and the original data    

Library: smoother

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Fabian Noetzel 991208
(C) MD*TECH Method and Data Technologies, 17.8.2000