This function converts a vector into a list with names eqaul to the values. Useful for lapply and sapply operations.
1 | list_n(x = 1:100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.