Re: [R] Forking and adapting an R package

2016-07-13 Thread timo
On Jul 13, 2016 15:02, Adams, Jean wrote: > > Timo, > > A couple of thoughts ... > > First, could you achieve what you want by simply modifying (your own copies > of) a function or two from the hexbin package, without having to modify the > entire package? This might

[R] Forking and adapting an R package

2016-07-12 Thread timo
uch lost. I googled for "adapt R package and debug" and so forth but couldn't find any tutorial or anything. Thanks, Timo __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-he

[R] R problem

2015-01-31 Thread Camilla Timo
Hi there, I have a problem, i have a dataset, in which there are time series from 2010- to 2014, like this: -2014-01-30 15:39:46 -2012-04-20 14:49:02 And so on . I want to have a situation in which there are days of week expressed in word, because I have to calculate days of week and on the ot

[R] Strange results using match and which function

2013-11-04 Thread Timo Schmid
) [1] 8 > > which(0.12==tau) integer(0) > which(0.16==tau) [1] 8 > > 0.14%in%tau [1] FALSE > 0.16%in%tau [1] TRUE Thanks in advance Timo [[alternative HTML version deleted]] __ R-h

[R] No speed effect by using RcppArmadillo compared to R in matrix operations

2013-10-26 Thread Timo Schmid
Hello, I am looking for a way to do fast matrix operations (multiplication, Inversion) for large matrices (n=8000) in R. I know R is not that fast in linear algebra than other software. So I wanted to write some code in C++ and incorporate this code in R. I have used the package RcppArmadillo,

[R] Incorporate Julia into R

2013-10-17 Thread Timo Schmid
in advance, Timo [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] count NAs with aggregate

2013-03-25 Thread Timo Stolz
end up with a matrix containing zeros, although there are missings in the data frame. I'd highly appreciate a hint! Thanks a lot, Timo Stolz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] SAR structure in linear mixed model in R

2012-07-26 Thread Timo Schmid
R-model available. How can I incorporate the matrix G directly into the formula? Thank you very much for your help. Cheers, Timo -- View this message in context: http://r.789695.n4.nabble.com/SAR-structure-in-linear-mixed-model-in-R-tp4637941.html Sent from the R help mailing

[R] compressing/reducing data for plot

2011-10-17 Thread Timo Schneider
mple application (makes no sense for this kind of data though) data <- data.frame(a=rnorm(1), b=rnorm(1)); #dataset, threshold get_significant_rows_1(data, 0.01) here Thank you for any helpful advice or comments. :-) Regards, Timo

[R] Mathematical expressions in the group labels in lattice

2011-09-13 Thread Timo Schmid
Hi, I am working with the lattice package and I want to label to groups in the xyplots with mathematical expressions. I short example for this library(lattice) Case<-factor(rep(1:2,each=300)) xx<-rnorm(600,0,1) yy<-rnorm(600,0,1) xyplot(yy~xx|Case) This results in two scatter plots with label

[R] nlrob(...) returns error message

2011-05-16 Thread Timo Schlaefer
call the function, I always get the error message "Error in is.null(x) : 'x' is missing". I do not use the variable "x" at all so this must be some kind of different problem.   Can anyone help me out here?   Many thanks   Timo   Kar

[R] Plotting lines with equidistant points for identification

2011-04-19 Thread Timo Schneider
equidistantly over the whole graph, regardless of the number or position of data-points. Does anyone have an idea how to achieve this? Thanks, Timo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the post

Re: [R] Function for gruping similar variables?

2010-07-08 Thread Timo W
Does anyone have an idea on this? On 6 Lip, 11:32, Timo W wrote: > Hi, > > I have a matrix of results of multiple 2x2 chi^2 tests, non- > significant tests are marked as TRUE. Is there a function for grouping > those variables in a similar way LSD.test from agricolae library doe

Re: [R] Function for gruping similar variables?

2010-07-08 Thread Timo W
Does anyone have an idea on this? On 6 Lip, 11:32, Timo W wrote: > Hi, > > I have a matrix of results of multiple 2x2 chi^2 tests, non- > significant tests are marked as TRUE. Is there a function for grouping > those variables in a similar way LSD.test from agricolae library doe

Re: [R] Function for gruping similar variables?

2010-07-08 Thread Timo W
Does anyone have an idea on this? On 6 Lip, 11:32, Timo W wrote: > Hi, > > I have a matrix of results of multiple 2x2 chi^2 tests, non- > significant tests are marked as TRUE. Is there a function for grouping > those variables in a similar way LSD.test from agricolae library doe

[R] How can I calculate Q-correlations?

2010-07-07 Thread Timo Stolz
I need to calculate Q-correlations, in order to quantify differences between the profiles of my tested persons. Has anybody any experience doing that? Which command/package targets Q-correlations? Timo __ R-help@r-project.org mailing list https

Re: [R] how to simplify a table

2010-07-06 Thread Timo W
see: ?cut On 6 Lip, 12:49, Simone Gabbriellini wrote: > Hello List, > > as a result of a table(), I have this: > >  0  1   3  4  5  6  7  9 11 12 13 14 16 17 18 19 20 21 22 24 27 28 > 27  2  2  2  2  2  1  2  1   3   2   1   2  1   1   3  1   1   1   2  1   1 > > I would like to simplify it by g

[R] Function for gruping similar variables?

2010-07-06 Thread Timo W
5, 6, & 7 that don't significantly differ from each other. Is there any _simple_ way to mark all of them as a group? If you have any ideas, I'd be grateful. Thanks in advance, Timo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [R] Grouping data in dataframe

2009-07-15 Thread Timo Schneider
12 24 29 1 > 3 10 22 34 1 > 4 25 50 60 2 > 5 24 53 62 2 > 6 21 49 61 2"),header=TRUE) > > print(DF) > print(str(DF)) > > aggregate(DF,list(DF$Size),median) Yes, thanks to you and all the other people who helped! The aggregate function is exactly w

[R] Grouping data in dataframe

2009-07-14 Thread Timo Schneider
just overlooked the simple solution to the problem described above? Regards, Timo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provid

[R] how to import from SPSS without shortening variable names

2008-08-19 Thread Timo Stolz
Hello, as I import '.sav' files from SPSS, the variable names are shortened to 8 uppercase characters: "sex_of_therapist" will become "SEX_OF_TH" Is there a way around this? How can I retrieve the full names? Greets fro

[R] how to correlate nominal variables?

2008-07-14 Thread Timo Stolz
Dear R-Users, I need functions to calculate Yule's Y or Cramérs Index, in order to correlate variables that are nominally scaled? Am I wrong? Are such functions existing? Sincerely, Timo __ R-help@r-project.org mailing list https://stat.et