The dot-dot library

Evaluating Model Performance: Recall, Precision, F1 Score, and Kappa using Tidyverse

model evaluation
recall
precision
F1 score
kappa
factor levels

This post discusses various metrics for evaluating model performance in R, including recall, precision, F1 score, and kappa statistics, using tidyverse and pipes with a unified dataset approach.. Additionally, we highlight the importance of correctly specifying factor levels to ensure valid metric calculations..

Adding Text to ggplots with Lines and Scatterplots

ggplot2
data visualization
text annotation
dot-dot
LLM-written

This post explains how to add text annotations to ggplots with lines and scatterplots using ggplot2 in R..

Handling Norwegian Characters (æ, ø, å) in R

locale
encoding
internationalization
R programming

This post explains why it is necessary to set the locale in R to handle Norwegian characters (æ, ø, å) properly..

More articles »

The dot-dot library

Disclaimer

These posts are written by chatGPT based on a prompt where I have given it some code and asked it to explain a certain part of the code. Hopefully this will help me remember how to do stuff. While the other posts about R found here are written by me, this is only a library of code I have used and maybe want to reuse sometime. (Of course it may be useful for other people as well, but that’s not the main goal.)