Displaying 1 result from an estimated 1 matches for "bathlat".
Did you mean:
badhat
2012 Mar 27
0
sampling matrix 1 conditional on values in matrix 2
...le temperatures from locations (from 'syntemp') that have a certain bottom depth (from 'bath'), e.g. between -200 and -100m.
#bathymetry matrix with 0.1 x 0.1 degree resolution
x<-seq(-250,250,by=1)
x1<-sample(x,441)
bath<-matrix(x1,nrow=21)
bathlong<-seq(149,151,by=.1)
bathlat<-seq(-37,-35,by=.1)
colnames(bath)<-bathlat
rownames(bath)<-bathlong
#temperature matrices with 0.25 x 0.25 degree resolution
##temp at 10m
y<-seq(15,20,by=.01)
y1<-sample(y,81)
temp10<-matrix(y1,nrow=9)
templong<-seq(149,151,by=.25)
templat<-seq(-37,-35,by=.25)
colnames(te...