Displaying 20 results from an estimated 300 matches similar to: "Simper analysis with Morisita-Horn"
2018 Oct 05
2
Seg fault stats::runmed
Dear all,
I just found this issue:
dd1 = c(rep(NaN,82), rep(-1, 144), rep(1, 74))
xx = runmed(dd1, 21)
-> R crashes reproducibly in R 3.4.3, R3.4.4 (Ubuntu 14.04/Ubuntu 16.04)
With GDB:
Program received signal SIGSEGV, Segmentation fault.
swap (l=53, r=86, window=window at entry=0xc59308,
outlist=outlist at entry=0x12ea2e8, nrlist=nrlist at entry=0x114fdd8,
print_level=print_level at
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
2010 Feb 11
1
Code find exact distribution for runs test?
I've been attempting to understand the one-sample run test for
randomness. I've found run.test{tseries} and run.test{lawstat}. Both
use a large sample approximation for distribution of the total number
of runs in a sample of n1 observations of one type and n2 observations
of another type.
I've been unable to find R code to generate the exact distribution and
would like to see how
2018 Oct 05
0
Seg fault stats::runmed
>>>>> Hilmar Berger
>>>>> on Fri, 5 Oct 2018 10:17:49 +0200 writes:
> Dear all, I just found this issue:
> I just found this issue:
> dd1 = c(rep(NaN,82), rep(-1, 144), rep(1, 74))
> xx = runmed(dd1, 21)
>> R crashes reproducibly in R 3.4.3, R3.4.4 (Ubuntu 14.04/Ubuntu 16.04)
and also in the latest development version
2011 Feb 17
1
cv.glmnet errors
Hi,
I am trying to do multinomial regression using the glmnet package, but the
following gives me an error (for no reason apparent to me):
library(glmnet)
cv.glmnet(x=matrix(c(1,2,3,4,5,6,1,2,3,4,5,6),
nrow=6),y=as.factor(c(1,2,1,2,3,3)),family='multinomial',alpha=0.5,
nfolds=2)
The error i get is:
Error in if (outlist$msg != "Unknown error") return(outlist) :
argument is of
2010 Jun 02
2
glmnet strange error message
Hello fellow R users,
I have been getting a strange error message when using the cv.glmnet
function in the glmnet package. I am attempting to fit a multinomial
regression using the lasso. covars is a matrix with 80 rows and roughly 4000
columns, all the covariates are binary. resp is an eight level factor. I can
fit the model with no errors but when I try to cross-validate after about 30
seconds
2012 Feb 27
1
How to incorporate interaction terms in MRM function of ecodist library?
Hi,
I'm interested in incorporating some interaction terms between my
explanatory variables (distance matrices in this case) when I'm using the
function MRM of the package ecodist. The function is doing a multiple
regression on distance matrices. I can get the function to work perfectly on
my explanatory matrices by adding a (+) sign as known. However, when I try
to use the (*) sign or
2011 Dec 03
1
partial mantel tests in ecodist with intential NA values.
I would like to perform partial mantel tests on only within group values, with "between group" values assigned to NA.
This is possible in package ncf partial.mantel.test, however this sues a different permutation to that used in ecodist.ecodist will not accept data with NA values, returning a "matrix is not square error.
is it possible to perform this test in ecodist?
many thanks
2008 Jan 25
1
increasing speed for permutations of glm
Dear R Programmers,
I am trying to run a Poisson regression on all pairs of variables in a data
set and
obtain the permutation distribution. The number of pairs is around 100000.
It seems my code will take weeks to run, unless I try something else.
Could you give me any suggestions on how to improve the speed of the
code below, or any general suggestions on how I may accomplish this task.
Thanks
2009 May 20
1
Comparing spatial distributions - permutation test implementation
Hello everyone,
I am looking at the joint spatial distribution of 2 kinds of organisms
(estimated on a grid of points) and want to test for significant
association or dissociation.
My first question is: do you know a nice technique to do that,
considering that I have a limited number of points (36) but that they
are repeated (4 times)? I did GLMs to test for correlations between
the
2008 Jun 15
1
randomForest, 'No forest component...' error while calling Predict()
Dear R-users,
While making a prediction using the randomForest function (package
randomForest) I'm getting the following error message:
"Error in predict.randomForest(model, newdata = CV) : No forest component
in the object"
Here's my complete code. For reproducing this task, please find my 2 data
sets attached ( http://www.nabble.com/file/p17855119/data.rar data.rar ).
2007 Dec 05
5
Running php from RoR
Hello...
I am trying to execute a php script from within rails.
The action is triggered by a button.
def load_stock
if result = system(''php test.php'')
flash[:notice] = result
end
end
However, it keeps returning false.
If I run the command from the Windows command line it works.
Any ideas?
Thank you.
GPB
--~--~---------~--~----~------------~-------~--~----~
2011 Jan 17
1
how to cut a multidimensional array along a chosen dimension and store each piece into a list
Dear R-Helpers,
I wonder whether there is a function which cuts a multiple dimensional array
along a chosen dimension and then store each piece (still an array of one
dimension less) into a list.
For example,
arr <- array(seq(1*2*3*4),dim=c(1,2,3,4)) # I made a point to set the
length of the first dimension be 1to test whether I worry about drop=F
option.
brkArrIntoListAlong <-
2012 Feb 11
1
AMOVA error: 'bin' must be numeric or a factor
Hi!
I am trying to analyse my data using amova
(http://www.oga-lab.net/RGM2/func.php?rd_id=pegas:amova):
My input to R is a DNA sequence file, format=fasta
dna<- read.dna("XX.fasta", format="fasta") #left other options as
default
d<- dist.dna(dna, model="raw")
g<- read.table("XXX.design")
Load necessary libraries:
library(pegas)
2012 Nov 28
1
GSEA package error
Dear R gurus
I?m trying to use the GSCA package to a series of microarray data (prostate
cancer normal vs tumor (29 vs 29 paired)) but I?m running into some
problems.
I have a matrix (named /data_final/) with 11k rows(genes) and 60 cols (58
samples (29N vs 29T), GO IDs, KEGG IDs).
I also have a separate vector GS with the GO IDs mapped to genes (no
duplicate genes but multiple IDs per gene like
2009 Oct 20
1
kendall.global
Hi every body:
I need some help with kendall.global. The example in the manual seems not working well, and cannot used with my data, always the same error.
data(mite)
> mite.hel <- decostand(mite, "hel")
>
> # Reproduce the results shown in Table 2 of Legendre (2005), a single group
> mite.small <- mite.hel[c(4,9,14,22,31,34,45,53,61,69),c(13:15,23)]
>
2012 Mar 14
2
Using the mantel test in Ape Package
Hi,
I am trying to use a mantel test on two distance matrices. The code I have entered for each is:
Gen_dists <- read.csv(file.choose(),
stringsAsFactors = FALSE,
na.strings = c(" "),
fill = T,
2007 Nov 02
1
1 error(s) on assignment of multiparameter attributes - Very Strange
Hello...
Well, I post this one without too much hope that someone will be able
to give me an answer, because it is strange.
I have a time select field, the field on the database is of type time
only.
When creating a document, as long as the time is not greater than
14:00, then it saves as 00:00, but if the time is greater than 14:00
and less than 22:00 then it throws this error:
1 error(s) on
2007 Dec 11
1
501 Syntax: HELO hostname - Mail problem
Hello...
I am encountering a problem sending emails from Windows using an
extermal smtp server.
When attempting to send out the email, the following error is
returned:
501 Syntax: HELO hostname
I have checked the format of the emails, and they are ok. It seems
it''s choking right at the begging of the connection to the smtp
server, when my computer needs to identify itself by sending
2009 Jul 20
1
package lmodel2: p-value RMA fitting?
Hi *,
is there a way to obtain some kind of p-value for a model fitted with RMA
using the lmodel2 package?
I know that p-values are discussed and criticized a lot and as you can image
from my question I'm not
very much of a statistican (only writing my bachelor thesis).
As fare as I understood the confidence interval statistic correctly, a
coefficient is regarded as statistically
significant