Learn R Programming

PCPS (version 1.0.7)

check.formula: Internal function

Description

Internal function to check the validity of left hand side in a formula object.

Usage

check.formula(formula, vectornames)

Arguments

formula

An object of class formula.

vectornames

A vector with names to check the index.

Value

The index of left side of the formula in vectornames.