powered by
Get the density of a set of samples from a t distribution
dT(x, mu, Sigma = NULL, A = NULL, df = 1, LOG = TRUE)
matrix, when x is a numeric vector, it will be converted to a matrix with 1 column!
numeric, mean vector.
matrix, covariance matrix, one of Sigma and A should be non-NULL.
matrix, the Cholesky decomposition of Sigma, an upper triangular matrix, one of Sigma and A should be non-NULL.
numeric, degrees of freedom.
logical, return log density of LOG=TRUE, default TRUE.
A numeric vector, the probability densities.
rT
# NOT RUN { plot( dT(x=seq(-5,5,length.out = 1000),mu = 0,Sigma = 1,LOG = FALSE) ,type = "l" ) # }
Run the code above in your browser using DataLab