dplyr tag

2 questions


2 answers
105 views
0
divide a plurality of columns of data frames into one column

The following data frames a1, a2, a3, b11,1,2,43,4,2,13,6,2,9...I'll think about .I am thinking of calculating c1=a1/b1, c2=a2/b1, and c3=a3/b1 to the right of the data frame.In this case, there are t...

2 years ago

1 answers
109 views
0
mutate from rowwise

I'm trying to mutate from rawwise with dplyr, but it doesn't work.·Executing the code below will result in an error.df%>%rowwise()%>%mute(row_max=max(starts_with(X))))Error: Notidyselect variabl...

2 years ago

© 2024 OneMinuteCode. All rights reserved.