Image:Biweight.svg

From Wikipedia, the free encyclopedia

Biweight.svg (SVG file, nominally 649 × 589 pixels, file size: 50 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

based on Image:Biweight.png by wikipedia:en:user:Deimos 28

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
sapply(x, f, c=3)
library(Cairo)
CairoSVG(file='biweight.svg')
plot(x, y, type="l", col=2)
dev.off()
Public domain This image has been (or is hereby) released into the public domain by its author, Deimos 28 at the 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.

File history

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

Date/TimeDimensionsUserComment
current02:57, 18 November 2007649×589 (50 KB)Eug (based on [Image:Biweight.png] by wikipedia:en:user:Deimos 28 This image is an example of a Tukey biweight function. It was created under R by the following code: <pre> f = function(x, c) { if (abs(x) < c) { return(x*((1-(x/c)^2))^2) } )
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):