getmasd: Get maximum of the absolute standard deviations

View source: R/misc.R

getmasdR Documentation

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)

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.

Value

A vector of maxima of absolute standard deviations.


metagam documentation built on May 31, 2023, 6:43 p.m.