dt0 {ADtools}R Documentation

The density of the student-t distribution

Description

The density of the student-t distribution

Usage

dt0(x, df, log = FALSE)

Arguments

x

vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.

df

degrees of freedom (> 0, maybe non-integer).

log

logical; if TRUE, returns the log value.

Examples

n <- 10
x <- rt0(n, df = 3)
dt0(x, df = 3)


[Package ADtools version 0.5.5 Index]