I am new to R, I am trying to use the function "RATE" from the "optiRum" package to get the rate for each loan with the following code:
market$loa