Displaying 8 results from an estimated 8 matches for "g2000".
Did you mean:
2000
2008 Jun 08
1
eliminating and relabeling the first column
Hello everyone,
I have a data frame in which I am wanting to eliminate the row labels and then relabel the rows with
g1-g2000.I have used the following code:
dat<-read.table(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt",header=T,row.names=1)
file.show(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt")
I thought that this would eliminate the row lab...
2011 Sep 20
3
adding labels to x,y points
...;,header=T,row.names=1)
attach(colon)
names(colon)
The dimenstions are 2000 62.
Each of the 62 columns (titled norm1, norm2, norm3, etc) has 2000
different numbers (?continuous? values) within it.
I have also assigned a name for each of the 2000 rows of the dataframe with
a prefix (i.e. g1 ?. g2000) using the code (not sure if I did this right):
> colon<-paste("g",c(1:nrow(colon)),sep="")
I have plotted the first 20 values from two of the columns(samples).
> x<-c(norm1[1:20])
> y<-c(norm2[1:20])
> plot(x,y,type='n',xlab='x norm1 sample...
2008 Sep 24
2
Why horizontal bars instead of a line
Hey list!
It looks simple, though it's not possible for me to plot the following
properly:
(some made-up data)
GrSe Clone1 Clone2 Clone3 Clone4 Clone...
G1999 2 3 6 5
G2000 2 5 7 4
G2001 5 3 7 3
G2002 4 5 8 3
G...
GrSe=Growing Season.
I've read the file as "x" and then tried: plot(x$GrSe,x$Clone1)
The output is 4 horizontal bars. Even if I write
plot(x$GrSe,x$Clone1,type="n") R is still plotting!
I figured already that if I delete the &qu...
2008 Jun 03
1
adding column and pulling data from table
Hello to everyone,
I have a general question about how to add a column to a table.I have a table that has 62 columns and 2000 rows.I am wanting to add a column on the left most row.I am wanting to label the rows g1 to g2000 I have the code of ("g",c(1:nrow(dat)),sep="") for the right side of the assignment but do not know what function to use for the left side of the equation.I also have a similiar question as to how to select a particular portion of the table and to plot this. For example to selec...
2008 Jun 07
1
error message with dat
Hello everyone,
I have two problems which I am unable to solve :
1.I am trying to add the row labels (g1-g2000) to the very left of a data table. The data
table is 2000 rows by 62 columns.I have used the following code.
read.table(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt",header=T,row.names=1)
rowname(dat) <- paste("g", c(1:nrow(dat)), sep=""...
2008 Jan 20
2
SIP <> GSM
I'd like to add a device to my Asterisk server to leverage my cellular
account. Does anyone on-list have experience with hardware gateways vs
using cah_bluetooth and an old cell phone?
I'm considering something like http://www.mobigater.com/index.php?p=5
Thanks,
Michael
--
Michael Graves
mgraves<at>mstvp.com
blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at
2008 Feb 05
4
How to hookup to cell phone for outbound calls?
Hi
I need a small PBX for use on the move. This means that outbound calls
will need to be made over the cell phone network.
Assuming a small hardware PBX with a spare mini-PCI slot or a USB slot
then what hardware options do I have to get an outbound cellular
channel? Options need to be rock solid, so no bluetooth to a cell phone
kind of solutions need apply.
Can any of the 3G usb
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.