bStep1 {forsearch} | R Documentation |
Create Set of Observation Numbers in Step 1 for Linear Mixed Effects Model Analysis
Description
Derives the first set of observation numbers for forsearch in linear mixed effects models
Usage
bStep1(yesfactor, df1, df1.ls, groups, inner.rank, source, initial.sample,
nofactform = NULL, formulaA, randform, inc, ycol, b.d)
Arguments
yesfactor |
Logical. TRUE if there are factors in the X matrix |
df1 |
Data frame being analyzed by forward search. |
df1.ls |
List, each element of which is a factor subset of df1 |
groups |
Vector of Quoted names of group variables |
inner.rank |
Rank of X matrix of lme analysis on entire database |
source |
Vector list of subsets provding observations |
initial.sample |
Number of random samples from which to take set of initial observations |
nofactform |
2-sided formula without factors |
formulaA |
Formula for all effects including factors and constructed variables |
randform |
One-sided random effects formula |
inc |
Logical. TRUE causes relaxation of lmeControl |
ycol |
Response column number |
b.d |
Index of point to begin diagnostic listings |
Details
Support function, usually not called independently
Value
Produces set of observation numbers for Step 1. Accounts for presence of factors and groups in the dataset
Note
Presence of Observation column has no effect on outcome
Author(s)
William R. Fairweather