File:Biweight.png
File:Biweight.svg is a vector version of this file. It should be used in place of this PNG file.Category:Superior vector version available
File:Biweight.png → File:Biweight.svg
For more information, see Help:SVG. |
Summary
English: This image is an example of a Tukey biweight function. It was created under R by the following code:
f = function(x, c) {
if (abs(x) < c) {
return(x*((1-(x/c)^2))^2)
}
else {
return(0)
}
}
x= (-1000:1000)/100
y[1] = f(x[1], 3)
for (i in x[-1]) {y = c(y, f(i, 3))}
jpeg(filename = "biweight.jpg", width = 480, height = 480)
plot(x, y, type="l", col=2)
dev.off()
| Description | |||
| Date | |||
| Source | w:Image:Biweight.jpg | ||
| Author | wikipedia:en:user:Deimos 28 | ||
| Permission (Reusing this file) |
|
||
| Other versions | w:Image:Biweight.jpg |