tests/exp_weights_tests.R

# # Unit tests for Exp weights
#
# #source("./R/exp_weights.R")
#
# # Plots  ----------------
# # generate means
# J <- 2000
# mu <- -abs(rnorm(J))
# beta <- 4
# q <- 0.5
#
# # find weights
# w_1 <- exp_weights(mu, beta, q)
# plot(mu, w_1)

Try the pweight package in your browser

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

pweight documentation built on May 30, 2017, 2:54 a.m.