<<<<<<< HEAD Computes the natural spline basis. — AlternativeBasis • stratifiedSSLComputes the natural spline basis. — AlternativeBasis • stratifiedSSL

Computes the natural spline basis.

<<<<<<< HEAD
AlternativeBasis(X, S, num_knots, basis_type = "interact")
=======

Usage

AlternativeBasis(X, S, num_knots, basis_type = "interact")
>>>>>>> e32a060aec520f495c0371cd7ee97e715754fa71

Arguments

X

Covariate matrix.

S

Vector with stratum id.

num_knots

Number of knots.

basis_type

Type of basis to use.

<<<<<<< HEAD

Value

Matrix containing basis.

=======

Value

Matrix containing basis.

>>>>>>> e32a060aec520f495c0371cd7ee97e715754fa71