Learn R Programming

sisireg (version 1.1.2)

psplotnd: Partial Sum Plot for the multidimensional coordinates

Description

plots the partial sum statistic for the general n-dimensional SSR-model

Usage

psplotnd(koord, dat, mu, text = "Sample")

Value

No explicit return value: a plot is generated

Arguments

koord

data frame with coordinates.

dat

data frame of observations.

mu

list of discrete regression function.

text

optional: title for the plot.

Author

Dr. Lars Metzner

References

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

Examples

Run this code
# \donttest{
# generate data
set.seed(1234)
x <- rnorm(900)
y <- rnorm(900)
xy <- data.frame(x=x, y=y)
z <-data.frame(z=rnorm(900) + atan2(x, y))
# Training
df_model <- ssrnd(xy, z, k = 4, fn = 8)
# plot partial sum statistic
psplotnd(xy, z, df_model$mu, 'ssr3d')
# }

Run the code above in your browser using DataLab