Highlights
- Pro
Pinned Loading
-
-
Using ggplot programatically (in a f...
Using ggplot programatically (in a for loop) 1## To create plots of each behaviour per day and per horse
2### To be able to use ggplot2 programatically we need to use sym() to create a 'symbolic' variable that ggplot can read (it will not read 'i' correctly)
34for (i in colnames(data[,5:68])){5var <- sym(i)
-
A snippet to remove all trailing suf...
A snippet to remove all trailing suffixes from a file of long strings (e.g. sample names, file names) in bash. This keeps only the section before the first "_" in the line. Functions on a line-by-line basis, feed to a temp file then rename as required for your input list. 1#!bin/bash2cut -f1 -d"_" filename.txt > filename.tmp
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.

