search for: halfintx

Displaying 1 result from an estimated 1 matches for "halfintx".

2010 Mar 16
2
Help running a Fortran subroutine from R
...ng... > dyn.load("C:/f/NEW/filter2d.dll") > is.loaded("filter2d") [1] TRUE Then I pass the parameters according to the order they are specified in the filter: array <- data.matrix(read.table("time702.txt",header=F)) array1 <- array nx <- 60 ny <- 120 halfintx <- 3 halfinty <- 3 mask <- matrix(array(rep(1.0,25)),5,5) subarray <- matrix(0,5,5) subarray1 <- matrix(0,5,5) Then I run the Fortran subroutine... out <- .Fortran("filter2d", as.single(array), as.single(array), as.integer(nx), as.integer(ny), a...