Description Usage Arguments Value See Also Examples

This function provides an interface to Locfit, in the syntax of
(a now old version of) the S-Plus `density`

function. This can reproduce
`density`

results, but allows additional
`locfit.raw`

arguments, such as the degree of fit, to be given.

It also works in double precision, whereas `density`

only works
in single precision.

1 2 3 4 |

`x` |
numeric vector of observations whose density is to be estimated. |

`n` |
number of evaluation points.
Equivalent to the |

`window` |
Window type to use for estimation.
Equivalent to the |

`width` |
Window width. Following |

`from` |
Lower limit for estimation domain. |

`to` |
Upper limit for estimation domain. |

`cut` |
Controls default expansion of the domain. |

`ev` |
Locfit evaluation structure – default |

`deg` |
Fitting degree – default 0 for kernel estimation. |

`family` |
Fitting family – default is |

`link` |
Link function – default is the |

`...` |
Additional arguments to |

A list with components `x`

(evaluation points) and `y`

(estimated density).

1 2 3 4 |

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.