David Garcia-Callejas' functions

assign.tl.category | Assign trophic level category |

AssignTrophicLevel | Assign trophic levels and abundances to a set of species |

cbPalette | color-blind palette |

ColorVectors | Vectors of colors for figures |

facetAdjust | Adjust x-axis on facet_wrap |

GenerateLabelDf | Generate labels for Tukey test analyses |

GeneratePerturbation | GeneratePerturbation |

GenerateProbNumbers | Sample positions from a given probability density... |

GenerateSignMatrix | Generate sign matrix |

GetCommunitySize | Get the size of a community in each cell of a grid |

GetIndex | dplyr equivalent to which |

GetInteractionsProb | Return probabilities of occurrence of different interaction... |

grid_arrange_shared_legend | draw several plots with only one common legend |

ImpactMatrix | Calculate impact matrices from abundance data |

InteractionFrequency | Interaction Frequency of a pairwise interaction |

InteractionStrength | Interaction strength of a pairwise interaction |

LinMap | Remap a vector to a determined range |

MaxLinks | Maximum number of links for every interaction type |

Mode | Function for calculating the mode of a vector |

multiplot | Draw multiple ggplot objects |

PairwiseCorrelation | Computes the correlation of a pairwise interaction strength... |

palette.values | Colors I usually use |

PlantLogistic | Logistic function for plant responses |

plfunc.2 | Power law sampling |

plot_crayons | Illustration of crayon colors |

PotentialLinks | Calculate the number of potential links on a given community |

scale_colour_Publication | Auxiliary color scale for theme_Publication |

scale_fill_Publication | Auxiliary fill scale for theme_Publication |

theme_Publication | Theme for publication |

WithinTypeProb | Probabilities of occurrence of interaction types across... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.