Hi, guys, I have two datasets, One with a nominal wage of Teachers and another data with nominal wages in the country and a transformation to real wage. I would like to create a column with real age for Teachers using the datasets of real wages next to my nominal wage for Teachers.
For example Data_Frame <- data.frame (
Nominal_wage = c(260, 320, 320,302, 300, 260,260,300,320,350,350,350),
Real_wage = c(269, 331, 331, 330,310, 269,269,310,331,362,362,362)
)
Print the data frame
Data_Frame
Data_Frame2 <- data.frame (
Teacher_Nonimal_wage = c(302, 260, 300,302, 300, 260)
)
Data_Frame2
So in my data frame be like
Data_Frame3 <- data.frame (
Teacher_Nonimal_wage = c(302, 260, 300,302, 300, 260),
Teacher_Real_wage = c(310, 269, 310, 330,310, 269)
)
Data_Frame3