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, inner.rank, initial.sample, formula, randform,
ycol, nopl, 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 |
inner.rank |
Rank of X matrix of lme analysis on entire database |
initial.sample |
Number of random samples from which to take set of initial observations |
formula |
Two-sided fixed parameter formula of lme function |
randform |
One-sided random effects formula |
ycol |
Response column number |
nopl |
Number of observations per level of combined factor variables |
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 in the dataset
Note
Presence of Observation column has no effect on outcome
Author(s)
William R. Fairweather