Skip to content

Instantly share code, notes, and snippets.

View heliosdrm's full-sized avatar

Helios De Rosario heliosdrm

  • Instituto de Biomecánica de Valencia
  • Valencia, Spain
View GitHub Profile
@heliosdrm
heliosdrm / calculate_plot_times.jl
Created February 3, 2020 00:22
Comparison of GRUtils and GR plotting times
using BenchmarkTools
times = Dict{String, Float64}()
times["using"] = @elapsed using GR
# times["using"] = @elapsed using GRUtils
x = LinRange(-2, 2, 40)
y = x.^3 .+ x.^2 .+ x .+ 6
times["plot_first"] = @elapsed plot(x, y);
@heliosdrm
heliosdrm / glmer_offset_issue_example_data
Created September 5, 2015 22:21
Example data for the issue "Offset values in glmer (family=binomial) that were not specified by the user "
RDA2
A
2
197120
131840
1026
1
262153
2
dd