get_this | R Documentation |
Helper function to easily access elements
get_this(where = NULL, what = NULL)
where |
Where do you want to get it from? Currently only supports 'list's and 'data.frame'objects. |
what |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.