Category Archives: Code Snippets
WordPress PHP function: HTML select element for posts & pages
/* WordPress Post & Page Dropdown Menu http://www.beliefmedia.com/wp-dropdown-menu */ function beliefmedia_wp_post_dropdown($atts) { $atts = shortcode_atts(array( 'status' => 'publish', 'type' => 'page', 'parent' => false, 'exclude' => false, 'author' => false, 'category' => false, 'tags' => false, 'order' => 'DESC', /*…
The Möbius Band: A peculiar geometrical figure
Visit: http://moebius-band.ga
Code for generating an interactive Möbius band in R (using OpenGL)
library(rgl) # (Murdoch, 2001) library(plot3D) # (Soetaert, 2014) # Define parameters R <- 3 u <- seq(0, 2 * pi, length.out = 100) v <- seq(-1, 1,…
Psychology Meta Search Tool (v1.0.2)
Below you can find a custom-made “meta-search-tool” I programmed (coded in ActionScript2) which facilitates to effectively search the web for psychology and neuroscience related information.
You can freely download the program as a zipped executable:
https://christopher-germann.de/tools/meta_search_tool_v1.2.zip
Citation File Format (*.cff)
…Citable Software (*.cff)
In order to make software easily citable, a “citation file format” *.CITATION.cff should be included in the root of the repository.
cff-version: 1.0.3 message: If you use this software, please cite it as below. authors: - family-names: Germann given-names: Christopher,…
JASP – A fresh way to do statistics
JASP is a cross-platform software program primarily developed for Bayesian analyses. It currently utilizes more than 50 R packages and provides an intuitive & user-friendly GUI (graphical user interface). However, unfortunately the generated R code cannot be exported. This …
Model comparison via Bayes Factor analysis
Results of Bayesian analyses can be utilised for future research in the sense of Dennis Lindley’s motto: “Today’s posterior is tomorrow’s prior” (Lindley, 1972), or as Richard Feynman put it “Yesterday’s sensation is today’s calibration” to which …