plot_HP: Plotting HPI data.

Description Usage Arguments Value Examples

View source: R/HPI.R

Description

Plotting HPI data.

Usage

1
plot_HP(dt, regionnames = NULL, title = "Home Price Index")

Arguments

dt

HPI data

regionnames

either a list of State Names or a list of ZIP3 codes.

title

Title appearing the chart

Value

dygraphs object

Examples

1
2
3
     # get recent ZIP3 Home Price Index (quarterly) since 2005
     zip3hpi_Q    <- get_ZIP3_hpi(from_year=2005, out.Monthly=FALSE)
     plot_HP(dt=zip3hpi_Q,  regionnames = c("010", "011", "012") , title="Quarterly HPI for selected zips")

xdderekchen/rEconEnv documentation built on Feb. 23, 2020, 7:55 a.m.