wls.coefs: wls.coefs

Description Usage Arguments Value

Description

Calculates coefficients for a single response with weights.

Usage

1
2
wls.coefs(x, y, weights = NULL, method = c("chol", "ginv", "svd", "qr"),
  tol = 1e-07)

Arguments

x

Design matrix

y

Response vector

weights

Weights vector.

method

Coefficient calculation method. See mols.coefs.

tol

Tolerance for svd coefficient method.

Value

Vector of fit coefficients


PfaffLab/mwlsr documentation built on May 12, 2019, 5:22 p.m.