You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explanation of the smaller data frame created by summarize() incorrectly attributes it to tibble printing not to the change in the data.
Current language: You may also have noticed that the output from these calls doesn’t run off the screen anymore. It’s one of the advantages of tbl_df over dataframe.
Change to explanation of summarize() only keeping columns it uses or creates.
Would be good to have explanation of printing of message summarise() has grouped output by 'village'. You can override using the .groups argument. even when ungroup() is used. Could also be more explicit about where it is indicated that the output is a grouped tibble.
Which part of the content does your suggestion apply to?
proposed solution to: datacarpentry#527
moved the line about the advantage of tbl_df to the example where the first tibble based output is created as it is not related to the summarize function.
added an explanation on how to identify grouped vs ungrouped tibbles in the output
Try to solve two of the previous mentioned problems by moving the statement about the advantages of tibble over dataframe to the first example on the page as it is unrelated to the summarize function. Also added an explanation on how to identify grouped vs ungrouped tibbles in the output.
How could the content be improved?
Two improvements to be made:
Current language: You may also have noticed that the output from these calls doesn’t run off the screen anymore. It’s one of the advantages of
tbl_df
over dataframe.Change to explanation of summarize() only keeping columns it uses or creates.
summarise()
has grouped output by 'village'. You can override using the.groups
argument. even whenungroup()
is used. Could also be more explicit about where it is indicated that the output is a grouped tibble.Which part of the content does your suggestion apply to?
https://datacarpentry.org/r-socialsci/instructor/03-dplyr.html#the-summarize-function
The text was updated successfully, but these errors were encountered: