psplotnd {sisireg}R Documentation

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")

Arguments

koord

data frame with coordinates.

dat

data frame of observations.

mu

list of discrete regression function.

text

optional: title for the plot.

Value

No explicit return value: a plot is generated

Author(s)

Dr. Lars Metzner

References

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

Examples


# 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')


[Package sisireg version 1.1.1 Index]