Learn R Programming

powerHaDeX (version 1.0)

truncated_lines: Get truncated lines

Description

This function prepares the function space for semiparametric model using truncated lines.

Usage

truncated_lines(x, knots)

Arguments

x

a vector. Variable which undergoes the truncating

knots

a vector of knots in which the spline model will break