Learn R Programming

BayesDecon (version 0.1.4)

B-Spline: The Quadratic B-Spline Distribution

Description

Density function for the normalized quadratic B-Spline distribution.

Usage

dbspline(x, theta, lwr, upr, log = FALSE)

pbspline(x, theta, lwr, upr, lower.tail = TRUE, log.p = FALSE)

Value

dbspline gives the density. The length of the result is determined by the length of x for dbspline.

Arguments

x

A vector of quantiles.

theta

A vector of unnormalized spline parameters.

lwr

A scalar lower bound.

upr

A scalar upper bound.

log

A logical value indication whether a probability p should be given as log(p)