Nothing

```
hard.rejection <- function(distances, p, beta = 0.9, ...)
{
d0 <- qchisq(beta, p) * median(distances) / qchisq(0.5, p)
weights <- double(length(distances))
weights[distances <= d0] <- 1.0
weights
}
```

**Any scripts or data that you put into this service are public.**

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.