python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Calculate the median date based on two grouping conditions
I have the following data frame:
> head(df)
# A tibble: 6 x 6
# Groups: lat, decade [2]
lat long date year decade month_day
<dbl> <dbl> <date> <chr> &...
Recology
Votes: 0
Answers: 2
R summarize across with multiple functions
I have a data frame where I am grouping by county, and then trying to summarize teh rest of the data using summarise across. Some of the variables I would like to sum across, while other variables I w...
KLenny
Votes: 0
Answers: 1
Aggregate and summarise character object with R
I have a breeding productivity dataset:
df1
# Nest.box Obs.type individual.number Clutch Chick.status
# 1 Nest1 Egg 1 First NA
# 2 Nest1 Egg 2 First NA
# 3 Nest1 Egg 3 First NA
# 4...
Andre230
Votes: 0
Answers: 4
sum of multiple columns using group_by function
I want to calculate the sum in multiple columns with the group_by function. I want to group by the columns Gebied and Datum and calculate the sum in the columns Som van vangtuigen and Som van Aantal. ...
Pepijn95
Votes: 0
Answers: 3