Displaying 14 results from an estimated 14 matches for "huajie".
Did you mean:
hajime
2008 May 23
4
Advise in R- plotting graphs
Hi
I have a data table matrix,"data" which looks like below:-
V1 V2 V3
1 -6382.719 -1096.554 6998994
2 -some values-
3 -some values-
4 -some values-
5 -some values-
Querying dim of "data" gives me 3 columns and 5 rows.
And currently I want to plot "V1" against "V2" with the condition that I
want to mark(color) the point(row 5) on the
2008 May 19
1
Need help in matrix multiplication error
Hi,
I have a data file which is named test.txt as below. Prior to that, I have
converted the last row from nominal to numeric using as.integer.
Statement T1001 T1002 T1003 T1004 T1005 T100 T1014 T1021 T1022 T1023
1 0 0 0 0 0 0 0 0 1 0 0
2 0 0 0 0 0 0 0 0 1 0 0
3 0 1 0 0 1 0
2008 Jul 07
5
How can i do an automatic upgrade of R 2.5.1 to R 2.7.1
Hi,
I am aware this is somehow FAQ question but I ve been searching from R-cran
archive about the related matter and could not find anything closer to this.
I want to upgrade my R version from 2.5.1. to 2.7.1. What is the best way to
load the latest one apart from installing the packages (tar.gz) from
http://cran.ms.unimelb.edu.au/?
Please help.
Thanks..
[[alternative HTML version deleted]]
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
------------------------------
Message: 29
Date: Tue, 30 Sep 2008 00:37:41 +1000
From: "Jason Lee" <huajie.lee at gmail.com>
Subject: [R] How to remove columns of table in R recursively
To: r-help at r-project.org
Message-ID:
<a847b5a10809290737w4462cadds41f8d39fe508f0fc at mail.gmail.com>
Content-Type: text/plain
Hi R-list,
I would like to know how to perform any elimination of attribute (c...
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.
2008 Oct 03
1
Error message in ifthen else
Hi,
I came across the below error when I try to do ifelse condition:-
Error in "[<-"(`*tmp*`, test, value = rep(yes, length = length(ans))[test])
:
incompatible types
What I am trying to accomplish is :-
for(x in 1:ncol(filterpred)){
sumno<-sum(filterpred[no,x])
sumyes<-sum(filterpred[yes,x])
ifelse(sumno==0 && sumyes !=0,
2008 May 24
2
How to pass variable of for loop on read table text
Hi,
I have a couple of text and would like to automate of reading these multiple
files using
(namely; text1.txt, text2.txt....)
for(y in 3:10){
data$y<-read.table('text$y.txt')}
But it seems not allow. Any idea?
Thanks.
[[alternative HTML version deleted]]
2008 Jul 04
1
Problem in installing Biobase
Hi,
Recently I try to install Biobase component using the tutorials from
cran.r-project.org/doc/Rnews/Rnews_2006-5.pdf
I tried
u <- "http://bioconductor.org/biocLite.R"
> source(u)
> biocLite("pkgDepTools", dependencies=TRUE)
Running biocinstall version 2.0.8 with R version 2.5.1
Your version of R requires version 2.0 of Bioconductor.
Warning in
2008 Jul 16
2
How to extract component number of RMSEP in RMSEP plot
Hi R-listers,
I would like to know how can i extract component no. when the RMSEP is
lowest?
Currently, I only plot it manually and then only feed the ncomp to the jack
knife command. However, I would like to automate
this step.
Please let me know. Many thanks.
Rgrds,
[[alternative HTML version deleted]]
2008 Sep 29
1
How to remove columns of table in R recursively
Hi R-list,
I would like to know how to perform any elimination of attribute (column) in
R.
E.g I have:-
20,21,22,23,24,25,normal
1,2,3,4,5,5,normal
0,1,0,2,3,4,abnormal
...
I intend to do a checking on each column:-
If the column sum of abnormal is 0 but the column sum of normal is nonzero,
i wanted to eliminate this attribute. And so on and so forth observing other
attributes across the
2008 Jun 02
2
Need advise in grab the line number of sorted list in R
Hi,
I have a data frame which format is like below:-
X Y Z
131 22.2 3.4 4.4
150 20.0 12.2 4.5
etc...
And I have sorted the data frame. However, I would like to grab one of these
elements in the data frame. Also, i would like to number these rows so that
when i grab a particular line let say 150, it is able to return me the
position of the row rather than the "150".
2008 Jun 06
3
Problem in executing R on server
Hi R-listers,
I have problem in executing my R on server. It returns me
Error: cannot allocate vector of size 15.8 Mb
each time when i execute R on the server. But it doesnt give me any problem
when i try executing on my own Pc (except it runs extremely slow).
Any pointers to this? I tried to read the FAQ on this issue before in the
archive but it seems there is no one solution to this. I
2008 Jul 01
1
Help in using PCR
Hi,
Currently I have a dataset of 2400*408. And I would like to apply PCR method
to study the any correlation between the tests.
My current data is in data.frame and I have formed horizontal(1-407) to be
the exact data, and (408) to be my results data(Yes and No)
I have also binarized these Yes and No to 1 and -1s.
However, when I refer to PCR manual on R, the example of yarn.pcr <-
2008 May 21
2
Problem in converting natural numbers to bits and others
Hi,
I just started using R for about one week and I have few problems.
i)I have a problem in finding right function to convert a table of natural
numbers to bitwise. For a simple example;
I have the below table:-
Column Col1 Col2 Col3
Sample1 5 7 10
Sample2 0 2 1
Sample3 4 0 0
Supposedly i wanted to convert to :-
Column Col1 Col2 Col3