Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PD

Index

Functions

dexp

  • dexp(x: number, rate: number): number
  • Parameters

    • x: number
    • rate: number

    Returns number

dnorm

  • dnorm(x: number, mean: number, sd: number): number[]
  • Parameters

    • x: number
    • mean: number
    • sd: number

    Returns number[]

dpois

  • dpois(x: number, lambda: number): number[]
  • Parameters

    • x: number
    • lambda: number

    Returns number[]

dunif

  • dunif(x: number, min: number, max: number): number
  • Parameters

    • x: number
    • min: number
    • max: number

    Returns number

prng

  • prng(len: number): number
  • Parameters

    • len: number

    Returns number

rbeta

  • rbeta(n: number, alpha: number, beta: number, loc: number): number[]
  • Parameters

    • n: number
    • alpha: number
    • beta: number
    • loc: number

    Returns number[]

rbinom

  • rbinom(n: number, size: number, p: number): number[]
  • Parameters

    • n: number
    • size: number
    • p: number

    Returns number[]

rcauchy

  • rcauchy(n: number, loc: number, scale: number): number[]
  • Parameters

    • n: number
    • loc: number
    • scale: number

    Returns number[]

rchisq

  • rchisq(n: number, df: number, ncp: number): number[]
  • Parameters

    • n: number
    • df: number
    • ncp: number

    Returns number[]

rexp

  • rexp(n: number, rate: number): number[]
  • Parameters

    • n: number
    • rate: number

    Returns number[]

rf

  • rf(n: number, df1: number, df2: number): number[]
  • Parameters

    • n: number
    • df1: number
    • df2: number

    Returns number[]

rfml

  • rfml(n: number, loc: number, p: number, cap: number, trace: any): number[]
  • Parameters

    • n: number
    • loc: number
    • p: number
    • cap: number
    • trace: any

    Returns number[]

rgamma

  • rgamma(n: number, alpha: number, rate: number): number[]
  • Parameters

    • n: number
    • alpha: number
    • rate: number

    Returns number[]

rint

  • rint(n: number, min: number, max: number, inclusive: number): number[]
  • Parameters

    • n: number
    • min: number
    • max: number
    • inclusive: number

    Returns number[]

rlaplace

  • rlaplace(n: number, loc: number, scale: number): number[]
  • Parameters

    • n: number
    • loc: number
    • scale: number

    Returns number[]

rlnorm

  • rlnorm(n: number, meanlog: number, sdlog: number): number[]
  • Parameters

    • n: number
    • meanlog: number
    • sdlog: number

    Returns number[]

rnbinom

  • rnbinom(n: number, size: number, p: number, mu: number): number[]
  • Parameters

    • n: number
    • size: number
    • p: number
    • mu: number

    Returns number[]

rnorm

  • rnorm(n: number, mean: number, sd: number): number[]
  • Parameters

    • n: number
    • mean: number
    • sd: number

    Returns number[]

rpois

  • rpois(n: number, lambda: number): number[]
  • Parameters

    • n: number
    • lambda: number

    Returns number[]

ruf

  • ruf(n: number): number[]
  • Parameters

    • n: number

    Returns number[]

runif

  • runif(n: number, min: number, max: number): number[]
  • Parameters

    • n: number
    • min: number
    • max: number

    Returns number[]

rword

  • rword(len: number, alphabet: string): string
  • Parameters

    • len: number
    • alphabet: string

    Returns string

sample

  • sample(collection: any[], n: number, replace: boolean, ratios: number): any[]
  • Parameters

    • collection: any[]
    • n: number
    • replace: boolean
    • ratios: number

    Returns any[]

visualize

  • visualize(data: any[], domID: string, options: any): any
  • Parameters

    • data: any[]
    • domID: string
    • options: any

    Returns any