-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error when trying out the reproducible example #9
Comments
Looks like you missed a |
No. Look at the |
That's because
Does:
work? If so, it's almost certainly a missing |
@hrbrmstr I am having some unexpected behavior with the example. |
Which example in particular (can you paste the exact code you are using)? |
sorry, it is not working for me at all... not even with the basic example:
|
can you paste the output of On Thu, Aug 6, 2015 at 9:01 PM, jpmarindiaz [email protected]
|
that's weird
|
try |
Thanks, it is working! But now, when I try to pass the names of the columns as variables I get an error:
|
@hrbrmstr Thanks for this fantastic resource. I got a problem when I tried this example: babynames %>% The error I got is You have any idea about this? Thanks! |
ah, yes. `tally()` changed behaviour. make it `streamgraph("name", "nn",
"year")`. I'll get the example updated.
…On Mon, Feb 27, 2017 at 1:15 PM, ShawnyTan ***@***.***> wrote:
@hrbrmstr <https://github.com/hrbrmstr> Thanks for this fantastic
resource. I got a problem when I tried this example:
`library(dplyr)
library(babynames)
library(streamgraph)
babynames %>%
filter(grepl("^Kr", name)) %>%
group_by(year, name) %>%
tally(wt=n) %>%
streamgraph("name", "n", "year")`
The error I got is
Error in [.data.frame(data, , c(key, value, date)) :
undefined columns selected
You have any idea about this? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfHttIJ0a35cEARfy6JhzvSGgZMSBT3ks5rgxLMgaJpZM4EA6x5>
.
|
Oh it works! Thanks a lot! But I don't quite understand the error. How do I generalize this adaption to my case? |
I got it. Just do streamgraph(dat,"X","n","Y") |
aye. |
I've just installed the latest version of
streamgraph
(0.7) and get the following error.The text was updated successfully, but these errors were encountered: