size.test.slope.gen: Sample size for a slope hypothesis test in a general statistical model
Description
Computes the sample size required to test a null hypothesis with desired
power that a population slope coefficient in any general statistical model
is equal to zero. This function requires a standard error estimate for the
slope of interest from a prior or pilot study and the sample size that was
used in the prior or pilot study. This function can be used for both
unstandardized and standardized slopes. This function also can be used for
both unstandardized and standardized factor loadings in a confirmatory
factor analysis model. This function will soon be replaced with size.test.gen.