check_list_na | R Documentation |
check_list_na()
compares two lists and fills in the missing
elements in the first with those included in the second. The
comparison is recursive in the sense that the process is repeated for
all lists included in those given.
check_list_na(orig, des)
orig |
A list whose content must be checked. |
des |
A list to use as a reference with which compare the first one. |
A list with all elements added.
Sergio Venturini sergio.venturini@unicatt.it
G <- 5 prior <- list(eta = list(a = rep(1, G), b = rep(2, G))) check_list_na(prior, dmbc_prior())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.