Learn R Programming

metagam (version 0.4.0)

getmasd: Get maximum of the absolute standard deviations

Description

This code is based on Dr. Gavin Simpson's blog post https://fromthebottomoftheheap.net/2016/12/15/simultaneous-interval-revisited/.

Usage

getmasd(mod, newdat, nsim, term)

Value

A vector of maxima of absolute standard deviations.

Arguments

mod

Object of class "striprawdata", returned from strip_rawdata.

newdat

Grid of values over which to create a simultaneous confidence interval.

nsim

Number of Monte Carlo samples.

term

Character vector of smooth terms.