Re: [R] merging data list in to single data frame

2011-04-04 Thread Umesh Rosyara
Thank you Hadley. With your solution, now it feels very easy ! _ From: h.wick...@gmail.com [mailto:h.wick...@gmail.com] On Behalf Of Hadley Wickham Sent: Monday, April 04, 2011 6:11 PM To: Umesh Rosyara Cc: Dennis Murphy; r-help@r-project.org; rosyar...@gmail.com Subject: Re: [R

Re: [R] merging data list in to single data frame

2011-04-04 Thread Umesh Rosyara
2) not a list of 200 data frames? If we can do that then we will able to use this approach. Thank you so much, Umesh R From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Monday, April 04, 2011 3:25 PM To: Umesh Rosyara Cc: r-help@r-project.org; rosyar...@gmail.com Subject: Re: [R] mergi

[R] Questions remaining: define any character as na.string RE: merging data list in to single data frame

2011-04-04 Thread Umesh Rosyara
-Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Monday, April 04, 2011 12:22 PM To: Umesh Rosyara Cc: r-help@r-project.org; rosyar...@gmail.com Subject: Re: [R] merging data list in to single data frame On 04.04.2011 16:41, Umesh Rosyara wrote: > D

[R] merging data list in to single data frame

2011-04-04 Thread Umesh Rosyara
Dear R community members I did find a good way to merge my 200 text data files in to a single data file with one column added will show indicator for that file. filelist = list.files(pattern = "K*cd.txt") # the file names are K1cd.txt .to K200cd.txt data_list <-lapply(f

Re: [R] help need on working in subset within a dataframe

2011-03-22 Thread Umesh Rosyara
Thank you, Ista. It helps. Best Regards Umesh R _ From: istaz...@gmail.com [mailto:istaz...@gmail.com] On Behalf Of Ista Zahn Sent: Tuesday, March 22, 2011 8:58 AM To: Umesh Rosyara Cc: R mailing list Subject: Re: [R] help need on working in subset within a dataframe Hi

[R] help need on working in subset within a dataframe

2011-03-21 Thread Umesh Rosyara
Dear R-experts Execuse me for an easy question, but I need help, sorry for that. >From days I have been working with a large dataset, where operations are needed within a component of dataset. Here is my question: I have big dataset where x1:.x1000 or so. What I need to do is to work on 4

Re: [R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-11 Thread Umesh Rosyara
Thank you for helping me and this solved the problem Best Regards Umesh R _ From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf Of Felix Andrews Sent: Friday, March 11, 2011 4:05 AM To: Umesh Rosyara Cc: R mailing list; deepayan.sar...@r

Re: [R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-10 Thread Umesh Rosyara
ersection(subscripts, which(dataf$p < 0.05)) with(dataf[ok,], panel.text(p, xvar, name)) }, as.table=T, subscripts=T) Best Regards Umesh R _ From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf Of Felix Andrews Sent: Thursday, March 10, 2011 7:

Re: [R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-09 Thread Umesh Rosyara
$name[subscripts], col="green2") }, as.table=T, subscripts=T) Best Regards Umesh R _ From: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Tuesday, March 08, 2011 12:00 AM To: Umesh Rosyara Cc: Jorge Ivan Velez; Dennis Murphy; sarah.gos...@gmail.com; R

[R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-07 Thread Umesh Rosyara
panel = function(x, y) { panel.xyplot(x, y) panel.abline(h=0.01, col="red") panel.text(xv1, p1, n1, col="green2") }) Thank you in advance. Best Regards Umesh R _ From: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Sunday, Marc

[R] Lattice experts: RE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-06 Thread Umesh Rosyara
s; Best Regards Umesh R _ From: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Sunday, March 06, 2011 10:50 AM To: Umesh Rosyara Cc: Jorge Ivan Velez; Dennis Murphy; sarah.gos...@gmail.com; R mailing list Subject: Re: [R] Data lebals xylattice plot: RE: displaying label mee

[R] Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-06 Thread Umesh Rosyara
l ~ xvar1|chr, dataf) Best Regards Umesh R _ From: Jorge Ivan Velez [mailto:jorgeivanve...@gmail.com] Sent: Sunday, March 06, 2011 12:22 AM To: Umesh Rosyara Cc: R mailing list Subject: Re: [R] displaying label meeting condition (i.e. significant, i..e p value less than 005) in pl

[R] displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-05 Thread Umesh Rosyara
Dear R users, Here is my problem: # example data name <- c(paste ("M", 1:1000, sep = "")) xvar <- seq(1, 1, 10) set.seed(134) p <- rnorm(1000, 0.15,0.05) dataf <- data.frame(name,xvar, p) plot (dataf$xvar,p) abline(h=0.05) # I can know which observation number is less than 0.05 which (da

[R] please help ! label selected data points in huge number of data points potentially as high as 50, 000 !

2011-03-05 Thread Umesh Rosyara
help is highly appreciated. Thank you; Best Regards Umesh R _ From: Umesh Rosyara [mailto:rosyar...@gmail.com] Sent: Saturday, March 05, 2011 12:30 PM To: 'r-help@r-project.org' Subject: displaying label meeting condition (i.e. significant, i..e p value less than 005

[R] thank you

2011-03-02 Thread Umesh Rosyara
Hi Dennis I was able to my problem. Thank you encouragement and time. n<-7 newvars <- c(paste('m', rep(1:n, each = 4), rep(c('a', 'b')), rep(c('p1', 'p2'), each = 2), sep = '')) newvars [1] "m1ap1" "m1bp1" "m1ap2" "m1bp2" "m2ap1" "m2bp1" "m2ap2" "m2bp2" "m3ap1" [10] "m3bp1" "m3a

Re: [R] stuk at another point: simple question

2011-02-28 Thread Umesh Rosyara
2$Parent2])} # Parent2's allele 2 I could go further down because I had already an error ! I am particularly confused how can apply the index in df2$Parent1 or df2$ parent2. Please help. Thank you; Umesh R _ From: Umesh Rosyara [mailto:rosyar...

[R] stuk at another point: simple question

2011-02-28 Thread Umesh Rosyara
more than 1000) Mode1 avgCy 1 1.75 # from pair M1a and M1b 2 # from pair M2a and M2b 3 # from pair M3a and M3b 4 # from pair M4a and M4b to the end of the file Thank you in advance Umesh R _ From: Dennis Murphy [mailto:djmu...@gmail.c

Re: [R] help please ..simple question regarding output the p-value inside a function and lm

2011-02-26 Thread Umesh Rosyara
Hi Jorge and R users Thank you so much for the responses. You input helped me alot and potentially can help me to solve one more problem, but I got error message. I am sorry to ask you again but if you can find my problem in quick look that will be great. I hope this will not cost alot of your t

[R] help please ..simple question regarding output the p-value inside a function and lm

2011-02-25 Thread Umesh Rosyara
Dear R community members and R experts I am stuck at a point and I tried with my colleagues and did not get it out. Sorry, I need your help. Here my data (just created to show the example): # generating a dataset just to show how my dataset look like, here I have x variables # x1 ...

Re: [R] simple recoding problem, but a trouble !

2011-02-19 Thread Umesh Rosyara
wonder if there is easier way to restore the names, in situations where there are 1000's of variables making the list as above might be tidious. Thank you for solving my problem. I appreciate it. Umesh R _ From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Saturday, Fe

[R] simple recoding problem, but a trouble !

2011-02-19 Thread Umesh Rosyara
3 13 1 3 13 1 3 Thanks; Umesh R _ From: Umesh Rosyara [mailto:rosyar...@gmail.com] Sent: Friday, February 18, 2011 10:09 PM To: 'Joshua Wiley' Cc: 'r-help@r-project.org' Subject: RE: [R] recoding a d

Re: [R] recoding a data in different way: please help

2011-02-18 Thread Umesh Rosyara
tors for your tests ## if you install and load the "car" package by John Fox ?recode # a function for recoding in package "car" I am sure it is possible to string together some massive series of if statements and then use a for loop, but that is probably the messiest and slowest

Re: [R] recoding a data in different way: please help

2011-02-18 Thread Umesh Rosyara
Hi Dennis Thank you so much it helped me to go a step ahead. Regarding comparisions, here is what I want to do. If value of imarkP1 = 22, imarkP2 = 11, and mark1= 12 then the value of mark1 should be coded as 1 (means that all three conditions must be satified to get a code

[R] recoding a data in different way: please help

2011-02-17 Thread Umesh Rosyara
Dear R users The following question looks simple but I have spend alot of time to solve it. I would highly appeciate your help. I have following dataset from family dataset : Here we have individuals and their two parents and their marker scores (marker1, marker2,and so on). 0 means t