This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_journals <- ReadBib("journals.bib") | |
dates <- unlist(unique(file_journals$year))[order(unlist(unique(file_journals$year)),decreasing = TRUE)] | |
#Prints recerences | |
for (date in dates) { | |
cat(paste0("##",date),"\n") | |
print(file_journals[list(year=date)],.opts = list(style="markdown",bib.style ="authoryear" ,max.names =10,dashed=FALSE)) | |
cat("\n") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Alex_Singleton" | |
navbar: | |
title: "Alex Singleton" | |
left: | |
- text: "Publications" | |
icon: fa-book fa-2x | |
href: publications.html | |
- text: "CV" | |
icon: fa-file fa-2x | |
href: cv.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Befehl 'sed' | |
sed 's/AA/0/g' phen_gen.txt >phen_gen_neu.txt | |
# ein programm lokal ausführen: | |
./ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'calc' <- function (asreml) | |
{ | |
summ <- summary(asreml) | |
vc <- summ$varcomp | |
DF <- nrow(vc) | |
if ("Fixed" %in% levels(vc$constraint)) | |
DF <- DF - table(vc$constraint)["Fixed"] | |
if ("Constrained" %in% levels(vc$constraint)) | |
DF <- DF - table(vc$constraint)["Constrained"] | |
names(DF) <- "" |