Displaying 1 result from an estimated 1 matches for "totalhm0".
Did you mean:
total_mg
2008 Sep 18
0
Joint distributions
...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)",ylab="Significant wave height
(m)",region=TRUE,fill=TRUE,at=Ps,labels=c("1yr","10yr","100yr"))
My problem is tha...