touches | R Documentation |
Check if quadrat pairs touch each other
touches(q1, q2, corner = FALSE)
q1 |
quadrat codes, having length of one, or equal length with q2. |
q2 |
quadrat codes, having length of one, or equal length with q1. |
corner |
if TRUE, quadrats touch only at their corners also treated as touched. |
Returns TRUE if the two plots touch each other and FALSE if do not.
q1 <- c("A1a2", "A1a2", "A1a1")
q2 <- c("A1a4", "B1a2", "A1a3")
touches(q1, q2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.