- sem_out
The fit object.
Currently supports
lavaan::lavaan objects only.
- func
A function that receives
a lavaan object and returns a scalar.
This function is to be used by
gen_userp() and so there are
special requirements on it.
Alternatively, it can be the output
of gen_est_i().
- ...
Optional arguments to be
passed to func. Usually not used
but included in case the function
has such arguments.
- level
The level of confidence
of the confidence interval. Default
is .95, or 95%.
- which
Whether the lower bound
or the upper bound is to be found.
Must be "lbound" or "ubound".
- interval
A numeric vector of
two values, which is the initial
interval to be searched. If NULL,
the default, it will be determined
internally using Wald or delta
method confidence interval, if
available.
- progress
Whether progress will
be reported on screen during the
search. Default is
FALSE.
- method
The actual function to
be used in the search. which can only
be "uniroot", the default, for now.
May include other function in the
future.
- lrt_method
The method used in
lavaan::lavTestLRT(). Default is
"default". It is automatically set
to "satorra.2000" and cannot be
overridden if a scaled test statistic
is requested in sem_out.
- tol
The tolerance used in
uniroot(), default is .005.
- root_target
Whether the
chi-square difference ("chisq"),
the default, or its p-value
("pvalue") is used as the function
value in finding the root. Should have
little impact on the results.
- d
A value used to determine
the width of the interval in the
initial search. Larger this value,
narrow the interval. Default is 5.
- uniroot_extendInt
To be passed
to the argument extendInt of
uniroot(). Whether the interval
should be extended if the root is not
found. Default value depends on
the bound to be searched. Refer to
the help page of uniroot() for
possible values.
- uniroot_trace
To be passed to
the argument trace of uniroot().
How much information is printed
during the search. Default is 0, and
no information is printed during the
search. Refer to the help page of
uniroot() for possible values.
- uniroot_maxiter
The maximum
number of iteration in the search.
Default is 1000.
- use_callr
Whether the
callr package will be used to
do the search in a separate R
process. Default is TRUE. Should
not set to FALSE if used in an
interactive environment unless this is
intentional.
- rs
Optional. If set to
a persistent R process created by
callr, it will be used instead of
starting a new one, and it will not
be terminated on exit.
- i
The position of the target
parameter as appeared in the
parameter table of an lavaan object,
generated by
lavaan::parameterTable().
- standardized
If TRUE, the
standardized estimate is to be
retrieved. Default is FALSE.
Only support "std.all" for now.