Learn R Programming

skpr (version 1.8.2)

calculate_degrees_of_freedom: Calculate Degrees of Freedom

Description

Calculates the degrees of freedom adjustment for models with random effects from Penheiro and Bates, pg. 91

Usage

calculate_degrees_of_freedom(
  run_matrix_processed,
  nointercept,
  model,
  contrasts
)

Value

Vector of numbers indicating split plot layers

Arguments

run_matrix_processed

The design

nointercept

Whether the intercept term is present