# Blog Archives

## Lattice-xyplot without Border/Box, with Axes at Bottom & Left Side Only, with Custom Ablines/Grid & Axis-Labelling

August 4, 2011
By

Here's how you do a lattice-xyplot without border/box, with axes at bottom & left side only, with custom ablines/grid & axis-labelling Read more »

## Multiple Comparisons for GLMMs using glmer() & glht()

June 14, 2011
By

...that's an example of how to apply multiple comparisons to a generalised linear mixed model using the function glmer from package lme4 & glht() from package multcomp. By the way you see a nice example for visualizing data from a nested sampli...

## Drawing Grids in R

June 1, 2011
By

Here's an example of how to draw a grid in R and how to fill it.I did use the grid-package and its functions for displaying species cover values at squares of a recording frame...Read more »

## Legendre & Borcard: Nested ANOVA by Permutation

May 30, 2011
By

..here's a very illustrative R-Script example by Legendre & Borcard showing how a Nested ANOVA can be done by permutation.Read more »

## Summarize Data by Several Variables

May 23, 2011
By

Here's an example how to conveniently summarize data with the cast function (package reshape). By the way you see how this could be done "in-conveniently" by hand. You also see how a for-loop works and how a matrix is constructed and fill...

## Bootstrap Confidence Intervals for Diversity Indices

April 30, 2011
By

Here's the bootstrap refinement of the normal asymptotic interval (Mills and Zandvakili, 1997; Dixon et al., 1987; Efron and Tibshirani, 1997) - where Diversity (div, g) is the Simpson Index calculated from the observed sample, k is the number boot...

## Fit Sigmoid Curve with Confidence Intervals

April 28, 2011
By

Sigmoid curve fitting for transpiration measurements from porometer at different water potentials (pressure):Read more »

April 26, 2011
By

Before you use PERMANOVA (R-vegan function adonis) you should read the user notes for the original program by the author (Marti J. Anderson) who first came up with this method. An important assumtption for PERMANOVA is same "multivariate spread&qu...

## Permutation Test with Stratified Data and Repeated Measurements

April 21, 2011
By

This is an example for a permutation test on stratified samples with repeated measurements. Samples are interdependent firstly because they come from several sites and secondly because the sampling was repeated a second time. That is samples of the sam...

## Bootsrap Confidence Intervals, Stratified Bootstrap

April 20, 2011
By

Here's a worked example for comparing group averages with bootstrap confidence intervals and allowing for different subsample sizes by calling the strata argument within the bootstrap function.The data is set up analogous to an before-after impac...