# Density curve of a VGGFR model
VGGFR(2,12)
#
a<-ranktes(0.5, 28, "r4", "vg",FALSE, "two", FALSE)
b<-VGGFR(a$Lambda, add = FALSE, lwd = 2, lty = 5, col = "blue", np = 201)
#
# A family of density curves
VGGFR(1,2,col="black")
La<-seq(1,6,0.5);Lg<-seq(0,1,1/12)
for (L1 in La){
c2<-gray(Lg, alpha= 2/6)
for (L2 in seq(1,12,1)){
VGGFR(L1,L2,add=TRUE,col=c2[L2])}}
# Save and use the results
res<-VGGFR(1.5,5.5)
res$kurt-res$oam/res$st.dev
Run the code above in your browser using DataLab