name.object: Name Elements of an Object

Description Usage Arguments Value Note Author(s)

Description

Returns an object

Usage

1

Arguments

obj

a vector or matrix

names

a character-vector specifying names

Value

the original object, with a "colnames" or "names" equal to the parameter "names". If "names" is larger than "obj", the "names" parameter is truncated appropriately. If it is smaller, then the latter part of "obj" is replaced with a numbered generic column name

Note

This method is used internally by Zelig to name the columns and elements of matrices and vectors for simulations and bootstrapped parameters.

Author(s)

Matt Owen mowen@iq.harvard.edu


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.