convdown(x, filter, boundary, convfast=F)
If n is odd, then when filter is a low-pass filter (is.low.pass(filter)==TRUE), the filtered vector is of length ceiling(n/2) and when filter is a high-pass filter (is.high.pass(filter)==TRUE), the filtered vector is of length floor(n/2).
When boundary="reflection", and both n and m=length(filter) are odd, then if is.dual(filter)==FALSE and is.low.pass(filter)==TRUE, or is.dual(filter)==TRUE and is.high.pass(filter)==TRUE, the filtered vector is of length ceiling(n/2); otherwise the filtered vector is of length floor(n/2).
Available boundary rules: