Displaying 20 results from an estimated 600 matches similar to: "pvclust Error:NA/NaN/Inf in foreign function call (arg 11)"
2006 Jul 10
2
pvclust missing values problem
Hello all,
I posted a question to this list last week and received no response. I am unsure if this means no-one knows the answer or if I posed the question badly. I'm going to assume I posed the question badly and try again. I am new to R so it is quite likely it's a very naive question, however if there is something blindingly obvious that I am missing or if there is another resource I
2010 Jul 20
1
p-values pvclust maximum distance measure
Hi,
I am new to clustering and was wondering why pvclust using "maximum"
as distance measure nearly always results in p-values above 95%.
I wrote an example programme which demonstrates this effect. I
uploaded a PDF showing the results
Here is the code which produces the PDF file:
-------------------------------------------------------------------------------------
s <-
2014 Jul 28
1
Split PVClust plot
Dear All
I'm using PVClust to perform hierarchical clustering, for the output plot I can control most of the graphical I need, however the plot is large and I would like to split it vertically into two panels one above the other. Is there a way to plot only part of a PVClust plot, I tried to convert it to a dendrogram with
result2 = as.dendrogram(result)
however I get the error message
2009 Jul 09
0
Node colors in pvclust
Is there a way to assign color to nodes as with
hclust/as.dendrogram/dendrapply when using pvclust?
The problem is that as.dendrogram isn't working on the pvclust objects.
library(pvclust)
pvc <- pvclust(matrix, nboot=1000)
plot(pvc)
--
View this message in context: http://www.nabble.com/Node-colors-in-pvclust-tp24405329p24405329.html
Sent from the R help mailing list archive at
2011 Mar 05
1
pvclust crashing R on Ubuntu 10.10
Hi all
I am writing to you with a question regarding the pvclust package. And
yes, before the usual people produce their usual
contact-the-package-maintainers line, ye, I tried that but the emails
one can find on the web either bounce or are not responded to. Also,
yes, this error has already been reported as a bug but been shot down
as not reproducible
2010 Aug 09
0
Fwd: RE: pvclust function
You should reply to the list, not just me, and even more because I
cannot really help you!!
My guess (but I don't know this package, and even less this function) is
that pvclust() is expecting a matrix as the first argument. However,
"cluster" is no data, it is a function. Why, I don't know. Take a closer
look at ?pvclust, especially the "usage",
2010 Aug 09
1
(no subject)
Hi there,
I have been trying to use the "pvclust" package but have been having
some difficulties. This is the first time I have used R so I am sure the
mistake I am making is a basic one. The data I have is a distance matrix
and I have been using the command; fit <- pvclust(cluster, nboot=1000,
method.dist="euclidean") to try and perform hierarchical clustering with
2008 Jun 25
0
pvclust:a general and a specific question
I realize questions about packages should go to the package maintainer,
but perhaps I have an old email address (suzuki3 at is.titech.ac.jp)
Also I have both a general, and a specific, question.
1) General question: i've used pvclust before to assess significance of
clusters and got reasonable results. However, on a new data set (see
below) the results seem odd. I wonder if pvclust is a
2010 Aug 10
2
p-values with pvclust
Hi,
if you look at the first image (Image1) you see that there are 2 main
clusters 7 and 8
I wanted to use pvclust to calculate a p-value whether these clusters are
due to chance
or statistically significant. Unfortunately pvclust does not provide a
p-value for the first
brunch (7 and 8).
So I added a row to my matrix which is very different to the rest of the
data to create an additional
2008 Jun 16
0
pvclust distance matrix
Hello,
I am attempting to assign significance levels to a UPGMA cluster analysis as part my doctoral research. The pvclust function works well but doesn't include the similarity index I need (morisita's) as an option for computing a distance matrix. Morisita's is available in vegdist in the VEGAN library but I am having a hard time getting the vegdist function to "direct
2007 Dec 07
1
pvclust warning message
Hi all
I am trying to perform the follwing:
fit<-pvclust(wq, method.hclust="ward", method.dist="euclidean")
but get a strange error message that I just cant figure out.
Has anyone come across this? Any help would be most appricieated
Error in hclust(distance, method = method.hclust) :
NA/NaN/Inf in foreign function call (arg 11)
In addition: Warning message:
NAs
2008 Jul 23
0
pvclust
Hello there,
Here's a question regarding p-values on clusters produced by hierarchical
cluster analysis. A web search led me to the program pvclust to tackle this
problem. But when I run the problem I get strange results. The 'AU'
(approximately unbiased) p-values are very different from the 'BP' values
(ordinary boot-strap) p-values. The AUs commonly are in the 80-100
2011 May 16
1
Matrix manipulation in for loop
Hi all,
I have a problem with getting my code to do what I want!
This is the code I have:
create.means.one.size<-function(nsample,var,nboot){
mat.x<-matrix(0,nrow=nboot,ncol=nsample)
for(i in 1:nboot){
mat.x[i,]<-sample(var,nsample,replace=T)
}
mean.mat<-rep(0,nboot)
for(i in 1:nboot){
mean.mat[i]<-mean(mat.x[i,])
}
sd.mean<-sd(mean.mat)
return(mean.mat)
}
where
2012 Jan 19
1
snow - bootstrapped correlation ranking
I wonder if someone could help me adjusting the following code to parallelized snow code:
#Creating a data set (not needed to be parallel)
n<-100
p<-100
x<-matrix(rnorm(n*p),p)
y<-rnorm(n)
# Bootstrapping
nboot<-1000
alpha<-0.05
rhoboot <- array(0, dim=c(p,nboot))
bootranks <- array(0, dim=c(p,nboot))
bootsamples <- array( floor(runif(n*nboot)*n+1), dim=c(n,nboot))
for
2006 Oct 23
1
Lmer, heteroscedasticity and permutation, need help please
Hi everybody,
I'm trying to analyse a set of data with a non-normal response, 2 fixed
effects and 1 nested random effect with strong heteroscedasticity in the
model.
I planned to use the function lmer : lmer(resp~var1*var2 + (1|rand)) and
then use permutations based on the t-statistic given by lmer to get
p-values.
1/ Is it a correct way to obtain p-values for my variables ? (see below)
2011 Nov 15
0
Bootstrap values for hierarchical tree based on distaance matrix
I would like to get an hierarchical clustering tree with bootstrap values
indicated on the nodes, as in pvclust. The problem is that I have only
distance matrix instead of the raw data, required for pvclust. Is there a
way to get it?
fit1 <- hclust(dist) # an object of class '"dist"
plot(fit1) # dendogram without p values
library(pvclust)
fit2 <- pvclust(raw.data,
2007 Nov 01
1
loops & sampling
Hi,
I'm new to R (and statistics) and my boss has thrown me in the deep-end with the following task:
We want to evaluate the impact that sampling size has on our ability to create a robust model, or evaluate how robust the model is to sample size for the purpose of cross-validation i.e. in our current project we have collected a series of independent data at 250 locations, from which
2018 May 22
0
Bootstrap and average median squared error
Hello,
If you want to bootstrap a statistic, I suggest you use base package boot.
You would need the data in a data.frame, see how you could do it.
library(boot)
bootMedianSE <- function(data, indices){
d <- data[indices, ]
fit <- rq(crp ~ bmi + glucose, tau = 0.5, data = d)
ypred <- predict(fit)
y <- d$crp
median(y - ypred)^2
}
dat <-
2012 Dec 06
1
clustering of binary data
Good morning,
I am analyzing a dataset composed by 364 subjects and 13 binary variables
(0,1 = absence,presence).
I am testing possible association (co-presence) of my variables. To do
this, I was trying with cluster analysis.
My main interest is to check for the significance of the obtained clusters.
First, I tried with the pvclust() function, by using method.hclust="ward"
and
2011 Feb 23
0
parallel bootstrap linear model on multicore mac
People of R(th),
I have been ramming my head against this problem, and I wondered if
anyone could lend a hand. I want to parallelize a bootstrap of a linear
model on my 8-core mac. Below is the process that I want to parallelize
(namely, the m2.ph.rlm.boot<-boot(m2.ph,m2.ph.fun, R = nboot) command).
This is an extension of the bootstrapping linear models example in
Venables and Ripley to