Learn R Programming

mfp2 (version 1.0.0)

calculate_number_fp_powers: Calculates the total number of fractional polynomial powers in adjustment variables.

Description

This function takes a list x containing fractional polynomial powers for all variables and calculates the total number of powers across the variables.

Usage

calculate_number_fp_powers(x)

Value

Numeric value denoting total number of fractional polynomial powers in the adjustment variables.

Arguments

x

A list of fractional polynomial powers for all variables.