Re: [R] How to measure level of similarity of two data frames

2012-05-26 Thread Lamke
Thanks Ozgur. I will definitely try them out. Cheers, Kel -- View this message in context: http://r.789695.n4.nabble.com/How-to-measure-level-of-similarity-of-two-data-frames-tp4631466p4631478.html Sent from the R help mailing list archive at Nabble.com. ___

[R] How to measure level of similarity of two data frames

2012-05-26 Thread Lamke
Hi group, I've been thinking of calculating euclidean distance between each column of a data frames that each consists of standardized numerical columns. However, I don't know if there's a way of summarizing the overall distance by some kind of metrics. If anyone know a proper way of doing so an

[R] Competing Risk with survey data

2011-08-29 Thread Lamke
Dear Group, Has anyone conducted CR analysis using survey data i.e. with sampling weights. I've already looked up CRAN task view in survival analysis. Any lead is appreciated. Thanks! Kel -- View this message in context: http://r.789695.n4.nabble.com/Competing-Risk-with-survey-data-tp3777189

Re: [R] re-write plot function for ggplot

2011-06-01 Thread Lamke
You should post it on the ggplot2 mailing list. For the long run I would suggest getting the book as it's extremely helpful. -- View this message in context: http://r.789695.n4.nabble.com/re-write-plot-function-for-ggplot-tp3565868p3565950.html Sent from the R help mailing list archive at Nabbl

Re: [R] Simple question on eval

2010-12-01 Thread Lamke
Thank you so much Joshua. That's exactly what I am looking for. What I wanted to do is to pass a parameter to a function and I have to run the functions 30 times. Instead of typing them all out, I created a long string of "f(a);f(b);f(c) ..." using paste() and use eval and parse to evaluative t

[R] Simple question on eval

2010-11-30 Thread Lamke
Hi group, I did some searches about this very simple question. Hope someone can help me out. If I have the following: a <- "x <- 2^2" a [1] "x <- 2^2" How do I evaluate the expression that gets me an answer of 4? I tried the following: > eval(a) [1] "x <- 2^2" > get(a) Error in get(a) : obj

[R] Unable to load EBImage

2010-04-09 Thread Lamke
Hi group, I've spent half a day trying to figure this out and searched through different forums. I've tried to load EBImage but am getting the following problem: >Error in inDL(x, as.logical(local), as.logical(now), ...) : > cannot initialize ImageMagick >Error: package/namespace load failed