emend_fct_reorder | R Documentation |
Reorder the levels of the input factor in a meaningful way.
emend_fct_reorder(.f, chat = get_default_chat())
.f |
A vector of characters or a factor. |
chat |
A chat object defined by ellmer. |
A factor with standardized category labels.
chat <- ellmer::chat_ollama(model = "llama3.1:8b", seed = 0, echo = "none")
emend_fct_reorder(likerts$likert1, chat = chat) |> levels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.