Learn R Programming

JuliaFormulae (version 0.1.0)

has_bars: 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)

Value

A modified formula object

Arguments

x

A formula object

type

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

Examples

Run this code
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))

Run the code above in your browser using DataLab