gistlib
other r categories
tidyr code snippets in r
calculate the mean by group with missing data in r
change the order of columns in r
divide alternating rows in table in r
divide value in a tabble based on side column in r
isolate most common in r
pivot a dataset in r
pivot longer one column in data frame in r
plot when years are columns in r
remove mutltiple columns from a df in r
remove a column in a df with a special name in r
select all the ol in a df exept the last 2 in r
summarize list of variables by group in r
transpose a dataframe according to a specific column in r
use pivot_wider to change two columns with values to wide format and keep others in long format in r in r
gistlib
by LogSnag