interleave_estgen | R Documentation |
Extracts the elements of gen
with the names in est
, then
alternates them so that the first element of the returned list is the first
from est
, the second is the element of gen
with the same name,
etc. Also adds the "isgen"
attribute (logical) indicating whether
these are generative or estimated values.
interleave_estgen(est, gen = NULL, checklen = TRUE)
est |
Named list of estimated parameters |
gen |
named list of generative parameter vectors |
checklen |
Check corresponding lengths are equal? |
Not symmetric; only elements with names in est
will be kept. All
elements in est
should be included in gen
.
A list with alternating elements of est
and gen
John K Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.