[R] how to load functions from file

2012-04-03 Thread John Kohr
Hello, I have several functions in an .R file. I try to load them with load() command but it seems is not working.. if .R is in /home/user/myfunctions.R how can i load it? is there any other way? Thanks [[alternative HTML version deleted]] _

Re: [R] time-series features skewness kurtosis periodicity trend seasonality

2012-04-03 Thread John Kohr
; seasonality > Date: Tue, 3 Apr 2012 13:00:42 -0400 > > > On Apr 3, 2012, at 12:34 PM, John Kohr wrote: > > > > > Hello everyone, > > > > > I found the paper "A scalable method for time-series clustering" and > > there are proposed seve

[R] time-series features skewness kurtosis periodicity trend seasonality

2012-04-03 Thread John Kohr
Hello everyone, I found the paper "A scalable method for time-series clustering" and there are proposed several measures to characterize time-series like trend, seasonality, periodicity, serial correlation, skewness, kurtosis, self-similarity etc. They say they have implemented them on R, do y

[R] slope in curves - how to compare?

2012-02-20 Thread John Kohr
Hello, Is there any formula or way to compare slopes of different functions? If we fit 2 functions in our data, and we have 2 slope parameters, how can we compare these slopes? Plotting y=5x and y=exp(5x) in which slope is equal to 5 in both of them.. doesn't seem that it makes sense to compa

Re: [R] time-series trend classification

2012-02-19 Thread John Kohr
priori what > the form of the "trend" is. Period. > > Admitting that the data are insufficient is better than performing > misleading analyses. * > > Cheers, > Bert > > * My personal view. Others may disagree and offer more useful ways forward. > > On

[R] time-series trend classification

2012-02-19 Thread John Kohr
Hello everyone, I was looking for a way to classify time-series based on the curve-fit. I try to campute several trends so i was thinking to link each trend with a function. increase with exponential for example, increase and decrease with a gaussian etc. The possiblities are endless though an