[R] Weird (wrong?) result for fft

2021-03-22 Thread Filippo Monari
-2+0i -2-2i > ft(fft(x), inverse = TRUE)/length(x) [1] 1+0i 2+0i 3+0i 4+0i Am I doing something wrong or is there a bug somewhere? Regards, Filippo [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

[R] Fwd: Splines

2016-09-05 Thread Filippo Monari
Hi, does anybody know what header file includes the bspline functions used in R? Regards, Filippo Forwarded Message Subject:Splines Date: Sun, 04 Sep 2016 09:12:37 +0100 From: Filippo Monari To: R-help@r-project.org Hi, I would like to use the C spline

[R] Splines

2016-09-04 Thread Filippo Monari
Hi, I would like to use the C spline functions if R for a FORTRAN subroutine. What header file should I refer to? Regards Filippo Monari __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] waller test

2014-12-09 Thread Filippo Marolla
I am trying to run a duncan-waller test, but i don't get how to implement it. These my scripts based on dataframe "lookout": attach(lookout) sqrt.res<-sqrt(res.hr.km) bartlett.test(sqrt.res~time_slot)#no homoscedasticity welchtest<-oneway.test(sqrt.res~time_slot)#means are differents wallertest<

[R] .C and .Fortran

2014-09-03 Thread Filippo Monari
is.loaded() function... So can anyone explain to me the difference and which is better to use? Thanks in advance, Filippo __ 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.o

[R] -fopenmp

2014-04-02 Thread Filippo
B test.f90 -fopenmp but is seems not working. The program correctly print me out four times 'hello' if I compile outside R simply using gfortran with the flag -fopenmp. If someone can help me I would be very grateful. Thanks in advance and re

[R] prod and F90 product

2013-11-07 Thread Filippo
intent (out) :: q integer :: i p = product(x) q=1 do i = 1, n q = q*x(i) end do end subroutine testProd I check the lowest possible number and seems to be the same for both R and F90. Can anyone help me understanding this behaviour? Thank you in advance R

[R] garchFit updating

2013-10-23 Thread Filippo Monari
and thanks for the help, Filippo structure(c(0.0542541124843048, -0.0157708054036299, -0.134039880449308, 0.989436264667638, -1.82400460275666, 0.398352299551679, 0.937859223800686, -0.778439095238824, 0.576422929092111, -0.105469996925727, 0.357790253093597, -0.989938117002765, 0.71637

[R] garchFit

2013-10-23 Thread Filippo Monari
odel. My model is an ARMA(1,5)/GARCH(2,0), could be a probelm coused by overfitting? All my parameters seems to be significant... Can anyone help me to undestand way this is happening? Below there is the output from the function. Thanks in advance , regards, Filippo. This is the output from the fu

[R] reference class error

2013-10-22 Thread Filippo Monari
.self$Y = Y .self$X = X .self$CvFun = CvFun .self$CfHp = CfHp .self$lam = lam .self$A = A .self$basis = basis } ) ) the second takes an object of the first class in two of its fields. I load the first clas

[R] fortran random number

2013-08-04 Thread Filippo
the R seed. Regards, Filippo __ 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 provide commented, minimal, self-contained, reproducible code.

[R] strange boolean results

2013-06-13 Thread Filippo Monari
Hi, anyone can explain to me the following? > rho [1] 0.9452398 0.8792735 0.9641829 0.9876954 0.9993560 0.9826084 1.000 [8] 1.000 0.7982916 1.000 0.3361956 > any(rho >= 1) [1] FALSE thanks, regards Filippo __ R-help@r-pr

[R] Fortran modules

2013-06-11 Thread Filippo Monari
le to load shared object '.../myF90.so': .../myF90.so: undefined symbol: __mymodue_MOD_myfunction Am I doing something wrong or R cannot support subroutine using modules? Thank you in advance, Filippo __ R-help@r-project.org mailing list https://

[R] help pairs

2013-03-20 Thread Filippo Monari
ch plot of the matrix. I have been able to create the correct colour scale but I have not been able to change colors depending on the plot of the matrix. Could anyone give any advice? Regards, Filippo __ R-help@r-project.org mailing list https://st

[R] problems when loading package GenABEL

2013-01-08 Thread Filippo Biscarini
o my colleagues here and in different cities! Does anybody know what's going on and how to tackle the problem? Thank you in advance for any useful information. Filippo Biscarini __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

[R] Help text in plot

2011-10-18 Thread filippo gheri
n't understand how it works (with axis.text.y???how) thanks a lot filippo [[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://ww

[R] complex search between dataframes

2011-06-02 Thread Filippo Beleggia
osition" of data2 are included between any "from" and the corresponding "to" of data1. So in this case I would need to somehow be able to extract 2,20 and 85, corrisponding to the "name"s 1,3 and 9. Thank you very much! Filippo _

[R] overlapping labels

2007-12-03 Thread Biscarini, Filippo
overlapping (by, for example, placing labels alternatively above and below the plotted curve), or whether I should use another set of graphical functions (grid or lattice packages). Does anybody have suggestions? Thank you, Filippo Biscarini PS: These are the lines of codes that I have been using to

[R] saving as PDF in R2.6.0 (MS Windows GUI)

2007-10-16 Thread Filippo Piro
I wonder why using the MS Windows GUI menu to save a graphic as PDF in R2.6.0 results in the following message: Error: invalid specification font furthermore: Warning messages: 1: font family not found in PostScript database 2: font family not found in PostScript database Filippo Piro