spastr | R Documentation |
Computing forest spatial structure indices.
spastr(X_df,smark=c("spe","storey","dbh","cw","x","y"),
rm.id = NULL,
buffer = FALSE,
xrange=c(0,100),yrange=c(0,100),
xwidth=5,ywidth=5,
buf.xwid = 5, buf.ywid = 5,
exclusion = FALSE)
X_df |
Forest community data (object of class "data.frame") |
smark |
Selected marks to compute forest spatial structure indices. |
rm.id |
Needed removed the specific rows in the point pattern, refer to the id. |
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. |
NULL
NULL
Zongzheng Chai, chaizz@126.com
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.