deg_func: Internal function used to fit roots of a polynomial made up...

View source: R/utils.R

deg_funcR Documentation

Internal function used to fit roots of a polynomial made up of the product of bias factors.

Description

Internal function used to fit roots of a polynomial made up of the product of bias factors.

Usage

deg_func(x, y, n, d)

Arguments

x

A number. The variable to solve for.

y

A number. The observed risk ratio.

n

A number. Degree of polynomial in the numerator.

d

A number. Degree of polynomial in the denominator.

Value

Returns the value of the expression. Used for root solving. At the function's roots, will return 0.


EValue documentation built on Aug. 29, 2025, 5:20 p.m.