rpkbd {circlus}R Documentation

Random Sampling from PKBD Distributions using ACG or Projected Saw Distributions

Description

Generates a random sample from PKBD distributions.

Usage

rpkbd(n, rho, mu, method = "ACG")

Arguments

n

The number of random draws.

rho

A numeric giving the concentration parameter.

mu

A numeric vector giving the mean direction parameter.

method

A character indicating the method to use, "ACG" for angular central Gaussian distribution envelopes and "Saw" for the use of projected Saw distributions.

Value

A matrix with the generated values.

Examples

rpkbd(10, 0.95, c(1, 0, 0))

[Package circlus version 0.0.1 Index]