td.solve: Solve a system of equations

Description Usage Arguments Details Value Examples

View source: R/td.solve.R

Description

Function solves a system of equations via a matrix.

Usage

1
td.solve(tdf, rhscols)

Arguments

tdf

td data frame.

rhscols

vector of column names to solve for against the other matrix columns.

Details

This function produces a correlation matrix from the columns that make up the td data frame. It then uses the 'solve' function in R to solve for the right hand side columns based on that matrix.

Value

vector or matrix of solved coefficients.

Examples

1
2
3
4
## Not run: 
td.solve(tdf, "churn")

## End(Not run)

nonsleepr/teradataR documentation built on May 23, 2019, 9:32 p.m.