plottest.idturtle: Analysis of the test

Description Usage Arguments Value Author(s) Examples

View source: R/plottest.idturtle.R

Description

Analyze the number of measurements sets of other turtles and the number of these other turtles in the database better classified than the worst classified measurements set of the tested turtle. Also create automatically these two barplots

Usage

1

Arguments

test

Is the test result of the test.idturtle analysis

Value

The function return a dataframe, wich also is written in the hard disc, and plots as percentages the number measures and the number of turtles best classified that the worst classified measure of the tested turtle.

Author(s)

Aitor Valdeon

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Charge example data
data(data.comp, data.ref)
# Reduce target turtles to make faster the example execution
data.comp<-data.comp[1:3,]
data.ref<-data.ref[order(data.ref[,c("ID")]),]
data.ref<-data.ref[1:200,]
# Note that date column in our data is named in Spanish (Fecha)
identity<-turtle.idturtle(data.comp,data.ref,date="Fecha")
# Execute the test
test<-test.idturtle(data.comp,data.ref, date="Fecha")
# Plot
plot.test<-plottest.idturtle(test)

IDTurtle documentation built on May 30, 2017, 7:39 a.m.