findrelation: Find relationship between any two variables

Description Usage Arguments Value

View source: R/findrelation.R

Description

Find relationship between any two variables.

Usage

1
2
findrelation(iVar, iResp, criterion = "adj.R2", modelNames, str = FALSE,
  cRes.all, cRes.best, cRes.print, x, nlsInits, nRes)

Arguments

iVar

The first parameter.

iResp

The second parameter.

criterion

What model fit parameter is used for ranking? (Default: adj.R2)

modelNames

A vector of model names chosen from "SL", "Quad", "SQuad", "Exp", "Log", "nls","CP"

str

TRUE/FALSE Is this a 'strength' type model fitting? (whether to use ^2 and sqrt functions)

cRes.all

A dataframe of all results, passed in by the netSEMm function

cRes.best

A dataframe of best results, passed in by the netSEMm function

cRes.print

A dataframe of results to print, passed in by the netSEMm function

x

A dataframe of data values, passed in by the netSEMm function

nlsInits

A vector of nls initialization coefficients, passed in by the netSEMm function

nRes

number of cells in the print variable, value passed in by the netSEmm function

Value

a list of the following items:


netSEM documentation built on May 2, 2019, 6:32 a.m.