opt_spastr {forestSAS}R Documentation

Optimal forest spatial structure indices.

Description

Optimal forest spatial structure indices.

Usage

opt_spastr(X_df,inter=100,pop=0.2,
                 smark=c("spe","storey","dbh","cw","x","y"),
                 xrange=c(0,100),yrange=c(0,100),
                 xwidth=5,ywidth=5,
                 buf.xwid = 5, buf.ywid = 5)

Arguments

X_df

Forest community data (object of class "data.frame")

inter

Inter quanitity.

pop

Cutting intensity.

smark

Selected marks to compute forest spatial structure indices.

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

Details

NULL

Value

NULL

Author(s)

Zongzheng Chai, chaizz@126.com

Examples

library(spatstat)
data(treecom_example)
head(treecom_example)
treecom_opt<-opt_spastr(X_df=treecom_example,inter=5,pop=0.1,
              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_opt

[Package forestSAS version 2.0.4 Index]