Displaying 20 results from an estimated 1000 matches similar to: "How to create arbitrary number of loops in R"
2012 Mar 28
2
How to create arbitrary number of loops
Dear R users,
I'm wondering how I can generate an arbitrary number of loops in R.
For instance, I can generate two "for" loops to get ICC among any two-way combination among 10 variables. Here is the code
n<-10
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
icc(cbind(DATA[,i],DATA[,j]))
}
}
If I need three-way combination, then a code with three "for" loops will be:
2012 Aug 09
1
any recommendation for software about prediction analysis of gene expression data
Dear R users,
I have a microRNA (similar to microarray) data set with gene expressions and group variables. I'd like to perform (class) prediction analysis to see which genes or gene sets predict the group variable well.
I'm at the beginner level. Is there any free software in R or in point/click format that is commonly used and highly recommended?
I googled this topic and found
2014 Sep 23
1
Replication Failure
I have 2 DCs running 4.1.12 that have stopped replicating and are
producing these error messages:
from dc1:
Failed to commit objects:
WERR_GENERAL_FAILURE/NT_STATUS_INVALID_NETWORK_RESPONSE
[2014/09/23 10:43:35.530000, 0]
../source4/rpc_server/drsuapi/getncchanges.c:1646(dcesrv_drsuapi_DsGetNCChanges)
../source4/rpc_server/drsuapi/getncchanges.c:1646: DsGetNCChanges 2nd
replication on
2012 Oct 20
4
Error in integrate(integrand, 0, Inf) : non-finite function value
Dear R users,
When I run the code below, I get the error "Error in integrate(integrand, 0,
Inf) : non-finite function value". The code works if the function returns
only "sum(integ)". However, I want to add "cmh" to it. When I add "cmh" I
get that error. I can't figure out why this is happening because my
integrate function has nothing to do with
2009 Feb 09
2
R equivalent of SAS Cochran-Mantel-Haenszel tests?
In SAS, for a two-way (or 3-way, stratified) table, the CMH option in
SAS PROC FREQ gives
3 tests that take ordinality of the factors into account, for both
variables, just the column variable
or neither. Is there an equivalent in R?
The mantelhaen.test in stats gives something quite different (a test of
conditional independence for
*nominal* factors in a 3-way table).
e.g. I'd like to
2007 Apr 15
1
Expression for pedices
I know that this maybe a trivial question. I am not able to plot pedices in graph axes.
Instead I am able to plot different math symbols :
XLABEL <- expression(paste(cmH,lim(f(x), x %->% 0),"O PEEP"))
works well
XLABEL <- expression(paste(cmH,[2],"O PEEP"))
is considered a wrong expression.
Thanks
2003 Dec 11
2
Cochran-Mantel-Haenszel problem
Hello,
I've tried to analyze some data with a CMH test. My 3 dimensional contingency
tables are 2x2xN where N is usually between 10 and 100.
The problem is that there may be 2 strata with opposite counts (the 2x2
contigency table for these are reversed), producing opposite odds ratios that
cancle out in the overall statistics. These opposite counts are very
important for my analysis, since
2002 Jan 06
2
More OS X issues
Well, I've "fixed" two problems so far with getting things built on OS
X. If whoever did the OS X work is reading this, feel free to tell me
where/how I've screwed up =)
The first problem is that it couldn't find MacTypes.h in the path.
MacTypes.h is simply a one line file that includes
<CoreServices/CoreServices.h>, so I just replaced the MacTypes.h with
that.
In
2007 Feb 24
1
Woolf's test, Odds ratio, stratification
Just a general question concerning the woolf test (package vcd), when we have
stratified data (2x2 tables) and when the p.value of the woolf-test is
below 0.05 then we assume that there is a heterogeneity and a common odds
ratio cannot be computed?
Does this mean that we have to try to add more stratification variables
(stratify more) to make the woolf-test p.value insignificant?
Also in the
2006 Jun 26
2
compare odds ratios
Hi there, is there any way to compare 2 odds ratios? I
have two tests that are supposed to detect a disease
presence. So for each test, I can compute an odds
ratio. My problem is how can I compare the 2 tests by
testing whether the 2 odds ratios are the same?
Appreciate
2010 Sep 28
2
cochran Q test
Dear all,
I am trying to look for a built in function that performs the cochran Q
test.
that is, cochranq.test(X)
where X is a contingency table (maybe a matrix or data.frame).
The output will naturally be the test statisitcs, p-value, etc.
A quick search on Google gives me the cochran.test in the 'outlier' package,
but I had a look at the description of the test and it doesn't look
2002 Aug 12
5
DRM
Hi everybody,
I was just wondering if there is a DRM (Digital Right Management) solution to use with ogg vorbis.
Any information welcomed.
Thanx
Chris
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org'
containing only the word
2002 Aug 12
5
DRM
Hi everybody,
I was just wondering if there is a DRM (Digital Right Management) solution to use with ogg vorbis.
Any information welcomed.
Thanx
Chris
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org'
containing only the word
2010 Dec 06
3
Appearance of Forest Plot
Hi All,
I have conducted a meta analysis using the metabin function. I want to plot
5 subgroups on the same forest plot. I have managed to do this using the
byvar argument but when i plot the forest plot in R graphics I am unable to
view the very top and very bottom of the image. It is as though the plot is
too long. Is there a way in which I can ask R to show the entire plot within
the
2008 Apr 19
1
Mantel-Haenszel for 2x2
Hi all,
Does anyone know if an R function for the Mantel-Haenszel chi-square for a
2x2 table exists? I’ve also seen it called the randomization Q statistic.
Note that I’m not looking for the Cochran-Mantel-Haenszel…I did see that out
there as cmh.test.
Thanks in advance,
Jeff
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
11:27 AM
[[alternative HTML version
2000 Aug 14
2
macOS9 patches committed
I finally got around to committing Chris Hanson's MacOS9 patches. Just though
you should know.
Monty
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
2001 May 17
2
QuickTime component for MacOS 9
I'd like to announce the availablity of the Ogg Vorbis
QuickTime component for MacOS 9.
It only exports at the moment, import and decompressing
is next.
http://homepage.mac.com/snicolai
Email me with comments, log the bugs/feature requests
at http://bugs.xiph.org/
Steve Nicolai
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To
2009 Jun 04
4
Cochran’s Q statistic
Does anyone know which package include the computation of Cochran’s Q
statistic in R?
jlfmssm
[[alternative HTML version deleted]]
2012 Feb 08
1
Discrimination and calibration of Cox model
I have been working on fitting Cox model for prediction by using rms package.
I want to measure model's calibartion and discrimination. Discrimination was
measured by using validate() in rms, Dxy can be transferred to Harrell's c
index. But in this way, I cannot get 95%CI of c index. How can I do this in
R? And by the way, what value should be in c index to present the model's
well?
2000 Dec 23
2
What we need to make it
Here's what we need for a BIG popularity boost:
Good interfaces!
Yeah yeah, i know, i'll be bitched at on how I should do it on my own, but
one thing that always ticked me about MP3 - the lack of tools that do the
job without the mess.
What we need now is - an ID tag editor. Menu-driven, that means CLI or GUI.
We need that, badly. Encoder - GUIs for X and MS Windows. Right now,
encoding