Ownership-methods {antitrust}R Documentation

Methods for Manipulating Ownership Matrices

Description

ownerToMatrix converts an ownership vector (or factor) to a k x k matrix of 1s and 0s.

ownerToVec converts a k x k ownership matrix to a length-k vector whose values identify an owner.

Usage

## S4 method for signature 'Antitrust'
ownerToMatrix(object, preMerger = TRUE)

## S4 method for signature 'VertBargBertLogit'
ownerToMatrix(object, preMerger = TRUE)

## S4 method for signature 'Antitrust'
ownerToVec(object, preMerger = TRUE)

Arguments

object

An instance of the Antitrust class.

preMerger

The ‘preMerger’ takes on a value of TRUE or FALSE, where TRUE invokes the method using the pre-merger values, while FALSE invokes the method using the post-merger ownership structure.

Author(s)

Charles Taragin ctaragin@ftc.gov

Examples

showMethods(classes="Antitrust") # show all methods defined for the class


[Package antitrust version 0.99.25 Index]