Error in mortgage(2e+05, 6, 20) : object \'P\' not found Can someone tell me where is the error?
mortgage <- function(A = 200000, r = 3.9, y = 30) {