powered by
General diagnostics function. This function allows to visualize the surface to be maximize at around a particular point.
# S3 method for ergmito plot( x, y = NULL, domain = NULL, plot. = TRUE, par_args = list(), image_args = list(), breaks = 20L, extension = 4L, params_labs = stats::setNames(names(coef(x)), names(coef(x))), ... )
A list of length choose(length(object$coef), 2) (all possible combinations of pairs of parameters), each with the following elements:
choose(length(object$coef), 2)
z A matrix
z
z A vector
y A vector
y
xlab A string. Name of the ERGM parameter in the x-axis.
xlab
ylab A string. Name of the ERGM parameter in the y-axis.
ylab
The list is returned invisible.
An object of class ergmito.
Ignored.
A list.
Logical. When TRUE (default), the function will call graphics::image and plot all possible combination of parameters.
TRUE
Further arguments to be passed to graphics::par
Further arguments to be passed to graphics::image
Integer scalar. Number of splits per dimension.
Numeric. Range value of the function.
Named vector. Alternative labels for the parameters. It should be in the form of c("orignial name" = "new name").
c("orignial name" = "new name")
It calculates the surface coordinates for each pair of parameters included in the ERGMito.
The ergmito function.
set.seed(12) x <- rbernoulli(c(4, 4, 5)) ans <- ergmito(x ~ edges + balance) plot(ans)
Run the code above in your browser using DataLab