something like 'only one byte separators can be used.
I have thought about using a gsub to 'swap out' the "space + tab" and
replace it with commas, etc but thought there might be another way.
Any suggestions?
M
--
Matt Curcio
M: 401-3
BUT when I
tried to reinstall 'reshape' or 'reshape2' I COULDN't. Is there a way
to get over this hurdle with reshape or is there another command I can
use. I am stuck because my programs up to this point used 'rename'
and now I have to redo some work.
M
--
olB, var.equal=TRUE)
tt_pvalue [ i ] <- ttr$p.value
}
}
}
I am a novice writer of code and am interested to hear if there are
any (dis)advantages to one way or the other.
M
Matt Curcio
M: 401-316-5358
E: matt.curcio...@gmail.com
row=numrows, ncol=vl)
+colA <- temp[,compareA]
+colB <- temp[,compareB]
+tt <- t.test(colA, colB, var.equal=TRUE)
+tt_pvalue <- tt$p.value
+ }
Error in temp[, compareA] : incorrect number of dimensions
--
Matt Curcio
M: 401-316-5358
E: matt.curcio...@gmail.com
__
# I tried setting up a vector...
# as.vector(tt_pvalue, mode="any") ### but NO GO
> file.name = paste("ttest.results.", compareA, compareB, "")
> setwd(save_to)
> write.table(tt_pvalue, file=file.name, sep="\t" )
Error in inherits(x, "da
Research."
So it seems that 'save/load' might be a good alternative for my work.
Any suggestions,
M
On Sun, Jul 31, 2011 at 11:41 PM, Matt Curcio wrote:
> Greetings all,
> I am calculating two t-test values for each of many files then save it
> to file calculate another
st_results, two_sample_ttest)
Any suggestions,
M
--
Matt Curcio
M: 401-316-5358
E: matt.curcio...@gmail.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/postin
Michael,
Got it, thanks. Looking over the man file realized it is FLAG not flat.
Cheers,
M
On Sun, Jul 31, 2011 at 2:26 PM, Matt Curcio wrote:
> Hmmm...
> Got this error
>
> Error in formatC(i, width = 4, format = "d", flat = "0") :
> unused argument(s) (fl
Hmmm...
Got this error
Error in formatC(i, width = 4, format = "d", flat = "0") :
unused argument(s) (flat = "0")
Any ideas,
M
On Sun, Jul 31, 2011 at 1:30 PM, Matt Curcio wrote:
> Greetings all,
> I would like to append a 4 digit number suffix to the name
le.name <- paste ("kegg.subrichcdt.", i, ".txt", sep="")
write.table(temp, file=file.name)
}
###
But I want:
"kegg.subrichcdt.0001.txt"
"kegg.subrichcdt.0002.txt", ...
Any suggestions
M
--
Matt Curcio
M: 401-316-5358
E: matt.curcio.
that this would be a great little project.
Cheers,
M
Matt Curcio
E: matt.curcio...@gmail.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Hi All,
I am learning R and having a little trouble with the usage and proper
definitions of data.frames vs. matrix vs vectors. I have read many R
tutorials, and looked over ump-teen 'cheat' sheets and have found that
no one has articulated a really good definition of the differences
between 'data.
Greeting all,
I am having a little trouble finding the 'right' package that will
read in .xls Excel spreadsheets. My Ubuntu base does not seem to have
the ability to read them.
Any suggestions?
Cheers,
M
__
R-help@r-project.org mailing list
https://stat
13 matches
Mail list logo