Giter Club home page Giter Club logo

schoenberg's Introduction

schoenberg

The schoenberg package for R provides ggplot-based graphics and useful functions for GAMs fitted using the mgcv package.

Build status

Build Status Build status codecov

Features

The main features of schoenberg are currently

  • A ggplot2-based replacement for mgcv:::plot.gam(): draw(gam_model).

    Note specialist smoothers (bs %in% c("re","fs","mrf","so")) are not supported, but univariate, factor and continuous by-variable smooths, and bivariate tensor product smooths are supported,

  • Estimatation of derivatives of fitted smoothers: fderiv(gam_model),

  • Estimation of point-wise across-the-function confidence intervals and simultaneous intervals for smooths: confint(gam_model).

Installing schoenberg

schoenberg is under active development and has not yet had its first release to CRAN. The easiest way to install the package is via the install_github() function from package devtools. Make sure you have devtools installed, then run

devtools::install_github("gavinsimpson/schoenberg")

to install the package.

History

schoenberg grew out of an earlier package, tsgam, which was originally intended to be used with GAMs fitted to time series. As I was developing tsgam however it became clear that the package could be used more generally and that the name "tsgam" was no longer appropriate. To avoid breaking blog posts I had written using tsgam I decided to copy the git repo and all the history to a new repo for the package under the name schoenberg.

Why schoenberg?

In naming his greta package, Nick Golding observed the recent phenomena of naming statistical modelling software, such as Stan or Edward, after individuals that played a prominent role in the development of the field. This lead Nick to name his Tensor Flow-based package greta after Grete Hermann.

In the same spirit, schoenberg is named in recognition of the contributions of Grace Wahba, who did pioneering work on the penalised spline models that are at the foundation of the way GAMs are estimated in mgcv. I wanted to name the package grace, to more explicitly recognise Grace's contributions, but unfortunately there was already a package named Grace on CRAN. So I looked elsewhere for inspiration.

Grace Wahba is the IJ Schoenberg-Hilldale Professor of Statistics at the University of Wisconsin-Madison, where she has worked since 1967. The chair is named after Isaac J Schoenberg, a former University Madison-Wisconsin Professor of Mathematics, who in a 1946 paper provided the first mathematical reference to "splines".

The name schoenberg links and recognises two pioneers in the field of splines.

schoenberg's People

Contributors

gavinsimpson avatar

Watchers

Michael Bedward avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.