bStep2: Update Observation Numbers in Step 2

bStep2R Documentation

Update Observation Numbers in Step 2

Description

Derives the set of Step 2 observation numbers for forsearch in linear mixed effects models

Usage

bStep2(yf, f2, dfa2, randm2, onlyfactor = FALSE,ms, ycol, initn, inc, finalm, fbg, b.d)

Arguments

yf

Logical. Indicates presence of factor variables

f2

Fixed parameter formula

dfa2

Complete data set with factor subset identification codes

randm2

Random parameter formula

onlyfactor

TRUE if there are no continuous independent variables in the model

ms

Number of observations beginning Step 2

ycol

Column number of response variable

initn

Vector of number of observations from each group or fixed factor subset to draw for primary stage of step 2

inc

Logical. TRUE causes relaxation of lmeControl

finalm

List of expanding subset observation numbers

fbg

List of observation numbers by factor subgroup

b.d

Indicator of place in code to begin diagnostic printouts

Details

Support function, usually not called independently

Value

List of expanding number sets corresponding to observation numbers

Author(s)

William R. Fairweather


forsearch documentation built on April 4, 2025, 5:52 a.m.