Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- deprfunc <- function(x) {
- Depr <- ((sum(diff(c(0, pmin((x), (c(asDepreciation$ToYr))))) * (c(asDepreciation$Value)))) / 100)
- return(Depr)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement