Re: [R] Tex-mining in R

2013-10-04 Thread umesh khatri
Thanks Ista, Can you please suggest any useful link(s) which explain RcmdrPlugin.temis and tm package other than Cran-R one? Thanks Umesh On Tue, Oct 1, 2013 at 11:40 PM, Ista Zahn wrote: > Do you know about task views? Try > http://cran.r-project.org/web/views/NaturalLanguageProcessin

[R] Tex-mining in R

2013-10-01 Thread umesh khatri
Can anyone please guide me on any useful links or resource regarding text mining in R? -- Regards Umesh Khatri [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Help needed to tackle multicollinearity problem in count data with the help of R

2012-07-11 Thread umesh khatri
amming for this in R. I thought of making changes to "glm.fit" might help. But the codes are beyond my understanding. I'll be glad if someone can help me in this regard. -- Regards Umesh Khatri __ R-help@r-project.org mailing list https:/

[R] Poisson ridge regression

2012-07-11 Thread umesh khatri
-- Forwarded message -- From: umesh khatri Date: Wed, 11 Jul 2012 16:15:11 +0530 Subject: Poisson ridge regression To: r-h...@rproject.org I'm student of Masters in Statistics (Actuarial) from Central University of Rajasthan, India. I am doing a major project work as a pa

[R] Poisson Ridge Regression

2012-07-06 Thread umesh khatri
Dear everyone I'm dealing with a problem related to Poisson Ridge Regression. If anyone can help me in this regard by telling if any changes in the source code of "glm.fit" may help -- Regards Umesh Khatri __ R-help@r-project.org mai

[R] help in R programming

2012-07-06 Thread umesh khatri
Dear everyone I'm dealing with a problem related to Poisson Ridge Regression. If anyone can help me in this regard by telling if any changes in the source code of "glm.fit" may help -- Regards Umesh Khatri [[alternative HTML

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
Dear Uwe and R community members Thank you Uwe for the help. I have still a question remaining, I am trying to find answer from long time. While exporting my data, I have some characters mixed into it. I want to define any characters as na.string? Is it possible to do so? Thanks; Umesh

[R] merging data list in to single data frame

2011-04-04 Thread Umesh Rosyara
1 0.6 0.9 2 Please note that new file no column is added Thank you for the help. Umesh R [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/

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
t;- apply(namemat,1, smyfun) return(npt1) } myfun (dataframe) My question is how can I automate the process so that the above function can calculate different values for n levels (>20 in my real data) of factor ped. Thanks in advance for the h

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
t;)) xvar <- seq(1, 1, 10) chr <- c(rep(1,200),rep(2,200), rep(3,200), rep(4,200), rep(5,200)) set.seed(134) p <- rnorm(1000, 0.15,0.05) dataf <- data.frame(name,xvar, chr, p) dataf$chr <- as.factor(dataf$chr) May I need some rest. Thank you for your suggestions. Thank

[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
var <- seq(1, 1, 10) chr <- c(rep(1,200),rep(2,200), rep(3,200), rep(4,200), rep(5,200)) set.seed(134) p <- rnorm(1000, 0.15,0.05) dataf <- data.frame(name,xvar, chr, p) dataf$chr <- as.factor(dataf$chr) # lattice plot: As far as I can go now ! require(lattice) xyplot(pva

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

2011-03-05 Thread Umesh Rosyara
that I have names not in numerical sequience (rather different names), just provided for this example to create dataset easily. Thanks in advance Umesh R [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://s

[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
text (8101, 0.0050637068, M811) in plot() in base. plot (dataf$xvar,p) text (8101, 0.0050637068, "M811") text (8531, -0.0433901783, "M854") I need more automation to deal with observations as high as 50,000. In real sense I do not know how many variables there will be. You

[R] thank you

2011-03-02 Thread Umesh Rosyara
"m1bp1" "m1ap2" "m1bp2" "m2ap1" "m2bp1" "m2ap2" "m2bp2" "m3ap1" [10] "m3bp1" "m3ap2" "m3bp2" "m4ap1" "m4bp1" "m4ap2" "m4bp2" "m5ap1" "m5bp1

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
]]) df1 <- transform( odataframe, odataframe[, a[ind]]= tx[, a[ind]], odataframe[, b[ind]]= tx[, b[ind]])) } I got the following error: Error: Error: unexpected '=' in: "tx[, b[ind]] = ifelse(odataframe[, b[ind]] > dataframe[,a[ind]], odataframe[,b[ind]], odataframe[,a[ind]])

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

2011-02-25 Thread Umesh Rosyara
print(plot(nvar, P1)) print(plot(nvar, P2)) } } # applying the function to mydata mylm (dataf, 1000) Does not work?? The following is the error message: Error in model.frame.default(formula = mydata$y ~ mydata[, i], drop.unused.levels = TRUE) : invalid type (N

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
) # just trying to cheat R, unfortunately the marker1 and marker columns remained non-numeric, even when opened in excel !! Unfortunately I got the following result ! marker1 marker2 1 1,1 1,1 2 1,2 1,2 3 2,2 2,2 4 2,2 2,2 5 1,2 1,2 6 1,2 1,2

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

2011-02-18 Thread Umesh Rosyara
could not get the result I want. I do not know what is wrong. Ifelse (imarkP1==22|imarkP2==11|mark1==12,1,0) I could not go forward.. Thank you so much for the help. Best regards; Umesh R _ From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Friday, February 1

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

2011-02-17 Thread Umesh Rosyara
= 0.5, else 0 .more conditions Similarly the pointer should move from individual 5 to n individuals at the end of the file. Thank you in advance Umesh R [[alternative HTML version deleted]] __

Re: [R] problem with D(COM) Server

2011-02-02 Thread Umesh
Benjamin, I do have the same issue, i tried all different combination as you did but I was not successful. If you have a solution to address this issue please let me know. Umesh -- View this message in context: http://r.789695.n4.nabble.com/problem-with-D-COM-Server-tp3006087p3256639.html

[R] RMark error: only 0's may be mixed with negative subscripts

2010-11-07 Thread Umesh Srinivasan
what I tried to do overall: ### library(RMark) dat <- import.chdata("/home/umesh/Desktop/capture history.txt") head(dat) time.int <- c(0,0,1,0,0) model <- mark(dat, model = "Robust", time.intervals = time.int) ### I am attaching the simulated capture his

[R] plotting two surfaces simultaneously in a single panel

2009-11-27 Thread Umesh Srinivasan
trawling the net are helping me find how to do this. Can someone help? Thanks Cheers, Umesh Srinivasan NCBS-TIFR, Bangalore, India __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] interpreting glmer results

2009-10-05 Thread Umesh Srinivasan
rly, distance from the tree has an effect, but I want to know whether the identity of the species influences seedling numbers in general. I am unable, however, to make much sense of the output. Also, what does correlation of fixed effects really tell me? Many thanks for any help. Cheers, Umesh

Re: [R] selecting ith rows of a matrix

2009-04-29 Thread Umesh Srinivasan
Thanks a lot Baptiste & Dimitris, It's working! Cheers, Umesh On Wed, Apr 29, 2009 at 2:06 PM, Dimitris Rizopoulos < d.rizopou...@erasmusmc.nl> wrote: > probably you want to use seq(), e.g., > > mat <- matrix(1:500, 100, 5) > > mat[seq(1, nrow(mat), 2), ] &g

[R] selecting ith rows of a matrix

2009-04-29 Thread Umesh Srinivasan
Hi all, If I have a huge matrix/ dataframe and I want to create a new matrix/ dataframe with every second (or third, or fourth etc.) row of the original matrix, how can I do it? Any help much appreciated. Thanks, Umesh [[alternative HTML version deleted

Re: [R] Finding rows common to two datasets

2009-04-28 Thread Umesh Srinivasan
' will help. Maybe I can try with some of your data, if you're willing. Cheers, Umesh On Tue, Apr 28, 2009 at 3:19 PM, Steve Murray wrote: > > Thanks for the reply, however, when I do the following command, I receive > the message: 'data frame with 0 columns and 0 rows&#x

Re: [R] Finding rows common to two datasets

2009-04-28 Thread Umesh Srinivasan
Dear Steve, Try ? intersect and see if that might help. Cheers, Umesh On Tue, Apr 28, 2009 at 1:29 PM, Steve Murray wrote: > > Dear all, > > I have 2 data frames, both with 14 columns of data and differing numbers of > rows. The first two columns are 'Latitude' a

Re: [R] Coloring X and Y axis

2009-04-11 Thread Umesh Srinivasan
Hi Gundala, If you want your plotting axes to appear in colour, try par(fg = "red") # will colour all foreground stuff in red, including the axes. Cheers, Umesh On Sat, Apr 11, 2009 at 3:51 PM, Jim Lemon wrote: > Gundala Viswanath wrote: > >> Dear all, >>

Re: [R] axis colours

2009-04-05 Thread Umesh Srinivasan
Thanks a lot. That's what I was looking for. Must have missed the fg bit in the ? par. Cheers, Umesh On Sun, Apr 5, 2009 at 3:19 AM, Duncan Murdoch wrote: > On 04/04/2009 5:13 PM, Umesh Srinivasan wrote: > >> Hi, >> >> Is there a way to use par to change the colou

[R] axis colours

2009-04-04 Thread Umesh Srinivasan
col = "yellow") and so on for axes 3 & 4. This does not help since the new axes are not of the same length as the default 'box' that you get around a plot. Thanks and cheers, Umesh [[alternative HTML version deleted]] __

Re: [R] how to sort and plot data?

2009-04-03 Thread Umesh Srinivasan
a, user_id = i) temp2 <- unique(temp1$website) mat[2,i] <- length(temp2) } The matrix will give you user id and number of sites visited, provided user id ranges from 1 to the number of users. There must be a way to do this using table, but I cant figure it out. Cheers, Umesh On Fri, Apr 3, 200

Re: [R] Merging rows in dataframes

2009-03-29 Thread Umesh Srinivasan
Hi, Not exactly sure what you mean, but try ? intersect and see if this matches your need. Cheers, Umesh On Sun, Mar 29, 2009 at 6:28 PM, Gabor Grothendieck wrote: > Example 7c has been aded to the home page which illustrates how > to do this using nested selects.

Re: [R] generalized Poisson regression

2009-03-24 Thread Umesh Srinivasan
on regression uses a log link to model data linearly, the coefficients are in the log scale. Cheers, Umesh On Wed, Mar 25, 2009 at 4:20 AM, David Winsemius wrote: > Consider: gls with family="poisson" > > > > On Mar 24, 2009, at 1:26 PM, Arafat Ud Zaman wrote: > >

Re: [R] limiting simulated animal movement

2009-03-22 Thread Umesh Srinivasan
Wow, that was really quick, thanks a lot. Will try this and get back to you. Cheers, Umesh On Sun, Mar 22, 2009 at 3:52 PM, Jim Lemon wrote: > Umesh Srinivasan wrote: > >> Hi, >> >> I am trying to simulate animal movement in a gridded landscape made up of >> cells

[R] limiting simulated animal movement

2009-03-21 Thread Umesh Srinivasan
animals to their home range using: if (sqrt((x - a)^2 + (y - b)^2) > radius.range) { a <- a[i-1] b <- b[i-1] } Where x and y are co-ordinates for the centre of the home range But this is not working - giving NA values for x and y co-ordinates. Does anyone know what to do? Thanks a