m_extract_microclim_input: Extract microclimate input

Description Usage Arguments Value

View source: R/m_extract_microclim_input.R

Description

This function extracts the input data of the micro_global() function of NicheMapR based on our data structure (see example_coordinates.csv in the testthat folder in tests)

Usage

1
m_extract_microclim_input(location = "", loc_data, individual = NULL)

Arguments

location

An R factor containing the location ID of interest

loc_data

A data frame with location IDs, coordinates, elevation, slope, aspect of slope and soil data (type, reflectance, if soilgrids should be computed)

individual

A character string of the individuals ID that is of interest. If == NULL, it is assumed that no individual data is present, so there is only one set of input parameters per location.

Value

Data frame of input data for given location for the micro_global function


sebmader/LizardsAndNiches documentation built on March 11, 2021, 6:08 p.m.