Skip to contents

Density, distribution function, and random generation for the circular normal distribution with mean and kappa.

Usage

rvm(n, mean, kappa)

dvm(theta, mean, kappa)

pvm(theta, mean, kappa)

Arguments

n

number of observations in degrees

mean

mean in degrees

kappa

concentration parameter

theta

angular value in degrees

Value

numeric vector.

Examples

x <- rvm(100, mean = 90, k = 100)
dvm(x, mean = 90, k = 100)
#>   [1] 1.74077034 0.75999878 3.85348157 3.60524173 1.98293986 2.65021967
#>   [7] 3.34413502 1.79598739 3.72426417 2.45421493 1.33298842 2.72918673
#>  [13] 3.20222500 3.61806809 3.78599227 3.63680907 3.98431544 2.02407636
#>  [19] 3.95228098 3.39548753 0.05638885 1.89901231 3.91348034 3.92271528
#>  [25] 3.96131402 3.97960307 3.92574770 3.98036188 3.81359435 3.93319843
#>  [31] 2.69892764 3.98378325 3.81429038 3.58876126 3.97325078 1.38966263
#>  [37] 3.22499675 3.31079614 0.89474149 2.23115477 3.34116536 2.61410886
#>  [43] 2.76095135 3.97783348 3.92251127 3.12353112 0.14876005 3.89439210
#>  [49] 3.75075447 2.40733840 3.01108656 3.81552158 3.02130761 2.32910820
#>  [55] 2.59979898 3.38789416 3.32200102 3.98225389 3.31454099 3.57830444
#>  [61] 2.04928306 3.95303496 3.84018521 2.99244038 3.26152171 3.37128593
#>  [67] 2.45405780 0.89542114 3.39518182 1.59337202 2.40221529 3.58547076
#>  [73] 3.66388437 1.19529141 3.40213510 1.57914971 2.96482039 1.38982162
#>  [79] 0.43715110 3.01701291 2.27020311 2.68717997 3.02538161 3.94083210
#>  [85] 3.79249841 2.18095946 3.58986640 3.69464242 0.44951566 1.95991945
#>  [91] 3.41519222 0.57341996 0.40490298 3.40373623 2.45420333 1.89958200
#>  [97] 3.75623348 3.83239726 2.33576168 1.72619546