首页 > 解决方案 > 删除绘图中的自动标题 (R)

问题描述

我正在使用包“lpirfs”中的函数“lp_lin_panel”,例如:

hor3.1_h <- lp_lin_panel(data_set = panel_3 , data_sample = "Full" , endog_data = "E.tertiary", cumul_mult = TRUE , shock = "lv18_bank_c", diff_shock = FALSE , iv_reg = FALSE , instrum = NULL , panel_model = "within" , panel_effect = "individual" , robust_cov = "vcovSCC" , use_gmm = FALSE, gmm_model = "onestep", gmm_transformation = "d", c_exog_data = cv_3_h, l_exog_data = NULL, confint = 1.96 , hor = 6  )


当我使用命令时:

plot(hor3.1_h , main = NULL)

我仍然在情节中获得自动标题。像这样

在此处输入图像描述

有没有其他方法可以删除它?

谢谢

标签: rplot

解决方案


尝试使用:

plot(hor3.1_h) + labs(title = "")

推荐阅读