name.object {Zelig}R Documentation

Name Elements of an Object

Description

Returns an object

Usage

  name.object(obj, names)

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


[Package Zelig version 4.2-1 Index]