search for: rhelpdata

Displaying 1 result from an estimated 1 matches for "rhelpdata".

Did you mean: helpdata
2008 Sep 18
0
Joint distributions
...heights (Hs) versus peak periods (Tp) showing the joint probabilities of 1-year wave heights~peak periods, 10-year wave heights~peak periods and 100-year wave heights~peak periods. I've used the contourplot() function in the plot I've added in this mail. You can use the added dataset "Rhelpdata.txt" to reproduce a similar plot: D0=read.table("Rhelpdata.txt",header=TRUE) library(lattice) library(MASS) x=D0$totaltp y=D0$totalhm0 p1=1/(365*4) Ps=c(p1,p1/10,p1/100) contourplot(z~x+y,data=con2tr(kde2d(x,y,n=50)),xlim=c(0,32),ylim=c(0,16),xlab="Peak period (sec)",y...