Small fix which implements the suggestion in #29 (closed) checking that the input slope is not a vector and using as.numeric on the first element if that is the case.
Small fix which implements the suggestion in #29 (closed) checking that the input slope is not a vector and using as.numeric on the first element if that is the case.