View source: R/8_SmaxN_fish_speed_function.R
| speed.plot | R Documentation |
This function computes and save in the outputs folder a plot showing SmaxN values for two different fish speeds (y and x) and a set of species (shapes)
speed.plot(maxN_speed1, maxN_speed2, color_sp, alpha, size, shape_poses)
maxN_speed1 |
a dataframe from the automat.maxN.setsp() function gathering maxN values for each species of the set and for each pose computed with the first speed |
maxN_speed2 |
a dataframe from the automat.maxN.setsp() function gathering maxN values for each species of the set and for each pose computed with the second speed |
alpha |
a vector containing the values of the two transparencies used to plot the different speed |
size |
a numerical value referring to the size of the points used to plot SmaxN |
color |
a vector containing the names or hexadecimal code of the two colors used to plot the different speed |
shape |
three numerical value referring to the shape of the points used to plot SmaxN for each pose |
a plot with y = SmaxN values with two different colors for the two different speeds, x = species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.