Displaying 1 result from an estimated 1 matches for "xgridsize".
Did you mean:
gridsize
2003 Jul 12
2
help with bivariate density plot question
...ations, two samples from same subject) and I used "kernSur" from library(Genkern) to
get a estimated bivariate density and corresponding plots as follows:
new.data.normal<-data.normal[!is.na(data.normal[,2]),]
x<-new.data.normal[,2]
y<-new.data.normal[,3]
op <- KernSur(x,y, xgridsize=50, ygridsize=50, correlation=0.4968023,
xbandwidth=1, ybandwidth=1)
#3D density plot
persp(op$xvals, op$yvals, op$zden,
theta=30,phi=10,expand=0.5,ltheta=120,
xlab="TECH3661.A",ylab="TECH3661.B",zlab="Prob",col="pink",
,...