The valueprhr package provides tools for analyzing the
relationship between direct prices (based on labor values) and prices of
production. This vignette demonstrates the main functionality of the
package.
panel <- prepare_panel_data(direct, production)
head(panel)
#> year sector direct_price production_price log_direct log_production sector_id
#> 1 2000 A 101.4395 101.3327 4.619463 4.618409 1
#> 2 2001 A 103.2093 104.8376 4.636759 4.652412 1
#> 3 2002 A 106.7681 106.8514 4.670659 4.671439 1
#> 4 2003 A 108.8386 109.5576 4.689866 4.696450 1
#> 5 2004 A 110.9679 111.9371 4.709241 4.717937 1
#> 6 2005 A 114.6829 113.6032 4.742171 4.732712 1
#> time
#> 1 1
#> 2 2
#> 3 3
#> 4 4
#> 5 5
#> 6 6