Picket: Creates a "picket fence" of points for illustrating numerical...

View source: R/Picket.R

PicketR Documentation

Creates a "picket fence" of points for illustrating numerical integration

Description

Creates a "picket fence" of points for illustrating numerical integration

Usage

Picket(
  domain,
  h = 0.1,
  method = c("left", "right", "center", "trapezoid", "gauss")
)

Arguments

domain

domain of integration as used in slice_plot(), Integrate(), and the similar mosaicCalc functions

h

number giving the width between pickets. Could also have been called dt or dx, and so on.

method

determines the weights for each element in the picket


ProjectMOSAIC/mosaicCalc documentation built on March 17, 2024, 8:27 p.m.