Closed christophsax closed 8 years ago
a better error message here:
td(cars ~ 1, to = 1, method = "denton-cholette")
# Error in `diag<-`(`*tmp*`, value = -1) :
# only matrix diagonals can be replaced
td(cars ~ 1, to = 1, method = "denton-cholette")
# Error in td(cars ~ 1, to = 1, method = "denton-cholette") :
# the left hand side of the formula must be either a time series or numeric.