search for: nfour

Displaying 3 results from an estimated 3 matches for "nfour".

Did you mean: four
2009 Apr 26
2
eager to learn how to use "sapply", "lapply", ...
...to shake my C programming style off. I am staring at my R script and thinking "how can I improve it ?" For instance, I have a lot of loops similar to the following one and wonder whether I can replace them with a proper call to a high level R function that does the same: Nstart <- Nfour/(2^Lev) + 1 Nfinish <- Nstart -1 + Nfour/(2^Lev) LengLev <- Nfinish - Nstart + 1 NW <- floor(LengLev*N/Nfour) if(NW > 0){ for(j in Nstart:(Nstart + NW -1)){ Dw <- abs(Y[j]) Rnorm <- Rnorm + Dw^2 } } Thank you very m...
2009 Mar 28
0
R: Fortran 90 etc.
...assifiable statement at (1) ford.f90:6: c --- If wavelet order is p>100 it means that it is a symlet of the order (p-10 1 Error: Unclassifiable statement at (1) ford.f90:7: c --- Input: X - real array of signal of the length N; 1 Error: Unclassifiable statement at (1) ford.f90:8: c --- Nfour=2**Kfour - the minimum integer of 2 in the power, which is = 1 Error: Unclassifiable statement at (1) ford.f90:9: c --- LevMin, LevMax - numbers of working detail levels. 1 Error: Unclassifiable statement at (1) ford.f90:10: c --- Output: wavelet order NordOut. 1 Error: Unclassifiable stat...
2004 Aug 19
3
mtext adj= wrong with several las= (PR#7188)
Dear all, Our quite basic function mtext() does wrong adjustments in some parameter configurations. This gets obvious when using multi line texts: There is no way to properly adjust text perpendicular to axis 2, for example. Best Jens Oehlschl?gel m <- matrix(1:9, 3) colnames(m) <- c("several\nlines", "several\nlines", "several\nlines") par(mfrow=c(2,2))