Learn R Programming

rstpm2 (version 1.6.5)

coef<-: Generic method to update the coef in an object.

Description

Generic method to update the coef in an object.

Usage

coef(x) <- value

Value

The updated object is returned.

Arguments

x

object to be updated

value

value of the coefficient to be updated.

Details

This simple generic method is used for the numerical delta method.

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x, value) 
UseMethod("coef<-")

Run the code above in your browser using DataLab