Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


skpr (version 1.7.1)

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