R/rt_scaled.R

Defines functions rt_scaled

Documented in rt_scaled

## File Name: rt_scaled.R
## File Version: 0.04

rt_scaled <- function(n, location=0, shape=1, df=Inf)
{
    x <- stats::rt( n, df=df, ncp=0 )
    x <- location + shape * x
    return(x)
}

Try the mdmb package in your browser

Any scripts or data that you put into this service are public.

mdmb documentation built on March 7, 2023, 6:58 p.m.