Displaying 1 result from an estimated 1 matches for "userscatteractionregion".
2011 Jan 04
0
Error in M[, 1] : incorrect number of dimensions when trying to plot hexbin
...r01[1,1]
#list of users
mycon <- dbConnect(MySQL(),
user='root',dbname='test',host='localhost',password='')
listUser <- dbSendQuery(mycon, "select distinct userID from ulogdata")
userList <- fetch(listUser, n= -1)
par(mfrow=c(5,3))
tmp6=rep("UserScatterActionRegion.pdf")
tmp7=paste(tmp6,sep="")
tmp7
#pdf(tmp7)
jpeg(file="UserScatterActionRegion.jpeg")
for (i in 1:20){
x<-subset(user01 ,userID == userList[i,],select=c(X,Y))
x
bin<-hexbin(x$X, x$Y, xbins=100)
part1=rep("Action Regions")
nameFull...