JuliaFormulae

Lifecycle: experimental R-CMD-check Codecov test coverage

A utility package for converting R regression model formula to Julia GLM.jl and MixedModels.jl syntax.

See {jlme} for an example application.

Installation

# install.packages("devtools")
devtools::install_github("yjunechoe/JuliaFormulae")
library(JuliaFormulae)

Supported conversions

Example

julia_formula(
  y ~ a + I(a * 2) + b + a:b  + (a || g) + (b | g)
)
#> y ~ a + protect(a * 2) + b + (a & b) + zerocorr(a | g) + (b | 
#>     g)