as.bootvector {Zelig}R Documentation

Convert Boot Object to a Vector

Description

Receives a list with 2 slots as its input, and returns a vector of the two smashed together alongwith the offsets used to reverse-construct the object.

Usage

  as.bootvector(obj)

Arguments

obj

a list with two slots: “alpha” and “beta”. Respectively, these represent bootstrap samples for ancillary parameters and systematic component of the bootstrapped GLM.

Value

a list containing the resulting vector, as well as an object used to reverse-build the list (“obj”) from the resulting call to “bootstrap”.

Note

This method is used internally by Zelig to allow an intuitive, “param”-like API for bootstrapping.

Author(s)

Matt Owen mowen@iq.harvard.edu


[Package Zelig version 4.2-1 Index]