Learn R Programming

mptools (version 1.0.1)

ths: Extract THS from a folder of RAMAS Metapop .ptc files

Description

Extracts Total Habitat Suitability from RAMAS .ptc file.

Usage

ths(ptc)

Arguments

ptc
A character string containing the path to a directory containing the .ptc files of interest. This should contain no .ptc other than those to be included in the extraction. Order will be taken from the numeric component of filenames.

Value

A numeric vector with length equal to the number of .ptc files in the directory specified by ptc.

See Also

results