Learn R Programming

sisireg (version 1.1.2)

psplot: Partial Sum Plot

Description

Plots the Partial Sums with their quantiles for a given set of observations und the corresponding regression function.

Usage

psplot(dat, mu, text = 'Sample')

Value

No explicit return value: a plot is generated

Arguments

dat

observations.

mu

regression function.

text

title of the chart.

Author

Dr. Lars Metzner

References

Dr. Lars Metzner (2021) Adäquates Maschinelles Lernen. Independently Published.

Examples

Run this code
psplot(sin(seq(-pi, pi, length.out = 200))+rnorm(200),
  sin(seq(-pi, pi, length.out = 200)), text='Test')

Run the code above in your browser using DataLab