powered by
Helper function to easily access elements
get_this(where = NULL, what = NULL)
Where do you want to get it from? Currently only supports `list`s and `data.frame`objects.
What do you want to extract from the `data.frame` or `list`? No quotes. See examples below.
This is a helper function useful if you would like to extract data from the output of `multi_model_1`.
my_list<-list(list(A=520),list(B=456,C=567)) get_this(what="A",my_list) get_this(my_list,"C") # use values get_this(my_list, "B")
Run the code above in your browser using DataLab