Description Format Construction Fields Methods
(Not done yet.) A class that contains methods and data of firms in a microsimulation model.
R6::R6Class object inheriting from Agent<-Entity.
1 |
.data::data.table::data.table
Microdata of firms.
id_col::character(1)
Name of the id colum in .data
NULL
has_job_offers(ids)
(integer()
|NULL
)->(logit()
)
Returns a logical vector of the same length as ids
if it is given. Otherwise,
return a logical vector of the same length as the total number of firms in Firm
.
available_jobs(ids)
(integer()
|NULL
)->(integer()
)
Returns number of available jobs by firms in ids
update_number_of_workers(expression)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.