runScript: Execute scripts from Galecki and Burzykowski (2013)

View source: R/varia.R

runScriptR Documentation

Execute scripts from Galecki and Burzykowski (2013)

Description

Executes scripts from the book by Galecki and Burzykowski (2013). If called without arguments, it prints a list of available scripts.

Usage

runScript(
  script = NA,
  package = "nlmeU",
  subdir = "scriptsR4.5.1",
  echo = TRUE
)

Arguments

script

character string containing the name of the script to be executed. By default, NA.

package

character string containing the package name. By default, "nlmeU".

subdir

subdirectory containing scripts. By default, "scriptsR2.15.0".

echo

logical. If TRUE, the script is executed with output printed. Used by source(). By default, TRUE.

Value

The script is executed, and results are printed. If script is NA, a list of available scripts is printed.

Author(s)

Andrzej Galecki and Tomasz Burzykowski

References

Galecki, A., & Burzykowski, T. (2013). *Linear Mixed-Effects Models: A Step-by-Step Approach*. Springer.

Examples

runScript()

nlmeU documentation built on Aug. 25, 2025, 5:12 p.m.