create.status {CTFS} | R Documentation |
Creates the status
variable based on the value of
dbh
in CTFS datasets of a single census.
create.status(census, pasoh = FALSE)
census |
CTFS datafile of a single census which does not
contain status |
pasoh |
logical, FALSE if datafile is not from Pasoh site |
status
indicates whether a tree is alive, dead, or a
recruit for a single census. Trees that were broken below the
point of measurement or shrunk to less than 10 mm are indicated as
alive but broken and alive but too small, respectively. At Pasoh
a different dbh value for alive but broken was used than at the
other sites. dbh
is set to NA if status
does not
equal “A”.
status | dbh | condition | |
“A” | dbh >= 10 mm | alive, dbh measured and value retained | |
“AS” | dbh > 0 & dbh < 10 | alive, shrunk, dbh = NA | |
“AB” | dbh == 0 | alive but broken, do not alter recorded dbh | |
“AB” | dbh == 5 | for Pasoh: alive, but dbh = NA | |
“P” | dbh == -2 | recruit in future census, dbh = NA | |
“D” | dbh == -1 | dead in this and/or past census, dbh=NA | |
NA | dbh == -9 | no information, dbh = NA |
returns a data frame of the same number of rows as the input files
and with all of the columns of input file plus status
Suzanne Lao and Pamela Hall