[R] ~ . help

2008-07-30 Thread renata.camargo05
Hello, What the tilde and dot means? I believe is something to do with formula, but how do they work? An example: (fk5 ~ ., size = 10) Do you know what the fk5 ~ . means? Thank you! Renata - Email sent from www.virginmedia.com/email Virus-checked

[R] Need help

2008-07-30 Thread renata.camargo05
Hello, Can someone help me to understand the meaning of the following R line? list(fk5 ~ .) Thanks, Renata - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam

[R] FFT - (STATS) - is this correct?

2008-07-30 Thread renata.camargo05
Hello, I have calculated the fourier transform of the series enclosed at the end of this message, by doing: library(stats) x - readLines(file1.txt) x.num - as.numeric(x) ft.x.num - fft(x.num) My question is: why is the first value (Real) of ft.x.num that big? (954.833870) all the other

[R] FOURIER TRANSFORM HELP

2008-07-30 Thread renata.camargo05
Hello, I have a series and I need to run a Fourier Transform for that series. I have done that using the function fft from stats package. However I am not sure whether the result I am getting is correct or not. Seems that the first value of the Fourier Transform list is the sum of all elements

[R] stringdot ?

2008-07-29 Thread renata.camargo05
Dear all, I am using kernlab package in R, and I have amino acid sequences with different lenghts as input for a SVM and I need to go through this sequences using windows (sliding or fixed) of size X. Does anyone has any suggestions about which function I should use? I thought I could use