Panel Data In R. Each component of the panel_data() needs to know the id and wave c