bug fix in to_delta

error fixed in converting named ratio with a numeric reference
introduction rmd