Usage
pvclust(data, method.hclust="average",
method.dist="correlation", use.cor="pairwise.complete.obs",
nboot=1000, r=seq(.5,1.4,by=.1), store=FALSE, weight=FALSE)parPvclust(cl, data, method.hclust="average",
method.dist="correlation", use.cor="pairwise.complete.obs",
nboot=1000, r=seq(.5,1.4,by=.1), store=FALSE, weight=FALSE,
init.rand=TRUE, seed=NULL)
Arguments
data
numeric data matrix or data frame.
method.hclust
the agglomerative method used in hierarchical clustering. This
should be (an abbreviation of) one of "average", "ward",
"single", "complete", "mcquitty",
"median" or
method.dist
the distance measure to be used. This should be (an
abbreviation of) one of "correlation", "uncentered",
"abscor" or those which are allowed for method
argument in dist function.
use.cor
character string which specifies the method for
computing correlation with data including missing values. This
should be (an abbreviation of) one of "all.obs",
"complete.obs" or "pairwise.complete.obs". S
nboot
the number of bootstrap replications. The default is
1000.
r
numeric vector which specifies the relative sample sizes of
bootstrap replications. For original sample size $n$ and
bootstrap sample size $n'$, this is defined as $r=n'/n$.
store
locical. If store=TRUE, all bootstrap replications
are stored in the output object. The default is FALSE.
cl
snow cluster object which may be generated by
function makeCluster. See snow-startstop
in snow package. weight
logical. If weight=TRUE, resampling is made by
weight vector instead of index vector. Useful for large r
value (r>10). Currently, available only for distance
"correlation" and "abscor"
init.rand
logical. If init.rand=TRUE, random number
generators are initialized at child processes. Random seeds can be
set by seed argument.
seed
integer vector of random seeds. It should have the same
length as cl. If NULL is specified,
1:length(cl) is used as seed vector. The default is NULL.