psplotnd | R Documentation |
plots the partial sum statistic for the general n-dimensional SSR-model
psplotnd(koord, dat, mu, text = "Sample")
koord |
data frame with coordinates. |
dat |
data frame of observations. |
mu |
list of discrete regression function. |
text |
optional: title for the plot. |
No explicit return value: a plot is generated
Dr. Lars Metzner
Dr. Lars Metzner (2021) Adäquates Maschinelles Lernen. Independently Published.
# 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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.