fork download
  1. library(SuppDists)
  2. jdist<-list(gamma=-0.7, delta=0.8, xi=26, lambda=1.4, type="SU")
  3. xvals<-seq(10,60,by=1)
  4. yvals<-dJohnson(xvals,jdist)
  5. #plot(xvals,yvals,col="blue",type="l")
  6.  
  7. #this is some trial observation - say we see an observation of "40" and give it a weighting of one-third
  8. observation<-40
  9. observationweight<-1/3
  10.  
  11. #your code here - modifies jdist for example
  12. jdist<-list(gamma=-0.6, delta=0.7, xi=27, lambda=1.5, type="SU")
  13. #
  14.  
  15. xvals<-seq(10,60,by=1)
  16. yvals<-dJohnson(xvals,jdist)
  17. #lines(xvals,yvals,col="red")
Success #stdin #stdout 0.34s 24096KB
stdin
Standard input is empty
stdout
Standard output is empty