I have panel data for many countries and many years. When I choose the country column as a cross-sectional identifier it doesn't recognize countries and I can't produce country-level graphs. I only see graphs based on years. Also I am getting that error:
Warning: Error in : Column name Years must not be duplicated.
Use .name_repair to specify repair.
Caused by error in stop_vctrs():
! Names must be unique.
x These names are duplicated:
- "Years" at locations 1 and 2.
202:
geom_smooth() using method = 'loess' and formula 'y ~ x'
Warning: Removed 1 rows containing missing values (position_stack).
Warning: guides(<scale> = FALSE) is deprecated. Please use guides(<scale> = "none") instead.
I have panel data for many countries and many years. When I choose the country column as a cross-sectional identifier it doesn't recognize countries and I can't produce country-level graphs. I only see graphs based on years. Also I am getting that error:
Warning: Error in : Column name
Yearsmust not be duplicated.Use .name_repair to specify repair.
Caused by error in
stop_vctrs():! Names must be unique.
x These names are duplicated:
202:
geom_smooth()using method = 'loess' and formula 'y ~ x'Warning: Removed 1 rows containing missing values (position_stack).
Warning:
guides(<scale> = FALSE)is deprecated. Please useguides(<scale> = "none")instead.