hor.convdown(x, filter, boundary="periodic", fast=F) ver.convdown(x, filter, boundary="periodic", fast=F)
If ncol(x) is even, ver.convdown returns a nrow(x) by ncol(x)/2 matrix. If ncol(x) is odd, see convdown for details on the number of columns of output.