Description Usage Arguments Value Examples

Calculate payment based on APR, Amount Financed and Term (in months). Should yield same results as Excel's "PMT" function

1 | ```
pmt(r, p, n)
``` |

`r` |
A float number representing APR. |

`p` |
A float number representing amount financed |

`n` |
An integer representing term in months |

A float number representing monthly payment

1 | ```
alf_payment <- pmt(0.17, 30000, 72)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.