Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.15 KB | None | 0 0
  1. deprfunc <- function(x) {
  2.  
  3.   Depr <- ((sum(diff(c(0, pmin((x), (c(asDepreciation$ToYr))))) * (c(asDepreciation$Value)))) / 100)
  4.   return(Depr)
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement