Skip to content
Snippets Groups Projects
Commit 55c9c216 authored by SANTAGOSTINI Pierre's avatar SANTAGOSTINI Pierre
Browse files

Link to function plot3d.function() from package rgl

parent 6e7c04db
No related branches found
No related tags found
No related merge requests found
......@@ -17,12 +17,12 @@ plotmggd <- function(mu, Sigma, beta, xlim = c(mu[1] + c(-10, 10)*Sigma[1, 1]),
#' @param Sigma symmetric, positive-definite square matrix of order 2. The dispersion matrix.
#' @param beta positive real number. The shape of the distribution.
#' @param xlim,ylim x-and y- limits.
#' @param n A one or two element vector giving the number of steps in the x and y grid, passed to \code{\link{plot3d.function}}.
#' @param n A one or two element vector giving the number of steps in the x and y grid, passed to \code{\link[rgl]{plot3d.function}}.
#' @param xvals,yvals The values at which to evaluate \code{x} and \code{y}. If used, \code{xlim} and/or \code{ylim} are ignored.
#' @param xlab,ylab,zlab The axis labels.
#' @param col The color to use for the plot. See \code{\link{plot3d.function}}.
#' @param col The color to use for the plot. See \code{\link[rgl]{plot3d.function}}.
#' @param tol tolerance (relative to largest variance) for numerical lack of positive-definiteness in Sigma, for the estimation of the density. see \code{\link{dmggd}}.
#' @param ... Additional arguments to pass to \code{\link{plot3d.function}}.
#' @param ... Additional arguments to pass to \code{\link[rgl]{plot3d.function}}.
#' @return Returns invisibly the probability density function.
#'
#' @author Pierre Santagostini, Nizar Bouhlel
......
......@@ -18,17 +18,17 @@ plotmggd(mu, Sigma, beta, xlim = c(mu[1] + c(-10, 10)*Sigma[1, 1]),
\item{xlim, ylim}{x-and y- limits.}
\item{n}{A one or two element vector giving the number of steps in the x and y grid, passed to \code{\link{plot3d.function}}.}
\item{n}{A one or two element vector giving the number of steps in the x and y grid, passed to \code{\link[rgl]{plot3d.function}}.}
\item{xvals, yvals}{The values at which to evaluate \code{x} and \code{y}. If used, \code{xlim} and/or \code{ylim} are ignored.}
\item{xlab, ylab, zlab}{The axis labels.}
\item{col}{The color to use for the plot. See \code{\link{plot3d.function}}.}
\item{col}{The color to use for the plot. See \code{\link[rgl]{plot3d.function}}.}
\item{tol}{tolerance (relative to largest variance) for numerical lack of positive-definiteness in Sigma, for the estimation of the density. see \code{\link{dmggd}}.}
\item{...}{Additional arguments to pass to \code{\link{plot3d.function}}.}
\item{...}{Additional arguments to pass to \code{\link[rgl]{plot3d.function}}.}
}
\value{
Returns invisibly the probability density function.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment