Package 'costdecade'

Title: Price Durability by the Decade, Not the Receipt
Description: A cheap tool replaced three times costs more than the dear one bought once, but nobody does that arithmetic at the shelf. costdecade() ranks buy-it-for-life candidates by real cost per decade, finds the exact lifespan where the dear option starts winning, and totals the spend over a full ownership horizon with replacement inflation and resale. Companion to the cost-per-decade reviews on DurablePicks <https://durablepicks.com>.
Authors: James Verlander [aut, cre]
Maintainer: James Verlander <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2026-10-22 00:08:58 UTC
Source: https://github.com/scrapertweeter3-prog/costdecade-r

Help Index


Cost per decade for a durability purchase

Description

Buy-it-for-life arithmetic: rank candidates by real cost per decade and find the lifespan where the dear option starts winning.

Usage

costdecade(price, life, rival_price, rival_life, horizon = 30,
  inflation_pct = 0, resale_pct = 0)

Arguments

price

Price of the durable candidate.

life

Expected lifespan in years.

rival_price

Price of the budget alternative.

rival_life

Expected lifespan of the alternative.

horizon

Ownership horizon in years.

inflation_pct

Replacement price inflation, percent.

resale_pct

Resale value recovered at horizon, percent.

Value

A list with cost per decade for both, horizon spends, the winner, and the crossover year.

Examples

costdecade(340, 10, 120, 2, horizon = 30)