Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fosr plot doesn't like it when fosr.obj$data is of class tbl_df #8

Open
jeff-goldsmith opened this issue Mar 22, 2017 · 0 comments
Open

Comments

@jeff-goldsmith
Copy link
Member

Usually not a problem, but it can come up if the covariate data are organized using dplyr and then the response matrix added using something like data$reponse = response_mat.

The first issues are in plot_shiny.fosr - the expression
fosr.obj$data[,names(attributes(terms(fosr.obj$terms))$dataClasses)[1]]
can be swapped with
fosr.obj$data[[ names(attributes(terms(fosr.obj$terms))$dataClasses)[1] ]]

However, there's another issue that comes up in making and baking the lasagna plot that I don't know how to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant