File:Biweight.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Biweight.png(480 × 480 pixels, file size: 1 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

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)
This work has been released into the public domain by its author, Deimos 28, at the English Wikipedia project. This applies worldwide.

In case this is not legally possible:
Deimos 28 grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Other versions w:Image:Biweight.jpg

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:27, 26 October 2006Thumbnail for version as of 20:27, 26 October 2006480 × 480 (1 KB)Helix84 (talk | contribs)== Summary == {{en|This image is an example of a Tukey biweight function. It was created under R by the following code:}} <code> f = function(x, c) { if (abs(x) < c) { return(x*((1-(x/c)^2))^2) } else { return(0) } } x= (

There are no pages that use this file.