dot-transform_model.as.col: Transform predictions data.frame from long to wide with...

.transform_model.as.colR Documentation

Transform predictions data.frame from long to wide with models as columns

Description

This function is used internally in get_predictions to ensure back-compatibility with former output of get_predictions (i.e. for biomod2 version < 4.2-2). It transform a long data.frame into a wide data.frame with each column corresponding to a single model.

Note that the function is intended for internal use but have been made available for compatibility with ecospat

Usage

.transform_model.as.col(df)

Arguments

df

a long data.frame, generally a standard output of get_predictions

Value

a wide data.frame

Author(s)

Remi Patin


biomod2 documentation built on June 22, 2024, 10:56 a.m.