Plan InMail credits from numbers you supply (no LinkedIn limits are built in).
Inputs: reply_rate (0..1, your measured rate), replies wanted, monthly_credits you have,
and optionally credit_price for credits you would need to buy on top of the allowance.
Summary
Functions
Printable summary.
Types
@type plan() :: %{ reply_rate: float(), replies_wanted: pos_integer(), credits_needed: pos_integer(), monthly_credits: pos_integer(), months: pos_integer(), extra_credits_first_month: non_neg_integer(), extra_cost_first_month: float() | nil }
Functions
@spec plan(float(), pos_integer(), pos_integer(), float() | nil) :: {:ok, plan()} | {:error, String.t()}
Printable summary.