psplot3d {sisireg}R Documentation

Partial Sum Plot for 2-dimensional coordinates

Description

Plots the partial sum statistic for the 3-dimensional SSR model

Usage

psplot3d(koord, z, mu, text = "Sample")

Arguments

koord

data frame with coordinates.

z

vector of observations.

mu

vector 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 <- rnorm(900) + atan2(x, y)
# Training
df_model <- ssr3d(xy, z, k = 4, fn = 8)
# plot partial sum statistic
psplot3d(xy, z, df_model$mu, 'ssr3d')


[Package sisireg version 1.1.1 Index]