spastr {forestSAS} | R Documentation |
Computing forest spatial structure indices.
Description
Computing forest spatial structure indices.
Usage
spastr(X_df,smark=c("spe","storey","dbh","cw","x","y"),
buffer = FALSE,
xrange=c(0,100),yrange=c(0,100),
xwidth=5,ywidth=5,
buf.xwid = 5, buf.ywid = 5,
exclusion = FALSE)
Arguments
X_df |
Forest community data (object of class "data.frame") |
smark |
Selected marks to compute forest spatial structure indices. |
buffer |
if buffer is TRUE,show the all of data with buffer and core zone. if buffer is FALSE,only show the data in the core zone. |
buf.xwid |
The width of buffer zone in the x coordinates of data points. |
buf.ywid |
The width of buffer zone in the y coordinates of data points. |
xrange |
Range of X axes |
yrange |
Range of Y axes |
xwidth |
Length of buffer zone of X axes |
ywidth |
Length of buffer zone of Y axes |
exclusion |
Wether including the data of the buffer zone, if exclude is TRUE the result return the data remove the data of the buffer zone, and only the data of the core zone;if exclude is FALSE the result return the data with buffer and core zone. |
Details
NULL
Value
NULL
Author(s)
Zongzheng Chai, chaizz@126.com
Examples
library(spatstat)
data(treecom_example)
head(treecom_example)
treecom_spastr<-spastr(X_df=treecom_example,
xrange=c(0,100),yrange=c(0,100),
xwidth=10,ywidth=10,
buf.xwid =10, buf.ywid = 10,
smark=c("spe","storey","dbh","cw","x","y"))
treecom_spastr