bStep2 {forsearch} | R 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, 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 |
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