has_bars {JuliaFormulae}R Documentation

Utilities for formula random effects structure

Description

Utilities for formula random effects structure

Usage

has_bars(x, type = c("both", "single", "double"))

find_bars(x)

no_bars(x)

Arguments

x

A formula object

type

One of "both", "single", or "double". Defaults to "both".

Value

A modified formula object

Examples

has_bars(y ~ x)
has_bars(y ~ x + (x | g))
has_bars(y ~ x + (x | g), type = "double")

find_bars(y ~ x)
find_bars(y ~ x + (x | g))

no_bars(y ~ x)
no_bars(y ~ x + (x | g))

[Package JuliaFormulae version 0.1.0 Index]