Visualizes selected aspects of an experimental design
od_plot(Fx, w, X=NULL, w.pool=c("sum", "0"), w.color="darkblue",
w.size=1, w.pch=16, w.cex=0.8, w.lim=0.01, crit="D",
h=NULL, dd.pool=c("max", "mean"), dd.color="orange",
dd.size=1.5, dd.pch=15, asp = NA, main.lab="",
y.lab="", return.pools=FALSE, echo=TRUE)
If return.pool
is set to TRUE
, the procedure returns the data used to plot the figure. The data can be used to plot a different figure according to the user's needs.
the n
times m
(where m>=2
, m<=n
) matrix containing all candidate regressors (as rows), i.e., n
is the number of candidate design points, and m
is the number of parameters
the vector of non-negative real numbers of length n
representing the design
an n
times k
matrix of coordinates of design points
a vector with components from the set "sum"
, "min"
, "max"
, "mean"
, "median"
, "0"
that determines various "pools" of the design weights along the projections defined by the coordinates provided by X
the color string for plotting the design weight (from the standard list of R colors)
the size of the characters/balls that represent the non-zero design weights
the numerical code of the characters used to plot the non-zero design weights
the size of the text labels representing the magnitudes of the design weights
a threshold fraction of the total design weight to plot the labels
the optimality criterion. Possible values are "D"
, "A"
, "I"
, "C"
a non-zero vector of length m
corresponding to the coefficients of the linear parameter combination of interest. If crit
is not "C"
then h
is ignored. If crit
is "C"
and h=NULL
then h
is assumed to be c(0,...,0,1)
a vector with components from the set "sum"
, "min"
, "max"
, "mean"
, "median"
, "0"
that determines various "pools" of the directional derivatives along the projections defined by the coordinates provided by X
the color string for plotting the directional derivatives (from the standard list of R colors)
the size of the characters that represent the directional derivatives
the numerical code of the character used to plot the directional derivatives
the aspect ration of the axes
the main title of the plot
the label of the y axis
Return the pooled values?
Print the call of the function?
Radoslav Harman, Lenka Filova
This function performs a simple visualization of some aspects of an experimental design. It visualizes (the selected pools of) the design weights and (the selected pools of) the directional derivative. The type of graph depends on the number of columns in X
.
od_pool
, od_print