Displaying 1 result from an estimated 1 matches for "conslink".
Did you mean:
cofflink
2009 Nov 15
1
Problem building package for R 2.10.0 on Mac OS X
...ind function "bstick"
Execution halted
### End snippet
The function bstick.chclust listed below loads the package vegan which contains bstick.default.
bstick.chclust <- function(n, ng=10, plot=TRUE, ...) {
if (n$method != "coniss")
stop("bstick cannot display conslink results")
require(vegan)
disp <- rev(n$height)
tot.disp <- disp[1]
disp <- abs(diff(disp))
nobj <- length(n$height)
bs <- bstick(nobj, tot.disp)
yR <- range(disp[1:(ng-1)], bs[1:(ng-1)])
if (plot) {
plot(2:ng, disp[1:(ng-1)], type="o",...