dot-speciesByCellLongFormat: Make dataframe of species ID and occupied cells

.speciesByCellLongFormatR Documentation

Make dataframe of species ID and occupied cells

Description

Convert rasters to long format data frames. Optionally reproject rasters first.

Usage

.speciesByCellLongFormat(
  scenario,
  f,
  envGrid,
  nChunks,
  sp.names,
  mc.cores,
  outDir,
  sp.ind,
  cell.ind,
  overwrite = F,
  reprojectToEnv = F,
  verbose = T
)

Note

These long formats are needed before '.cellBySpeciesMatrices' because a matrix of cells (C) by species (S) may not fit into memory.The reason to reproject internally is that it may be inconvenient to store tons of maps in a different projection, so this just handles the reprojection internally


andrepazv/changeRangeR documentation built on May 7, 2022, 3:38 p.m.