plotsurf {BayesX} | R Documentation |
Visualsises surface estimates obtained with BayesX.
plotsurf(data, x=2, y=3, z=4, mode=1, ticktype="detailed", expand=0.75, d=100, theta=-30, phi=25, ...)
data |
Either the name of a file or a data frame containing the estimation results. |
x |
Defines the x-axis in the plot. Either the name of a variable in |
y |
Defines the y-axis in the plot. Either the name of a variable in |
z |
Defines the z-axis in the plot. Either the name of a variable in |
mode |
|
ticktype, expand, d, theta, phi |
Overwrite the default behaviour of |
... |
Further parameteres that are parsed to the internal call to |
Felix Heinzl, Thomas Kneib
drawmap
,plotautocor
,plotsample
,plotnonp
res <- read.table(system.file("examples/surface_f_x1_x2_pspline.res", package="BayesX"), header=TRUE) plotsurf(res) plotsurf(res, mode=2) plotsurf(res, mode=3) plotsurf(res, x="x1", y="x2", z="pmed") plotsurf(res, ticktype="simple") plotsurf(res, main="3D-Plot", xlab="myx", ylab="myy", zlab="f(myx,myy)")