Skip to content

plotting vignette: smooth maps  #71

Open

Description

@cbeleites

Smoothing of maps can be achieved via a variety of models and easily displayed using latticeExtra::panel.2dsmoother.

library (hyperSpec)
library (latticeExtra)

chondro  <- chondro - spc.fit.poly.below(chondro)
chondro  <- chondro / rowSums(chondro)

plotmap (chondro [,,785], col.regions = alois.palette())
plotmap (chondro [,,785], col.regions = alois.palette(), panel = panel.2dsmoother, args = list (span = 0.05))

Interpolation isn't available as readily, as the interpolation functions do not follow the model - predict paradigm.
=>

  • either wrap interpolation into model + prediction

  • or derive panel.2dsmoother analogue that works with interpolation functions.

  • add smoothing explanation to plotting vignette

  • add interpolation to plotting vignette

  • add smoothing explanation to chondro vignette

Activity

  1. added
    Type: enhancement 🎈
    Status: ready ✔️
    Topic: documentation 📘
    on Apr 14, 2018
  2. added this to the Version 1.0 milestone on Apr 14, 2018
  3. added
    Topic: vignette 📗
    on May 29, 2020
  4. removed
    Topic: documentation 📘
    on Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Note: help wantedStatus: ready ✔️Topic: vignette 📗Type: enhancement 🎈

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions