From 7c1c1e51b5a700927ce7cb5f79d687ffcb59a2f5 Mon Sep 17 00:00:00 2001 From: agdamsbo Date: Tue, 9 Oct 2018 14:36:13 +0200 Subject: [PATCH] fix --- R/plot_ord_odds.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot_ord_odds.R b/R/plot_ord_odds.R index 32f3bd7..c8d8453 100644 --- a/R/plot_ord_odds.R +++ b/R/plot_ord_odds.R @@ -19,7 +19,7 @@ plot_ord_odds<-function(x, title = NULL,dec=3,lbls=NULL){ rodds<-round(odds,digits = dec) if (!is.null(lbls)){ - odds$vars<-paste0(v.names," \n",paste0(rodds$or," [",rodds$lo,":",rodds$up,"]")) + odds$vars<-paste0(lbls," \n",paste0(rodds$or," [",rodds$lo,":",rodds$up,"]")) } else { odds$vars<-paste0(row.names(odds)," \n",paste0(rodds$or," [",rodds$lo,":",rodds$up,"]"))