Last data update: 2014.03.03

R: Generate Basic Plot for ENMevaluate Output
eval.plot R Documentation

Generate Basic Plot for ENMevaluate Output

Description

This function can be used to generate a basic plot of evaluation metrics generated by a call of ENMevaluate.

Usage

eval.plot(results, value = "delta.AICc", variance = NULL, legend = TRUE, 
	legend.position = "topright")

Arguments

results

A data.frame of results from ENMevaluate.

value

Character string of the column of results to use for plotting.

variance

Character string of the column of results to be used for error bars.

legend

logical; If TRUE (default), includes legend in plot with fcs.

legend.position

Character string for the placement of the legend.

Author(s)

Robert Muscarella <bob.muscarella@gmail.com>

Examples


data(enmeval_results)

par(mfrow=c(2,2))
eval.plot(enmeval_results@results, legend.position="topright")
eval.plot(enmeval_results@results, "Mean.AUC", )
eval.plot(enmeval_results@results, "Mean.AUC.DIFF", variance="Var.AUC.DIFF")
eval.plot(enmeval_results@results, "Mean.ORmin")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(ENMeval)
Loading required package: dismo
Loading required package: raster
Loading required package: sp
Loading required package: rJava
Loading required package: parallel
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ENMeval/eval.plot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: eval.plot 
> ### Title: Generate Basic Plot for ENMevaluate Output
> ### Aliases: eval.plot
> 
> ### ** Examples
> 
> 
> data(enmeval_results)
> 
> par(mfrow=c(2,2))
> eval.plot(enmeval_results@results, legend.position="topright")
> eval.plot(enmeval_results@results, "Mean.AUC", )
> eval.plot(enmeval_results@results, "Mean.AUC.DIFF", variance="Var.AUC.DIFF")
> eval.plot(enmeval_results@results, "Mean.ORmin")
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>