Function er_frame
transforms the embedding and embedding attributes to a tibble of class embedR_tbl
.
er_frame(embedding)
a numeric
matrix containing a text embedding.
The function returns a tibble
containing the embedding and its attributes.
Wulff, D. U., Aeschbach, S., Hussain, Z., & Mata, R. (2024). embeddeR. psyArXiv
if (FALSE) {
# embed, project, and frame
tbl <- er_embed(neo$text) %>%
er_project() %>%
er_frame()
}