Re: [R] Overlapping a Plot with Dataframe

2012-08-08 Thread Himanshu
Thanks Jim, Yes its working now. Thanks, Himanshu On Wed, Aug 8, 2012 at 12:10 PM, Jim Lemon wrote: > On 08/07/2012 10:57 PM, mhimanshu wrote: > >> Hello Everyone, >> >> I am trying to overlap a plot with a data set in the form of a data frame. >> >> Its

Re: [R] Subgraph isomorphism using vertex labels

2012-08-01 Thread HIMANSHU MITTAL
x ids (v, from graph g) can be > converted to vertex names via > > V(g)$name[v] > > or the more readable equivalent > > get.vertex.attribute(g, "name", v) > > Best, > Gabor > > On Tue, Jul 31, 2012 at 3:12 PM, HIMANSHU MITTAL wrote: > > Hi all, >

[R] Subgraph isomorphism using vertex labels

2012-07-31 Thread HIMANSHU MITTAL
(1) z(5) x(2) graph 2: x(1) y(2) # the brackets contain the corresponding vertex ids i would like my output to contain the two mappings from graph 1 i.e x(2) y(3) & x(1) y(4) Regards, Himanshu Mittal [[alternative HTML version deleted]]

Re: [R] graph from txt file

2012-07-01 Thread HIMANSHU MITTAL
Thanks a ton Regards Himanshu Mittal On Sat, Jun 30, 2012 at 11:42 PM, Rui Barradas wrote: > Hello, > > The answer to the question is yes. > But first a note. Your vertex ids start at 51 and the greater is 173. > igraph vertices (and edges) are automatically numbered starting

Re: [R] graph from txt file

2012-06-30 Thread HIMANSHU MITTAL
rep(**315522000, 6), > origin="1970-01-01")) > V(g)$date > > > Rui Barradas > > Em 30-06-2012 04:26, HIMANSHU MITTAL escreveu: > >> Thanks a lot. >> But i have one more doubt >> one of the attribute i have is time of edge formation >> >> i

Re: [R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
u should post data examples like the posting guide says. > With your description, a small example like the one above would do. > > Hope this helps, > > Rui Barradas > > Em 29-06-2012 19:05, HIMANSHU MITTAL escreveu: > >> yes i would prefer igraph, but it can be any r pac

Re: [R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
yes i would prefer igraph, but it can be any r package as long as it can create the graph On Fri, Jun 29, 2012 at 11:14 PM, Peter Ehlers wrote: > On 2012-06-29 10:28, HIMANSHU MITTAL wrote: > >> Hi all, >> I have a text file in which the graph info is stored as: >>

[R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
Hi all, I have a text file in which the graph info is stored as: node1 node2 attr1 attr2 where there is an edge b/w node1&2 and attr1&2 are edge atttributes is there any way to create a graph using such format in r? Regards, Himanshu Mittal [[alternative HTML version

[R] File Handling in R

2012-06-28 Thread HIMANSHU MITTAL
Hello all, I have a txt file with some data which isn't in any organized form like a table, but just simple text. Is there any way to read the file char by char and store the necessary characters? Regards, Himanshu Mittal [[alternative HTML version de

Re: [R] Compare two matrices in r

2012-06-12 Thread HIMANSHU MITTAL
, y) >is.matrix(x) && is.matrix(y) && dim(x) == dim(y) && all(x == y) > > matequal(a, b) # FALSE > matequal(d, b) # TRUE > > > Hope this helps, > > Rui Barradas > > Em 12-06-2012 08:52, HIMANSHU MITTAL escreveu: > >> Dea

[R] Compare two matrices in r

2012-06-12 Thread HIMANSHU MITTAL
Dear all, I want to compare two matrices . the code must return True only when all the elements of the two matices match. How can this be done in R ? Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://sta

[R] error while usig "tm" package

2010-03-17 Thread Himanshu B. Dave
I have recently started using "tm" package by Feinerer, K. Hornik, and D. Meyer. While trying to create a term-document matrix from a corpus (approxly 440 docs) I get the following error: tdm <- TermDocumentMatrix(tmp, control=list(weighting=weightTfIdf, minDocFreq=2, minWordLength=3)) *Error in r

Re: [R] Saving results of Kruskal Walis test

2008-10-17 Thread Himanshu Ardawatia
Thank you Phil, Bernardo and Jorge for all your help. All your suggested options work very well ! Regards Himanshu \\ On Fri, Oct 17, 2008 at 5:01 AM, Bernardo Rangel Tura <[EMAIL PROTECTED]>wrote: > Em Qui, 2008-10-16 às 22:31 +0200, Himanshu Ardawatia escreveu: > > Hello, >

[R] Saving results of Kruskal Walis test

2008-10-16 Thread Himanshu Ardawatia
.1326 I am wondering if I am making a mistake with using write.table (It works very well saving results from anova analysis) or is there any other way to save results in a file for future use.. Thanks Himanshu \\ [[alternative HTML version deleted]] ___

[R] Running anova on different datasets

2008-10-11 Thread Himanshu Ardawatia
so that I can analyse the files for the right P-value... 4. Some of my datasets (whose mean to compare) do not have same number of values (for example some of them have 60 values while others have 10 values only). Does such a contrast affect anova ? If yes , how to deal with it ? Thanks Himanshu