Description Usage Arguments Value Author(s) Examples
View source: R/plottest.idturtle.R
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
1 | plottest.idturtle(test)
|
test |
Is the test result of the test.idturtle analysis |
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.
Aitor Valdeon
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.