ImportFSD: Import Firm Size and Firm Age Data

View source: R/fitFSD.R

ImportFSDR Documentation

Import Firm Size and Firm Age Data

Description

To read firm size and/or firm age data from built-in datasets.

Usage

 ImportFSD(x,type,year)

Arguments

x

A built-in firm size and/or firm age dataset.

type

type of data: "size" or "age". If missing, read the age data from rows and the size data from columns.

year

The number year the firm size/age data to be read. If missing, assume the year is 2014.

Value

xy

a matrix of joint frequency distribution table.

breaks

the class boundaries for firm age as a component age, and for firm size as a component size.

size

a 'bdata' subject of the firm size data

age

a 'bdata' object of the firm age data

Examples


 data(FSD)
 ## bivariate data
 xy = ImportFSD(Firm2)
 ## firm age of 2013
 x = ImportFSD(FirmAge, type="age", year=2013)
 ## firm size of 2013
 y = ImportFSD(FirmSize, type="size", year=2013)


bda documentation built on Sept. 11, 2024, 9:01 p.m.

Related to ImportFSD in bda...