MortSmooth_tpower: Truncated p-th Power Function

View source: R/MortalitySmooth_fun.R

MortSmooth_tpowerR Documentation

Truncated p-th Power Function

Description

This is an internal function of package MortalitySmooth which constructs a truncated p-th power function along an abscissa within the function MortSmooth_bbase

Usage

MortSmooth_tpower(x, tt, p)

Arguments

x

for the abscissa of data;

tt

vector of truncation points;

p

degree of the power

Details

Internal function used in MortSmooth_bbase. The vector t contains the knots. The simplest system of truncated power functions uses p = 0 and it consists of step functions with jumps of size 1 at the truncation points t.

Author(s)

Carlo G Camarda


ungroup documentation built on May 29, 2024, 11:55 a.m.