I am working on spatial point pattern analysis using R.
I have two sets of coordinates, both defined inside a 32*20 region. I first convert two data sets to ppp objects:
Tumor_CD8 <- ppp(Tumor_CD8[,1],Tumor_CD8[,2], c(0,32), c(0,20)) Tumor_CD3 <- ppp(Tumor_CD3[,1],Tumor_CD3[,2], c(0,32), c(0,20))
And now I am confused about how to combine them to a multitype point pattern object, in order to perform functions like: Gcross, Kcross and Lcross, etc.