powered by
multivariate-Normal probability density function
mvnpdf(x, mean, varcovM, Log = TRUE)
p x n data matrix with n the number of observations and p the number of dimensions
mean vector or list of mean vectors (either a vector, a matrix or a list)
variance-covariance matrix or list of variance-covariance matrices (either a matrix or a list)
logical flag for returning the log of the probability density function. Defaults is TRUE.
TRUE
Boris P. Hejblum
mvnpdf, mmvnpdfC
mvnpdf
mmvnpdfC
mvnpdf(x=matrix(1.96), mean=0, varcovM=diag(1), Log=FALSE) dnorm(1.96) mvnpdf(x=matrix(rep(1.96,2), nrow=2, ncol=1), mean=c(0, 0), varcovM=diag(2), Log=FALSE )
Run the code above in your browser using DataLab