The graph below is the national rent index (blue) as measured by the Consumer Price Index and the home price (red) is the national median price from NAR.

Apartment rents have steadily risen and are likely to accelerate a bit this year.
Home values, meanwhile, have undergone wild swings and now appear to be a better buy compared to renting.