calculate_number_fp_powers: Calculates the total number of fractional polynomial powers...

View source: R/calculate_number_fp_powers.R

calculate_number_fp_powersR Documentation

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)

Arguments

x

A list of fractional polynomial powers for all variables.

Value

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


mfp2 documentation built on Nov. 15, 2023, 1:06 a.m.