Comments (6)
No that is a bug. There is a check somewhere in there for ordering that is apparently broken or somehow the ordered factor is being coerced to a unordered factor.
My computer has been kaput and being repaired until today and I'm a bit behind on other work, but I will get to this soon.
Thanks for the report and glad you like the package!
from edarf.
Thanks for your thoughts on this!
from edarf.
Totally forgot about this for a while, sorry.
So you are right: by default ggplot2 groups factors (including ordered ones). So even though geom_line is called it just prints the points. The alternative would be to coerce ordered factors to integers. I think then I can probably label the axis using the factor labels. Will work on this when I get a chance. Hopefully the whole thing is a bit more reliable now!
from edarf.
Thanks!
from edarf.
So I spent some time with this today and I think it makes sense to just do the easy thing here, which is to cast factors to integers, and draw lines if the factor was ordered. So your example should be fixed now. I don't see an easy way of adding the labels but I may revisit this at a later date when I have some more time. If you wanted to take a crack at it you are more than welcome to. I refactored and simplified things a good bit.
from edarf.
Thanks so much! I tested it with my example above and it works nicely!
from edarf.
Related Issues (20)
- randomForest.default
- multivariate tests
- dependencies failed to install HOT 3
- error with install from devtools HOT 9
- patch or remove party var_est HOT 1
- refactor/expand plot functions HOT 1
- add vignette and example data
- license missing HOT 1
- Examples in the help files HOT 5
- Test of proximity matrix missing? HOT 1
- Reference in the joss paper above image HOT 3
- Example does not work HOT 2
- readme HOT 6
- Cite packages in the paper? HOT 3
- OOB parameter for variable importance when using party HOT 1
- Support for random forest fit by ranger HOT 5
- [feature request] interpreting forests by extracting simple rules HOT 1
- Possible bug: Edarf functions give error when using a ranger object with categorical variables HOT 6
- 'uniform = FALSE' does not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edarf.