accuracy_glm_cross: Accuracy function to evaluate a gml model for training and...

Description Usage Arguments Value

View source: R/model_utils.r

Description

Evaluate according to multiple criteria a gml model for training and test dataset

Usage

1
accuracy_glm_cross(m, abundance, test, depvar_name, abundance_name)

Arguments

m

glm model

abundance

abundances, should be passed in same order as presences and same length

test

dataframe holding test data

depvar_name

name of te dependent variable in the test dataframe

abundance_name

name of te abundance variable in the test dataframe

Value

a vector of named arguments (n=number data, np=numer of presences, )


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.