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

mode() v. class() issues #21

Closed
droglenc opened this issue Oct 27, 2016 · 1 comment
Closed

mode() v. class() issues #21

droglenc opened this issue Oct 27, 2016 · 1 comment
Assignees

Comments

@droglenc
Copy link
Contributor

droglenc commented Oct 27, 2016

Consider changing the class()es returned by iHndlFormula() to mode()s. An example problem occurs with the following where hist.formula() does not recognize the result as numeric because it checks the class (i.e., array) and not the mode (i.e., numeric).

res <- combn(2:9,2,mean)
hist(~res,w=0.5)
@droglenc droglenc self-assigned this Oct 27, 2016
@droglenc
Copy link
Contributor Author

droglenc commented Nov 1, 2016

Modified iHndlFormula() for the single variable case where an array was sent. This addresses this simple example.

@droglenc droglenc closed this as completed Nov 1, 2016
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