-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvm_c_split.Rd
27 lines (26 loc) · 1.03 KB
/
vm_c_split.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vm_c_split.R
\name{vm_c_split}
\alias{vm_c_split}
\title{Splitting index (vector data)}
\usage{
vm_c_split(landscape, class_col)
}
\arguments{
\item{landscape}{the input landscape image,}
\item{class_col}{the name of the class column of the input landscape}
}
\value{
the returned calculated indices are in column "value",
and this function returns also some important information such as level, class number and metric name.
Moreover, the "id" column, although it is just NA here at class level. we need it because the output struture of metrics
at class level should correspond to patch level one by one, and then it is more convinient to combine metric values at different levels and compare them.
}
\description{
This function allows you to calculate the relation between square of landscape area
and sum of square of all patch area of class i in a categorical landscape in vector data format
it is a aggregation metric.
}
\examples{
vm_c_split(vector_landscape, "class")
}