group data by name
@PalomaLlorente wrote: I need to group a column from a data frame depending on its name. To expose the issue I set an example. Lets imagine the data. frame "section", that is the column I would like...
View Articlegroup data by name
@andresrcs wrote: If I understand you correctly this is what you are trying to do, if not, then please provide a REPRoducible EXample (reprex) illustrating your issue library(tidyverse) # Sample data...
View Articlegroup data by name
@PalomaLlorente wrote: andresrcs: mutate(beginning = str_extract(section, "^[^!]+(?=)"), end = str_extract(section, "(?<=)[^!]+$")) %>% fill(beginning, .direction = "down") %>% fill(end,...
View Articlegroup data by name
@andresrcs wrote: PalomaLlorente: "[ reached 'max' / getOption("max.print") -- omitted 2467428 rows ] This is not an error, just a warning telling you that no more lines can be printed on the console,...
View Articlegroup data by name
@system wrote: This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. Read full topic
View Article
More Pages to Explore .....