Skip to content

Instantly share code, notes, and snippets.

View dmbates's full-sized avatar

Douglas Bates dmbates

View GitHub Profile
@dmbates
dmbates / permsums.ipynb
Last active April 20, 2021 17:14
Permutation tests in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dmbates
dmbates / dyestuff.Rnd
Created April 2, 2014 17:44
MathJax coding for \mathcal does not show up properly in the RStudio HTML previewer.
---
title: JAGS and lme4
author: Douglas Bates
date: March 28, 2014
output:
html_document:
toc: yes
highlight: tango
fig_width: 7
fig_height: 5.5
@dmbates
dmbates / Issue611.ipynb
Created May 3, 2022 18:04
Notebook related to MixedModels.jl issue 611
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dmbates
dmbates / benchmark.jl
Created June 4, 2022 13:33
Code for benchmarking sort!(unique!(df)) versus sort!(df) on a real-world example
using CSV, DataFrames, Downloads, Tar
datadir = "biofast-data-v1"
tarball = "$datadir.tar.gz"
if !isfile(tarball)
dataurl = joinpath(
"https://github.com/lh3/biofast/releases/download",
datadir,
tarball,
)
@dmbates
dmbates / RCall_IJulia_ggplot2.qmd
Last active July 2, 2022 11:42
Using ggplot2 in IJulia notebook through RCall
---
jupyter: julia-1.7
---
```{julia}
using RCall
```
```{julia}
RCall.ijulia_setdevice(MIME("image/svg+xml"))
@dmbates
dmbates / warning.ipynb
Created April 26, 2024 14:28
Use of `warning: false` with QuartoNotebookRunner
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.