vegandevs/vegan — pull request #39 by jarioksa (2014-09-15 18:49:45+00:00)
Title: Adapt print to permute pkg

This commit adapts `print` of the result to the new **permute** API.

Some functions printed info on `strata` that is now outdated. Some printed only the number of permutations (and perhaps accepted no `strata`). Now all use the same API and can have any restricted permutation. Now we use `howHead()` to show the results.

In most cases we added a `"control"` item to the output from `how(.., control=)` and `print` that. The exceptions are:

* `adonis` uses `howHead()` to add permutation details to the `anova` table heading similarly as `anova.cca.
* `mso` adds `"control"` attribute to the `vario` item.
* `simper` adds `"control"` attribute to the permutations and `summary()` prints it.

This PR solves a part of issue #31.