for example, I have two sets, x and y.
I want to draw their histograms using different colors in a graph.
I didn't find how to do this by reading ?hist
Thanks very much.
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing
sorry, pressed sent by mistake.
for example
data - read.csv(data.txt)
data
V1 V2
1 YHR165C CG8877
2 YJL130C CG18572
3 YDL171C CG9674
4 YKR054C CG7507
5 YDL140C CG1554
6 YLR106C CG13185
7 YGL206C CG9012
8 YNL262W CG6768
9 YER172C
CG5931
typeof(data)
[1] list
for (i in 1:nrow(data)){
cat(data[i,1]
}
it'll not return things like YHR165C but number like 6,7,9..
is this a new feature of list? how to turn off it.
thanks
On 10/23/06, Hu Chen [EMAIL PROTECTED] wrote:
for example
data - read.csv(data.txt)
typeof
for example
data - read.csv(data.txt)
typeof(data)
[1] list
for (i in 1:nrow(data)){
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
for example:
I have a data frame.
data$V4 returns:
.
[6936] P05796 P11096 P76174 P04475 P18775
[6941] P33225 P76387 P76388 P76388 P09375
[6946] P15300 P15723
1375 Levels: O50190 O65938 O69415 P00274 P00363 P00364 P00370 P00373 ...
Q9AJ15
Hi all,
for example:
X- rnorm(1000)
X0 - 0.899
I want to draw a density distribution plot with a arrow pointer
indicating the position of X0, meanwhile, giving out the p-value.
any functions?
Thanks very much.
__
R-help@stat.math.ethz.ch mailing
)),pos=2)
Rabline(v=X0,col=4)
If you actually want arrows do ?arrows
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hu Chen
Sent: June 15, 2005 10:41 AM
To: R
Subject: [R] how to plot density distribution with a arrow pointer?
Hi all
Hi dear Rers,
I am using SSOAP package to access SOAP service at NCBI.
I followed the example code in SSOAP but failed.
z - .SOAP(http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/soap_adapter.cgi;,
method=run_eInfo, db=pubmed, action = I(einfo))
Error: protect(): protection stack overflow
Dear R folks:
I am trying to use SSOAP (version 0.2-2) package in R (version
2.1.0,linux) to access SOAP service on NCBI
(http://www.ncbi.nlm.nih.gov)
its WSDL file is at http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl
but some errors occured:
ncbi -
hi R folks,
I need read a file from hardisk or www web. Then I need to define some
new functions according to the contents of the read file.
For example, i need write a package name mypackage like this:
library(mypackage)
read(some_file_on_web) #to see its content, suppose it contains:
I got a dirty way to solve this.
write a temp .R source file including these new functions, then
source(this_temp_file)
but I don't know if there are some temp directory for R to store temp files?
On 6/7/05, Hu Chen [EMAIL PROTECTED] wrote:
hi R folks,
I need read a file from hardisk or www
functions returned by their father function could be called outside.
Thank u all.
On 6/7/05, Uwe Ligges [EMAIL PROTECTED] wrote:
Hu Chen wrote:
I got a dirty way to solve this.
write a temp .R source file including these new functions, then
source(this_temp_file)
Don't know if you really
for example,
x - read.table(); here x is a vector containing my data to be analyzed.
hist(x,plot=TRUE,breaks=200)
then I got a histogram graph. However, How can't get a smooth curve
based on the histogram cells to show out the outline?
Thanks very much.
Hi all
I want to draw a graph containing points and edges. Package graphics
could do this. However I want to make each those points and edges
clickable with a hyperlink on them.
Anybody know how to do this?
Thanks very much.
__
R-help@stat.math.ethz.ch
haha
debian vs rpm again... everywhere..
On Tue, 14 Dec 2004 10:30:07 +0100, Siegfried Gonzi
[EMAIL PROTECTED] wrote:
doktora v wrote:
I'm using SUSE with success on intel laptop and AMD desktop. You get
the best of both worlds: rpm and source. I can easily get the rpm
packages i need,
Hi, I got a amd 64 + debian/pure64 system.
R is installed by apt-get so it's no doubt that R is for 64bit.
My question is, for those packages, for example, ipred, it's difficult
to find in which official debian packages they are. How could I
install them? if I used install.packages in R, the
Hi all
Two computers:
one is my desktop PC, windows2000, R 1.9.1. Physical RAM 256MB, Swap
(Virtual memory) 384Mb. When I allocate a large matrix, it firstly
uses up RAM, then use swap space. In windows' task manager, the usage
of memory could exceed my physic RAM's size.
The other machine is a
hi all
If I wanna get the total number of lines in a big file without reading
the file's content into R as matrix or data frame, any methods or
functions?
thanks in advance.
Regards
__
[EMAIL PROTECTED] mailing list
Hi all,
any guy who knows how to print a data frame without column names printed?
I didn't find a parameter in print() function to turn off this.
Neither in options().
Thanks in advance.
__
[EMAIL PROTECTED] mailing list
Hi all.
I used to use write.table() to write data into file. However , it
seems that write.table() waste a lot of memory on caching temporary
variables. Thus it ofen fails on writting larg matrix/frame into file.
I noticed that write.matrix() may be better. But how could I write the
column names
20 matches
Mail list logo