rpkb {circlus}R Documentation

Random Sampling from PKB Distributions using ACG or Projected Saw Distributions

Description

Generates a random sample from PKB distributions.

Usage

rpkb(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

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

[Package circlus version 0.0.2 Index]