Bug in visregFactorPanel when partial = FALSE
Opened this issue · 0 comments
raymondben commented
visregFactorPanel
with partial = FALSE
gives a plot with the text "Error using packet nn object 'ind' not found" on each panel. It stems from:
https://github.com/pbreheny/visreg/blob/master/R/visregFactorPanel.R#L31
The variable ind
is defined when partial = TRUE (https://github.com/pbreheny/visreg/blob/master/R/visregFactorPanel.R#L18) but not when partial is FALSE (https://github.com/pbreheny/visreg/blob/master/R/visregFactorPanel.R#L16).
This change was introduced in f153e5c