search for: bstick

Displaying 2 results from an estimated 2 matches for "bstick".

Did you mean: stick
2009 Nov 15
1
Problem building package for R 2.10.0 on Mac OS X
...ppet checking examples ... ERROR Running examples in 'rioja-Ex.R' failed. The error most likely occurred in: > ### * chclust > > flush(stderr()); flush(stdout()) > > ### Name: chclust > ### Title: Constrained hierarchical clustering > ### Aliases: chclust plot.chclust bstick.chclust > ### Keywords: cluster hplot > > ### ** Examples > > data(RLGH) > diss <- dist(sqrt(RLGH$spec/100)^2) > clust <- chclust(diss) > bstick.chclust(clust, 10) Loading required package: vegan Warning in library(package, lib.loc = lib.loc, character.only = TRUE, log...
2012 Mar 15
0
PCA R
Hello can anyone help, I have been running the following script to obtain a PCA plot but the end result is rather disappointing as the points are very very small and there are no titles etc geochemdata<-read.csv(file.choose(),header=TRUE) names(geochemdata) library(vegan) bstick<-function(n, tot.var=1) rev(cumsum(tot.var/n:1)/n) geopca<-rda(geochemdata, scale=TRUE) geopca geopca$CA$eig/geopca$tot.chi summary(geopca, scaling=2) apply(scores(geopca, choices=1.6, display= "species"), + 2,function(x) x/sd(x)) plot(geopca$CA$eig, type= "o", col...