View source: R/nearestneighbourdistribution.R
nearest.neighbour.distribution | R Documentation |
Nearest neighbor distribution (D curve)
nearest.neighbour.distribution( X, Y, Z, X2 = X, Y2 = Y, Z2 = Z, same = TRUE, psz = 25, main = "Nearest neighbour distribution", file = NULL, return = FALSE )
X |
X coordinates of point pattern 1 |
Y |
Y coordinates of point pattern 1 |
Z |
Z coordinates of point pattern 1 |
X2 |
X coordinates of point pattern 2 |
Y2 |
Y coordinates of point pattern 2 |
Z2 |
Z coordinates of point pattern 2 |
same |
binary, FALSE for cross D curve |
psz |
pointsize for discretization |
main |
Title for graphic |
file |
File name for PNG file. If NULL, plots to standard device. |
return |
Logical. Return histogram? |
histogram of nearest neighbors
p<-read.csv(system.file("extdata","cell.csv",package="bioimagetools")) nearest.neighbour.distribution(p$X,p$Y,p$Z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.