<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>r-statistics.co</title>
  <subtitle>R programming tutorials for advanced statistics, machine learning, and data visualization</subtitle>
  <link href="https://r-statistics.co/"/>
  <link href="https://r-statistics.co/feed.xml" rel="self" type="application/atom+xml"/>
  <id>https://r-statistics.co/</id>
  <updated>2026-10-05T00:00:00Z</updated>
  <author><name>Selva Prabhakaran</name></author>
  <entry>
    <title>yardstick spec() in R: Score True Negative Rate</title>
    <link href="https://r-statistics.co/yardstick-spec-in-R.html"/>
    <id>https://r-statistics.co/yardstick-spec-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick spec() in R to score the true negative rate of classifiers. See syntax, multiclass averaging, grouped scoring, sens() pairing, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick smape() in R: Symmetric Percentage Error Metric</title>
    <link href="https://r-statistics.co/yardstick-smape-in-R.html"/>
    <id>https://r-statistics.co/yardstick-smape-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick smape() in R for a bounded, symmetric percentage error. See syntax, four worked examples, per-fold scoring, and how SMAPE differs from MAPE.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick sens() in R: Score Diagnostic Sensitivity</title>
    <link href="https://r-statistics.co/yardstick-sens-in-R.html"/>
    <id>https://r-statistics.co/yardstick-sens-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick sens() in R to score the sensitivity of a classifier. See syntax, multiclass averaging, recall equivalence, event_level flips, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick rsq_trad() in R: Traditional R-Squared Score</title>
    <link href="https://r-statistics.co/yardstick-rsq_trad-in-R.html"/>
    <id>https://r-statistics.co/yardstick-rsq_trad-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute traditional R-squared (1 - SS_res/SS_tot) on regression predictions with yardstick rsq_trad() in R. Syntax, examples, rsq() differences, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick rsq() in R: Score Regression R-Squared</title>
    <link href="https://r-statistics.co/yardstick-rsq-in-R.html"/>
    <id>https://r-statistics.co/yardstick-rsq-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick rsq() in R to score regression models with R-squared. See syntax, grouped scoring, weighting, rsq_trad() differences, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick roc_curve() in R: ROC Sweep Data for Plotting</title>
    <link href="https://r-statistics.co/yardstick-roc_curve-in-R.html"/>
    <id>https://r-statistics.co/yardstick-roc_curve-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build the ROC curve threshold sweep in R with yardstick roc_curve(). See syntax, binary and multiclass examples, autoplot patterns, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick roc_auc() in R: Score Classifier Ranking Quality</title>
    <link href="https://r-statistics.co/yardstick-roc_auc-in-R.html"/>
    <id>https://r-statistics.co/yardstick-roc_auc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score classifier ranking with yardstick roc_auc() in R. See syntax, binary and multiclass examples, hand_till averaging, sklearn mapping, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick rmse() in R: Score Regression Models</title>
    <link href="https://r-statistics.co/yardstick-rmse-in-R.html"/>
    <id>https://r-statistics.co/yardstick-rmse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick rmse() in R to score regression models with a tidy interface. See syntax, grouped scoring, weighting, MAE comparison, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick recall() in R: Score True Positive Rate</title>
    <link href="https://r-statistics.co/yardstick-recall-in-R.html"/>
    <id>https://r-statistics.co/yardstick-recall-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick recall() in R to score the true positive rate of classifiers. See syntax, multiclass averaging, grouped scoring, sens() equivalence, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick precision() in R: Score Positive Predictive Value</title>
    <link href="https://r-statistics.co/yardstick-precision-in-R.html"/>
    <id>https://r-statistics.co/yardstick-precision-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick precision() in R to score the positive predictive value of classifiers. See syntax, multiclass averaging, grouped scoring, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick pr_curve() in R: Precision-Recall Curve Points</title>
    <link href="https://r-statistics.co/yardstick-pr_curve-in-R.html"/>
    <id>https://r-statistics.co/yardstick-pr_curve-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute precision-recall curves in R with yardstick pr_curve(). See syntax, binary and multiclass examples, autoplot, and pitfalls for imbalanced data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick pr_auc() in R: Score Imbalanced Classifier Ranking</title>
    <link href="https://r-statistics.co/yardstick-pr_auc-in-R.html"/>
    <id>https://r-statistics.co/yardstick-pr_auc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score precision-recall AUC with yardstick pr_auc() in R. See syntax, binary and multiclass examples, macro averaging, sklearn mapping, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick ppv() in R: Prevalence-Adjusted Predictive Value</title>
    <link href="https://r-statistics.co/yardstick-ppv-in-R.html"/>
    <id>https://r-statistics.co/yardstick-ppv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick ppv() in R to score positive predictive value, with the prevalence argument that adjusts for screening populations. Syntax, examples, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick npv() in R: Negative Predictive Value Explained</title>
    <link href="https://r-statistics.co/yardstick-npv-in-R.html"/>
    <id>https://r-statistics.co/yardstick-npv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick npv() in R to score negative predictive value with the prevalence argument that adjusts for screening populations. Syntax, examples, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick mn_log_loss() in R: Cross-Entropy Loss Metric</title>
    <link href="https://r-statistics.co/yardstick-mn_log_loss-in-R.html"/>
    <id>https://r-statistics.co/yardstick-mn_log_loss-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score class probabilities with yardstick mn_log_loss() in R. See syntax, binary and multiclass examples, sum vs mean, sklearn parity, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick mcc() in R: Matthews Correlation Coefficient</title>
    <link href="https://r-statistics.co/yardstick-mcc-in-R.html"/>
    <id>https://r-statistics.co/yardstick-mcc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick mcc() in R to compute Matthews correlation coefficient for binary and multiclass models. See syntax, grouped scoring, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick mase() in R: Scale-Free Forecast Error</title>
    <link href="https://r-statistics.co/yardstick-mase-in-R.html"/>
    <id>https://r-statistics.co/yardstick-mase-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick mase() in R to score forecasts against a naive seasonal baseline. See syntax, four worked examples, seasonal lag m, and the mae_train pitfall.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick mape() in R: Scale-Free Percentage Error</title>
    <link href="https://r-statistics.co/yardstick-mape-in-R.html"/>
    <id>https://r-statistics.co/yardstick-mape-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick mape() in R to report scale-free percentage error. See syntax, four examples, per-fold scoring, the near-zero pitfall, and the asymmetry warning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick mae() in R: Outlier-Robust Regression Scoring</title>
    <link href="https://r-statistics.co/yardstick-mae-in-R.html"/>
    <id>https://r-statistics.co/yardstick-mae-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick mae() in R for outlier-robust regression scoring. See the syntax, four worked examples, per-fold scoring, case weights, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick kap() in R: Cohen's Kappa for Classification</title>
    <link href="https://r-statistics.co/yardstick-kap-in-R.html"/>
    <id>https://r-statistics.co/yardstick-kap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick kap() in R to score Cohen's Kappa for binary and multiclass classifiers in tidymodels. See syntax, grouped scoring, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick huber_loss() in R: Robust Regression Loss</title>
    <link href="https://r-statistics.co/yardstick-huber_loss-in-R.html"/>
    <id>https://r-statistics.co/yardstick-huber_loss-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick huber_loss() in R for a quadratic-to-linear regression loss that smooths over outliers. See the delta argument, syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick f_meas() in R: Score the F-Measure of Classifiers</title>
    <link href="https://r-statistics.co/yardstick-f_meas-in-R.html"/>
    <id>https://r-statistics.co/yardstick-f_meas-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick f_meas() in R to score the F-measure of classifiers: harmonic mean of precision and recall. Syntax, beta tuning, multiclass averaging, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick ccc() in R: Concordance With Bias Correction</title>
    <link href="https://r-statistics.co/yardstick-ccc-in-R.html"/>
    <id>https://r-statistics.co/yardstick-ccc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick ccc() in R to score regression agreement with Lin's concordance correlation. See syntax, the bias argument, grouped scoring, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick bal_accuracy() in R: Score Imbalanced Classifiers</title>
    <link href="https://r-statistics.co/yardstick-bal_accuracy-in-R.html"/>
    <id>https://r-statistics.co/yardstick-bal_accuracy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick bal_accuracy() in R to score classification models on imbalanced data. See syntax, multiclass averaging, grouped scoring, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>yardstick accuracy() in R: Score Classification Models</title>
    <link href="https://r-statistics.co/yardstick-accuracy-in-R.html"/>
    <id>https://r-statistics.co/yardstick-accuracy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use yardstick accuracy() in R to score classification models with a tidy interface. See syntax, grouped scoring, multiclass averaging, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflowsets workflow_set() in R: Compare Models at Once</title>
    <link href="https://r-statistics.co/workflowsets-workflow_set-in-R.html"/>
    <id>https://r-statistics.co/workflowsets-workflow_set-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflowsets workflow_set() in R to bundle multiple preprocessors and parsnip models into one tibble. Syntax, four examples, cross vs paired, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflowsets workflow_map() in R: Fit All Workflows at Once</title>
    <link href="https://r-statistics.co/workflowsets-workflow_map-in-R.html"/>
    <id>https://r-statistics.co/workflowsets-workflow_map-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflowsets workflow_map() in R to fit, tune, and rank every workflow in a set on the same resamples with one call. Syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflowsets rank_results() in R: Rank Tuned Workflows</title>
    <link href="https://r-statistics.co/workflowsets-rank_results-in-R.html"/>
    <id>https://r-statistics.co/workflowsets-rank_results-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflowsets rank_results() in R to rank every workflow in a fitted workflow_set by a chosen metric. Syntax, three examples, ties, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflowsets as_workflow_set() in R: Wrap Workflow Lists</title>
    <link href="https://r-statistics.co/workflowsets-as_workflow_set-in-R.html"/>
    <id>https://r-statistics.co/workflowsets-as_workflow_set-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflowsets as_workflow_set() in R to convert a named list of workflows into a workflow_set. Syntax, four examples, validation rules, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows workflow() in R: Bundle Preprocessor and Model</title>
    <link href="https://r-statistics.co/workflows-workflow-in-R.html"/>
    <id>https://r-statistics.co/workflows-workflow-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows workflow() in R to bundle a recipe or formula with a parsnip model spec. Syntax, four examples, fit, predict, and the most common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows update_recipe() in R: Swap a Workflow's Recipe</title>
    <link href="https://r-statistics.co/workflows-update_recipe-in-R.html"/>
    <id>https://r-statistics.co/workflows-update_recipe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows update_recipe() in R to swap the recipes preprocessor inside an existing tidymodels workflow. Syntax, four worked examples, gotchas, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows update_model() in R: Swap a Workflow's Model Spec</title>
    <link href="https://r-statistics.co/workflows-update_model-in-R.html"/>
    <id>https://r-statistics.co/workflows-update_model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows update_model() in R to swap the parsnip spec inside an existing tidymodels workflow. Syntax, four worked examples, gotchas, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows extract_spec_parsnip() in R: Pull the Parsnip Spec</title>
    <link href="https://r-statistics.co/workflows-extract_spec_parsnip-in-R.html"/>
    <id>https://r-statistics.co/workflows-extract_spec_parsnip-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows extract_spec_parsnip() in R to pull the parsnip model spec out of a tidymodels workflow. Syntax, arguments, four examples, common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows extract_recipe() in R: Pull the Trained Recipe Out</title>
    <link href="https://r-statistics.co/workflows-extract_recipe-in-R.html"/>
    <id>https://r-statistics.co/workflows-extract_recipe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows extract_recipe() in R to pull the trained recipes object out of a fitted tidymodels workflow. Syntax, four examples, plus the estimated flag.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows add_variables() in R: Bare Columns, No Formula</title>
    <link href="https://r-statistics.co/workflows-add_variables-in-R.html"/>
    <id>https://r-statistics.co/workflows-add_variables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows add_variables() in R to attach predictors and outcomes as bare columns to a tidymodels workflow. Syntax, four worked examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows add_recipe() in R: Attach a Preprocessing Recipe</title>
    <link href="https://r-statistics.co/workflows-add_recipe-in-R.html"/>
    <id>https://r-statistics.co/workflows-add_recipe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows add_recipe() in R to attach a recipes preprocessor to a tidymodels workflow. Syntax, four worked examples, leakage protection, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows add_model() in R: Attach a Parsnip Model Spec</title>
    <link href="https://r-statistics.co/workflows-add_model-in-R.html"/>
    <id>https://r-statistics.co/workflows-add_model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows add_model() in R to attach a parsnip model spec to a tidymodels workflow. Syntax, four worked examples, the formula override, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>workflows add_formula() in R: Attach a Formula to a Workflow</title>
    <link href="https://r-statistics.co/workflows-add_formula-in-R.html"/>
    <id>https://r-statistics.co/workflows-add_formula-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use workflows add_formula() in R to attach a model formula to a tidymodels workflow. See the syntax, four worked examples, pitfalls, and when to pick it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune tune_sim_anneal() in R: Simulated Annealing Tuning</title>
    <link href="https://r-statistics.co/tune-tune_sim_anneal-in-R.html"/>
    <id>https://r-statistics.co/tune-tune_sim_anneal-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune tune_sim_anneal() in R for iterative simulated annealing hyperparameter search in tidymodels. See syntax, control_sim_anneal options, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune tune_race_win_loss() in R: Win-Loss Racing</title>
    <link href="https://r-statistics.co/tune-tune_race_win_loss-in-R.html"/>
    <id>https://r-statistics.co/tune-tune_race_win_loss-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune tune_race_win_loss() in R to race tidymodels hyperparameters with head-to-head pairwise comparisons. See syntax, control_race options, examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune tune_race_anova() in R: ANOVA Hyperparameter Racing</title>
    <link href="https://r-statistics.co/tune-tune_race_anova-in-R.html"/>
    <id>https://r-statistics.co/tune-tune_race_anova-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune tune_race_anova() in R to race tidymodels hyperparameter candidates with ANOVA early stopping. See syntax, control_race options, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune tune_grid() in R: Hyperparameter Search on Resamples</title>
    <link href="https://r-statistics.co/tune-tune_grid-in-R.html"/>
    <id>https://r-statistics.co/tune-tune_grid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune tune_grid() in R to search hyperparameters across resamples. See syntax, grid types, metrics, parallel control, finalize_workflow, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune tune_bayes() in R: Bayesian Hyperparameter Search</title>
    <link href="https://r-statistics.co/tune-tune_bayes-in-R.html"/>
    <id>https://r-statistics.co/tune-tune_bayes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune tune_bayes() in R to optimize hyperparameters with Bayesian search. See syntax, initial designs, iter, objective control, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune show_best() in R: Inspect Top Tuning Results</title>
    <link href="https://r-statistics.co/tune-show_best-in-R.html"/>
    <id>https://r-statistics.co/tune-show_best-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>tune show_best() in R returns the top hyperparameter combinations from tuning results. Covers metric selection, n, std_err, the one-SE rule, and select_best.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune select_best() in R: Pick Top Hyperparameter Set</title>
    <link href="https://r-statistics.co/tune-select_best-in-R.html"/>
    <id>https://r-statistics.co/tune-select_best-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>tune select_best() in R returns the single winning hyperparameter row from a tuning result, ready for finalize_workflow(). Covers metric, one-SE rule, pct loss.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials grid_regular() in R: Build Regular Tuning Grids</title>
    <link href="https://r-statistics.co/tune-grid_regular-in-R.html"/>
    <id>https://r-statistics.co/tune-grid_regular-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials grid_regular() in R to build a complete grid of tuning parameter values at evenly-spaced levels. See syntax, levels, ranges, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials grid_random() in R: Random Hyperparameter Grids</title>
    <link href="https://r-statistics.co/tune-grid_random-in-R.html"/>
    <id>https://r-statistics.co/tune-grid_random-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials grid_random() in R to draw random hyperparameter candidates for tune_grid(). See syntax, size, reproducibility, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials grid_max_entropy() in R: Maximally Spread Tuning Grid</title>
    <link href="https://r-statistics.co/tune-grid_max_entropy-in-R.html"/>
    <id>https://r-statistics.co/tune-grid_max_entropy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials grid_max_entropy() in R to build maximally spread hyperparameter grids for tune_grid(). Covers syntax, joint coverage, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials grid_latin_hypercube() in R: Space-Filling Tuning Grid</title>
    <link href="https://r-statistics.co/tune-grid_latin_hypercube-in-R.html"/>
    <id>https://r-statistics.co/tune-grid_latin_hypercube-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials grid_latin_hypercube() in R to draw space-filling hyperparameter candidates for tune_grid(). Covers syntax, stratification, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune finalize_workflow() in R: Lock In Best Hyperparameters</title>
    <link href="https://r-statistics.co/tune-finalize_workflow-in-R.html"/>
    <id>https://r-statistics.co/tune-finalize_workflow-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>tune finalize_workflow() in R substitutes tuned parameter values into a tunable workflow, producing a fittable pipeline ready for last_fit() or fit().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune control_grid() in R: Configure Grid Search Behavior</title>
    <link href="https://r-statistics.co/tune-control_grid-in-R.html"/>
    <id>https://r-statistics.co/tune-control_grid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune control_grid() in R to configure tune_grid() runs. Set verbose, save_pred, save_workflow, parallel_over, extract, and avoid silent control-list bugs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune collect_predictions() in R: Inspect Tuning Predictions</title>
    <link href="https://r-statistics.co/tune-collect_predictions-in-R.html"/>
    <id>https://r-statistics.co/tune-collect_predictions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune collect_predictions() in R to extract out-of-fold predictions from tune_grid, fit_resamples, and last_fit. See save_pred, parameters, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tune collect_metrics() in R: Extract Tuning Metrics</title>
    <link href="https://r-statistics.co/tune-collect_metrics-in-R.html"/>
    <id>https://r-statistics.co/tune-collect_metrics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tune collect_metrics() in R to pull mean and per-resample metrics from tune_grid, fit_resamples, and last_fit results. See summarize, type, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tsibble in R: Tidy Time Series Objects, Keys, and Gaps</title>
    <link href="https://r-statistics.co/tsibble-in-R.html"/>
    <id>https://r-statistics.co/tsibble-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn tsibble in R from scratch: set the index and key, find implicit gaps with has_gaps(), fill them with fill_gaps(), and re-index time using index_by().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Tidyverse Exercises in R: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/tidyverse-Exercises-in-R.html"/>
    <id>https://r-statistics.co/tidyverse-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice the tidyverse with 50 cross-package R exercises spanning dplyr, tidyr, stringr, lubridate, and purrr on real workflows. Hidden solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unpack() in R: Spread df-Column Back Into Columns</title>
    <link href="https://r-statistics.co/tidyr-unpack-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unpack-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unpack() to spread a packed df-column back into multiple columns in R. Covers vs pack, names_sep, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unnest_wider() in R: Spread Named Lists Into Columns</title>
    <link href="https://r-statistics.co/tidyr-unnest_wider-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unnest_wider-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unnest_wider() to spread a list-column of named lists into separate columns in R. Covers names_sep, JSON unnesting, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unnest_longer() in R: Expand Vector List Columns Into Rows</title>
    <link href="https://r-statistics.co/tidyr-unnest_longer-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unnest_longer-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unnest_longer() to expand a list-column of atomic vectors into multiple rows in R. Covers indices_to, vs unnest, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unnest() in R: Flatten List Columns Into Rows</title>
    <link href="https://r-statistics.co/tidyr-unnest-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unnest-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unnest() to flatten list columns into rows in R. Covers vs unnest_longer, unnest_wider, keep_empty, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unite() in R: Combine Columns Into One</title>
    <link href="https://r-statistics.co/tidyr-unite-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unite-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unite() to combine multiple columns into a single column in R. Covers sep, remove, na.rm, custom separators, and 5 worked examples for unite.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr uncount() in R: Expand Frequency Counts Into Rows</title>
    <link href="https://r-statistics.co/tidyr-uncount-in-R.html"/>
    <id>https://r-statistics.co/tidyr-uncount-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr uncount() to expand frequency-count rows into individual rows in R. Covers id, .remove, and 5 worked examples for opposite of count.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr unchop() in R: Expand Vector List Column Into Rows</title>
    <link href="https://r-statistics.co/tidyr-unchop-in-R.html"/>
    <id>https://r-statistics.co/tidyr-unchop-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr unchop() to expand vector list-columns back into rows in R. Covers vs unnest_longer, keep_empty, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr spread() in R: Long to Wide (Superseded by pivot_wider)</title>
    <link href="https://r-statistics.co/tidyr-spread-in-R.html"/>
    <id>https://r-statistics.co/tidyr-spread-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr spread() to reshape long to wide format in R (superseded by pivot_wider). Covers migration, key/value, vs pivot_wider, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate_wider_regex() in R: Split Column by Regex</title>
    <link href="https://r-statistics.co/tidyr-separate_wider_regex-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate_wider_regex-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate_wider_regex() to split a string column into multiple columns using regex pattern groups in R. Covers patterns, NA, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate_wider_position() in R: Split by Character Position</title>
    <link href="https://r-statistics.co/tidyr-separate_wider_position-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate_wider_position-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate_wider_position() to split a string column at fixed character positions in R. Covers width, named widths, vs delim, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate_wider_delim() in R: Split Column by Delimiter Into Cols</title>
    <link href="https://r-statistics.co/tidyr-separate_wider_delim-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate_wider_delim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate_wider_delim() to split one column into multiple columns by a delimiter in R. Covers names, too_few, too_many, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate_longer_position() in R: Split Into Rows by Position</title>
    <link href="https://r-statistics.co/tidyr-separate_longer_position-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate_longer_position-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate_longer_position() to split a column at fixed character widths into multiple rows in R. Covers width, vs separate_longer_delim, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate_longer_delim() in R: Split Column Into Rows</title>
    <link href="https://r-statistics.co/tidyr-separate_longer_delim-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate_longer_delim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate_longer_delim() to split a column's value into multiple rows by a delimiter in R. Covers vs separate_rows, vs separate_wider, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate() and unite() in R: Split Columns</title>
    <link href="https://r-statistics.co/tidyr-separate-unite-Split-Combine-Columns-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate-unite-Split-Combine-Columns-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Split columns with separate_wider_delim() and combine with unite() in tidyr. Practical R examples showing delimiter, position, and regex-based splits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr separate() in R: Split One Column Into Many</title>
    <link href="https://r-statistics.co/tidyr-separate-in-R.html"/>
    <id>https://r-statistics.co/tidyr-separate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr separate() and separate_wider_delim() to split a single column into multiple columns in R. Covers sep, regex, fill, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr replace_na() in R: Replace NA With a Value</title>
    <link href="https://r-statistics.co/tidyr-replace_na-in-R.html"/>
    <id>https://r-statistics.co/tidyr-replace_na-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr replace_na() to replace NA values in a data frame or vector in R. Covers per-column replacement, default values, dplyr alternatives, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr pivot_wider() in R: Long to Wide Format</title>
    <link href="https://r-statistics.co/tidyr-pivot_wider-in-R.html"/>
    <id>https://r-statistics.co/tidyr-pivot_wider-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr pivot_wider() to reshape long data to wide format in R. Covers names_from, values_from, multiple value cols, fill, name_glue, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr pivot_longer() in R: Wide to Long Format</title>
    <link href="https://r-statistics.co/tidyr-pivot_longer-in-R.html"/>
    <id>https://r-statistics.co/tidyr-pivot_longer-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr pivot_longer() to reshape wide data to long format in R. Covers names_to, values_to, multiple value columns, regex patterns, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr pack() in R: Combine Columns Into a Single df-Column</title>
    <link href="https://r-statistics.co/tidyr-pack-in-R.html"/>
    <id>https://r-statistics.co/tidyr-pack-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr pack() to combine multiple columns into a single tibble (data frame) column in R. Covers vs nest, unpack, names_sep, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr nesting() in R: Preserve Column Pairs in Combinations</title>
    <link href="https://r-statistics.co/tidyr-nesting-in-R.html"/>
    <id>https://r-statistics.co/tidyr-nesting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr nesting() to preserve existing column pairings when generating combinations in R. Covers vs cross-product, expand, complete, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr nest() in R: Bundle Rows Into List Columns</title>
    <link href="https://r-statistics.co/tidyr-nest-in-R.html"/>
    <id>https://r-statistics.co/tidyr-nest-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr nest() to collapse rows into list-columns of nested data frames in R. Covers vs group_by, .by, unnest, many-models, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr hoist() in R: Extract Specific List Column Elements</title>
    <link href="https://r-statistics.co/tidyr-hoist-in-R.html"/>
    <id>https://r-statistics.co/tidyr-hoist-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr hoist() to extract specific named elements from list columns in R. Covers vs unnest_wider, deep paths, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr gather() in R: Wide to Long (Superseded by pivot_longer)</title>
    <link href="https://r-statistics.co/tidyr-gather-in-R.html"/>
    <id>https://r-statistics.co/tidyr-gather-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr gather() to reshape wide to long format in R (superseded by pivot_longer). Covers migration, key/value, vs pivot_longer, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr fill() in R: Forward-Fill Missing Values</title>
    <link href="https://r-statistics.co/tidyr-fill-in-R.html"/>
    <id>https://r-statistics.co/tidyr-fill-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr fill() to fill NA values from above (or below) in a column in R. Covers .direction, multiple columns, per-group, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr extract() in R: Extract Regex Capture Groups Into Cols</title>
    <link href="https://r-statistics.co/tidyr-extract-in-R.html"/>
    <id>https://r-statistics.co/tidyr-extract-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr extract() to extract regex capture groups from a column into multiple new columns in R. Covers vs separate_wider_regex, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr expand_grid() in R: All Combinations From Vectors</title>
    <link href="https://r-statistics.co/tidyr-expand_grid-in-R.html"/>
    <id>https://r-statistics.co/tidyr-expand_grid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr expand_grid() to generate all combinations of values from vectors as a tibble in R. Covers vs base expand.grid, vs crossing, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr expand() in R: Generate Combinations of Existing Columns</title>
    <link href="https://r-statistics.co/tidyr-expand-in-R.html"/>
    <id>https://r-statistics.co/tidyr-expand-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr expand() to generate all combinations of values from existing columns in R. Covers vs complete, nesting, expand_grid, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr expand() &amp; complete() in R: Make Implicit Missing Values Explicit</title>
    <link href="https://r-statistics.co/tidyr-expand-complete-Make-Implicit-Missing-Values-Explicit.html"/>
    <id>https://r-statistics.co/tidyr-expand-complete-Make-Implicit-Missing-Values-Explicit.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn tidyr expand() and complete() in R to turn implicit missing values into explicit NAs. Fill date gaps, build panel combinations, replace with fill list.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr drop_na() in R: Remove Rows With NA Values</title>
    <link href="https://r-statistics.co/tidyr-drop_na-in-R.html"/>
    <id>https://r-statistics.co/tidyr-drop_na-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr drop_na() to remove rows containing NA values in R. Covers all-column drop, specific columns, comparison with na.omit, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr crossing() in R: All Combinations (Alias for expand_grid)</title>
    <link href="https://r-statistics.co/tidyr-crossing-in-R.html"/>
    <id>https://r-statistics.co/tidyr-crossing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr crossing() to generate all combinations of values from vectors as a tibble in R. Alias for expand_grid. Covers vs expand.grid, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr complete() in R: Fill Missing Combinations of Columns</title>
    <link href="https://r-statistics.co/tidyr-complete-in-R.html"/>
    <id>https://r-statistics.co/tidyr-complete-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr complete() to insert missing combinations of columns into a data frame in R. Covers fill, nesting, expand, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr chop() in R: Group Rows Into List Columns</title>
    <link href="https://r-statistics.co/tidyr-chop-in-R.html"/>
    <id>https://r-statistics.co/tidyr-chop-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use tidyr chop() to combine rows into list columns by collapsing within groups in R. Covers vs nest, unchop, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr Reshaping Exercises in R: 18 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/tidyr-Reshaping-Exercises.html"/>
    <id>https://r-statistics.co/tidyr-Reshaping-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice tidyr reshaping with 18 scenario-based problems: pivot_longer, pivot_wider, names_sep, names_pattern, .value, separate, complete, fill. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr Pivot Exercises: 18 Practice Problems</title>
    <link href="https://r-statistics.co/tidyr-Pivot-Exercises-in-R.html"/>
    <id>https://r-statistics.co/tidyr-Pivot-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 hands-on pivot_longer and pivot_wider problems with worked solutions: reshape wide to long, aggregate during pivots, handle paired columns, and more.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr Nest Unnest Exercises in R: 18 List-Column Drills</title>
    <link href="https://r-statistics.co/tidyr-Nest-Unnest-Exercises-in-R.html"/>
    <id>https://r-statistics.co/tidyr-Nest-Unnest-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice nest(), unnest(), list-columns, and the many-models pattern with 18 scenario-based tidyr exercises. Hidden solutions and worked explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidyr Exercises in R: 30 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/tidyr-Exercises-in-R.html"/>
    <id>https://r-statistics.co/tidyr-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>tidyr exercises in R: 30 hands-on practice problems covering pivot_longer, pivot_wider, separate, unite, fill, complete, nest and unnest. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tidymodels Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/tidymodels-Exercises-in-R.html"/>
    <id>https://r-statistics.co/tidymodels-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master tidymodels with 25 hands-on R exercises across rsample, recipes, parsnip, workflows, tune and yardstick. Hidden solutions, real ML workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble tribble() in R: Build Tibbles Row by Row</title>
    <link href="https://r-statistics.co/tibble-tribble-in-R.html"/>
    <id>https://r-statistics.co/tibble-tribble-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build small tibbles row-by-row in R with tribble() from the tibble package. Learn formula syntax, examples, comparison with tibble(), and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble tibble() in R: Build Tibbles Column by Column</title>
    <link href="https://r-statistics.co/tibble-tibble-in-R.html"/>
    <id>https://r-statistics.co/tibble-tibble-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build modern data frames in R with tibble() from the tibble package. Learn syntax, examples, recycling rules, comparisons with data.frame(), and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble rownames_to_column() in R: Move Rownames to Column</title>
    <link href="https://r-statistics.co/tibble-rownames_to_column-in-R.html"/>
    <id>https://r-statistics.co/tibble-rownames_to_column-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Move data frame row names into a named column with tibble rownames_to_column() in R. Learn syntax, default var name, mtcars walkthrough, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble rowid_to_column() in R: Add Sequential Row IDs</title>
    <link href="https://r-statistics.co/tibble-rowid_to_column-in-R.html"/>
    <id>https://r-statistics.co/tibble-rowid_to_column-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add a sequential 1..n row id column with tibble rowid_to_column() in R. Learn the syntax, sorting safety, group-aware alternatives, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble remove_rownames() in R: Strip Row Names Cleanly</title>
    <link href="https://r-statistics.co/tibble-remove_rownames-in-R.html"/>
    <id>https://r-statistics.co/tibble-remove_rownames-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Strip character row names from any data frame using tibble remove_rownames() in R. Master syntax, the mtcars reset, pipeline lifts, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble has_rownames() in R: Detect Non-Trivial Row Names</title>
    <link href="https://r-statistics.co/tibble-has_rownames-in-R.html"/>
    <id>https://r-statistics.co/tibble-has_rownames-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect whether a data frame carries non-trivial row names with tibble has_rownames() in R. Learn syntax, mtcars vs tibble checks, and three real-world pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble glimpse() in R: Compact Transposed Data Preview</title>
    <link href="https://r-statistics.co/tibble-glimpse-in-R.html"/>
    <id>https://r-statistics.co/tibble-glimpse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compact, transposed preview of any data frame in R with tibble glimpse(). Learn syntax, examples, comparisons with str() and head(), and pitfalls to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble enframe() in R: Named Vector to Two-Column Tibble</title>
    <link href="https://r-statistics.co/tibble-enframe-in-R.html"/>
    <id>https://r-statistics.co/tibble-enframe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Lift a named vector into a two-column tibble in R with tibble::enframe(). Examples for purrr map output, list columns, deframe round-trips, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble deframe() in R: Two-Column Tibble to Named Vector</title>
    <link href="https://r-statistics.co/tibble-deframe-in-R.html"/>
    <id>https://r-statistics.co/tibble-deframe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Collapse a two-column tibble into a named vector in R using tibble::deframe(). Examples for lookup tables, enframe round-trips, pitfalls, and alternatives.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble column_to_rownames() in R: Move Column Into Rownames</title>
    <link href="https://r-statistics.co/tibble-column_to_rownames-in-R.html"/>
    <id>https://r-statistics.co/tibble-column_to_rownames-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Move a data frame column into row names with tibble column_to_rownames() in R. Learn syntax, mtcars round-trip, dist() matrix prep, and three common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble as_tibble_row() in R: One Row at a Time</title>
    <link href="https://r-statistics.co/tibble-as_tibble_row-in-R.html"/>
    <id>https://r-statistics.co/tibble-as_tibble_row-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Convert a named vector or list into a single-row tibble in R with as_tibble_row(). Examples for loops, list-columns, and rowwise records, plus pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble as_tibble_col() in R: Vector to One-Column Tibble</title>
    <link href="https://r-statistics.co/tibble-as_tibble_col-in-R.html"/>
    <id>https://r-statistics.co/tibble-as_tibble_col-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Convert a vector into a one-column tibble in R with as_tibble_col(). Examples for naming the column, list-columns, pipelines, plus pitfalls and alternatives.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble as_tibble() in R: Convert Objects to Tibbles</title>
    <link href="https://r-statistics.co/tibble-as_tibble-in-R.html"/>
    <id>https://r-statistics.co/tibble-as_tibble-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Convert data frames, lists, matrices, and named vectors to tibbles in R using as_tibble(). Learn rownames handling, name repair options, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble add_row() in R: Append Rows to a Data Frame</title>
    <link href="https://r-statistics.co/tibble-add_row-in-R.html"/>
    <id>https://r-statistics.co/tibble-add_row-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Append rows to a tibble in R with add_row() from the tibble package. Learn syntax, position control, NA handling, and common pitfalls with code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tibble add_column() in R: Append Columns to a Data Frame</title>
    <link href="https://r-statistics.co/tibble-add_column-in-R.html"/>
    <id>https://r-statistics.co/tibble-add_column-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Append or insert columns in a tibble with add_column() from the R tibble package. Learn syntax, position control, recycling, and pitfalls with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>testthat Exercises in R: 17 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/testthat-Exercises-in-R.html"/>
    <id>https://r-statistics.co/testthat-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>17 testthat exercises in R covering expect_equal, expect_identical, errors, warnings, fixtures, withr, mocks, and custom expectations. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>t-Tests in R: Every Variant With the Decision Rule for Choosing Between Them</title>
    <link href="https://r-statistics.co/t-Tests-in-R.html"/>
    <id>https://r-statistics.co/t-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Pick the right t-test in R: one-sample, Welch, Student, or paired. Learn the decision rule, assumption checks, effect size, and runnable code for each.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>T-Test Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/t-Test-Exercises-in-R.html"/>
    <id>https://r-statistics.co/t-Test-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 t-test exercises in R covering one-sample, two-sample (Welch and Student), paired tests, assumptions, effect sizes, power, and reporting workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>t-SNE and UMAP in R: Which to Use and How</title>
    <link href="https://r-statistics.co/t-SNE-and-UMAP-in-R.html"/>
    <id>https://r-statistics.co/t-SNE-and-UMAP-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>t-SNE and UMAP project high-dimensional data to 2D in R. Learn Rtsne and the umap package, tune perplexity and n_neighbors, avoid over-interpretation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_which() in R: Find Indexes of Matches</title>
    <link href="https://r-statistics.co/stringr-str_which-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_which-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_which() in R to find integer indexes of regex matches in a character vector. Covers fixed, case insensitive, negate, NA, with 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_view_all() in R: Highlight Every Regex Match</title>
    <link href="https://r-statistics.co/stringr-str_view_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_view_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_view_all() to highlight every regex match in a string for debugging. Covers the str_view() rewrite, ANSI output, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_view() in R: Preview Regex Pattern Matches</title>
    <link href="https://r-statistics.co/stringr-str_view-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_view-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_view() in R to preview which strings a regex matches, with matches highlighted in the console. Covers match modes, escapes, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_trunc() in R: Shorten Strings to a Fixed Width</title>
    <link href="https://r-statistics.co/stringr-str_trunc-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_trunc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn stringr str_trunc() in R to shorten strings to a fixed width with an ellipsis: syntax, the side argument, custom ellipsis, and common pitfalls explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_trim() in R: Trim Whitespace From Strings</title>
    <link href="https://r-statistics.co/stringr-str_trim-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_trim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_trim() in R to remove leading and trailing whitespace from strings. Vectorised, NA safe, with a side argument, 5 examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_to_upper() in R: Uppercase Strings With Locale</title>
    <link href="https://r-statistics.co/stringr-str_to_upper-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_to_upper-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_to_upper() in R to convert character vectors to uppercase. Locale aware, NA safe, vectorised, with 5 examples, comparisons, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_to_title() in R: Capitalize Each Word</title>
    <link href="https://r-statistics.co/stringr-str_to_title-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_to_title-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_to_title() in R to capitalize the first letter of each word. Vectorised, NA safe, locale aware, with 5 examples, comparisons, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_to_sentence() in R: Capitalize the First Letter</title>
    <link href="https://r-statistics.co/stringr-str_to_sentence-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_to_sentence-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_to_sentence() in R to capitalize the first letter of a string and lowercase the rest. Vectorised, NA safe, with 4 examples and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_to_lower() in R: Lowercase Strings With Locale</title>
    <link href="https://r-statistics.co/stringr-str_to_lower-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_to_lower-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_to_lower() in R to convert character vectors to lowercase. Locale aware via stringi, NA safe, vectorised, plus 5 examples and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_subset() in R: Filter Strings by Pattern</title>
    <link href="https://r-statistics.co/stringr-str_subset-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_subset-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_subset() to filter a character vector by a regex pattern in R. Covers fixed match, ignore case, negate, NA handling, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_sub() in R: Slice Substrings by Position</title>
    <link href="https://r-statistics.co/stringr-str_sub-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_sub-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_sub() in R to extract or replace substrings by position. Negative indices, vectorised start/end, NA-safe behaviour, plus 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_starts() in R: Detect String Prefixes</title>
    <link href="https://r-statistics.co/stringr-str_starts-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_starts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_starts() in R to test if strings begin with a pattern. Covers regex, fixed match, case-insensitive, negate, dplyr filter, with 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_squish() in R: Trim and Collapse Whitespace</title>
    <link href="https://r-statistics.co/stringr-str_squish-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_squish-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>stringr str_squish() in R trims leading and trailing whitespace and collapses repeated internal spaces into single spaces. Runnable examples and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_split_n in R: Extract the Nth Piece From a Split</title>
    <link href="https://r-statistics.co/stringr-str_split_n-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_split_n-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Searching for str_split_n in R? The right function is str_split_i() and the n argument lives on str_split(). Get the nth piece with 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_split_fixed() in R: Split Strings to Matrix</title>
    <link href="https://r-statistics.co/stringr-str_split_fixed-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_split_fixed-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Split character vectors in R into a fixed-column matrix with stringr str_split_fixed(). Covers n argument, padding, overflow, regex delimiters, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_split() in R: Split String by Pattern</title>
    <link href="https://r-statistics.co/stringr-str_split-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_split-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_split() and str_split_fixed() to split strings by a delimiter or regex in R. Covers list output, n argument, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_sort() in R: Sort Character Vectors With Locale</title>
    <link href="https://r-statistics.co/stringr-str_sort-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_sort-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sort character vectors in R with stringr str_sort(): locale-aware order, descending sort, NA handling, natural sort, and str_sort() vs sort() comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_replace_na() in R: Replace NA Values in Strings</title>
    <link href="https://r-statistics.co/stringr-str_replace_na-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_replace_na-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>stringr str_replace_na() converts NA in a character vector to a string label like \"missing\" or \"\". Covers paste safety, defaults, 4 worked examples in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_replace_all() in R: Replace All Pattern Matches</title>
    <link href="https://r-statistics.co/stringr-str_replace_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_replace_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_replace_all() to replace every match of a pattern in R. Covers named-vector dictionaries, regex, fixed, function callbacks, and gsub comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_replace() in R: Replace Pattern in Strings</title>
    <link href="https://r-statistics.co/stringr-str_replace-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_replace-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_replace() and str_replace_all() to replace patterns in strings in R. Covers backreferences, fixed match, case-insensitive, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_remove_all() in R: Delete Every Match</title>
    <link href="https://r-statistics.co/stringr-str_remove_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_remove_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_remove_all() to delete every regex or fixed-text match from each string in R. Covers digits, stopwords, HTML, vs str_remove, vs gsub examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_remove() in R: Remove Patterns From Strings</title>
    <link href="https://r-statistics.co/stringr-str_remove-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_remove-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_remove() and str_remove_all() to delete patterns from strings in R. Covers regex, fixed match, prefix and suffix removal, vs gsub, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_pad() in R: Pad Strings to a Fixed Width</title>
    <link href="https://r-statistics.co/stringr-str_pad-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_pad-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_pad() in R to pad strings to a fixed width. Zero-pad IDs, right-align text, choose a side, with 5 examples, a comparison table, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_order() in R: Sort Index for Character Vectors</title>
    <link href="https://r-statistics.co/stringr-str_order-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_order-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Get the integer index that sorts a character vector with stringr str_order() in R. Locale-aware, NA handling, decreasing sort order, base order() compared.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_match_all() in R: All Regex Capture Groups</title>
    <link href="https://r-statistics.co/stringr-str_match_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_match_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_match_all() to extract every regex match plus capture groups in R. Returns a list of matrices, one per input. Flatten and 4 examples inside.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_match() in R: Extract Regex Capture Groups</title>
    <link href="https://r-statistics.co/stringr-str_match-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_match-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_match() to extract regex capture groups in R. Returns a character matrix with one column per group. Named groups and 5 examples inside.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_locate_all() in R: Find Every Match Position</title>
    <link href="https://r-statistics.co/stringr-str_locate_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_locate_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_locate_all() to find every regex match position in R. Covers list-of-matrices output, flattening, counting, tokenization, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_locate() in R: Find Match Positions in Strings</title>
    <link href="https://r-statistics.co/stringr-str_locate-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_locate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_locate() to find start and end positions of regex matches in R. Covers the position matrix, str_locate_all, NA handling, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_length() in R: Count Characters in Strings</title>
    <link href="https://r-statistics.co/stringr-str_length-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_length-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Count characters per string with stringr str_length() in R. Vectorized, NA-aware, Unicode-safe, plus comparisons to nchar(), length() and width helpers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_glue_data() in R: Interpolate From a Data Frame</title>
    <link href="https://r-statistics.co/stringr-str_glue_data-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_glue_data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_glue_data() in R to interpolate strings from a data frame or named list. 5 examples, a str_glue comparison, and common pitfalls explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_glue() in R: Interpolate Variables Into Strings</title>
    <link href="https://r-statistics.co/stringr-str_glue-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_glue-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_glue() in R to interpolate variables and expressions into strings with {braces}. With 5 examples, a paste comparison, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_extract_all() in R: Every Regex Match</title>
    <link href="https://r-statistics.co/stringr-str_extract_all-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_extract_all-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_extract_all() to get every regex match per string in R. Covers list output, simplify=TRUE, unlist, unnest_longer, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_extract() in R: Extract Pattern From Strings</title>
    <link href="https://r-statistics.co/stringr-str_extract-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_extract-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_extract() to extract the first regex match from each string in R. Covers all matches, named groups, NA handling, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_ends() in R: Detect String Suffixes</title>
    <link href="https://r-statistics.co/stringr-str_ends-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_ends-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_ends() in R to test if strings end with a pattern. Covers regex, fixed match, case-insensitive, negate, dplyr filter, with 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_dup() in R: Repeat a String N Times</title>
    <link href="https://r-statistics.co/stringr-str_dup-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_dup-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_dup() in R to repeat a string a fixed number of times. Build separator lines and indentation, with 5 examples, a comparison table, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_detect() in R: Find Pattern in Strings</title>
    <link href="https://r-statistics.co/stringr-str_detect-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_detect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_detect() to find a regex pattern in strings in R. Covers fixed match, case-insensitive, negate, vectorized use, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_count() in R: Count Pattern Matches in Strings</title>
    <link href="https://r-statistics.co/stringr-str_count-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_count-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Count regex or fixed pattern matches per string with stringr str_count() in R. Covers regex, fixed, case-insensitive, words, NA, with worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr str_c() in R: Join Strings With a Separator</title>
    <link href="https://r-statistics.co/stringr-str_c-in-R.html"/>
    <id>https://r-statistics.co/stringr-str_c-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr str_c() in R to concatenate character vectors with a separator or collapse them into one string. 5 examples, a paste comparison, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr Regex in R: Match, Extract, and Replace Patterns</title>
    <link href="https://r-statistics.co/stringr-regex-in-R.html"/>
    <id>https://r-statistics.co/stringr-regex-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr regex in R to match, extract, replace, and split text. Covers regex() options, anchors, character classes, capture groups, and 8 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr in R: The 15 Functions You Actually Need</title>
    <link href="https://r-statistics.co/stringr-in-R.html"/>
    <id>https://r-statistics.co/stringr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master stringr in R with 15 essential functions for detecting, extracting, replacing, and splitting strings. Real examples for every function.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr fixed() in R: Match Literal Strings Without Regex</title>
    <link href="https://r-statistics.co/stringr-fixed-in-R.html"/>
    <id>https://r-statistics.co/stringr-fixed-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use stringr fixed() in R to match literal strings without regex interpretation. Covers syntax, ignore_case, performance vs regex, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stringr Exercises in R: 28 Practice Problems with Solutions</title>
    <link href="https://r-statistics.co/stringr-Exercises-in-R.html"/>
    <id>https://r-statistics.co/stringr-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice stringr with 28 real exercises covering detection, extraction, replacement, splitting and regex. Hidden solutions, explanations, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>sloop Package in R: otype(), ftype(), Inspect Any Object's OOP System</title>
    <link href="https://r-statistics.co/sloop-Package-in-R.html"/>
    <id>https://r-statistics.co/sloop-Package-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use the sloop package to identify R's OOP system with otype(), classify functions with ftype(), and trace S3 method dispatch with s3_dispatch() in one line.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample vfold_cv() in R: V-Fold Cross-Validation Splits</title>
    <link href="https://r-statistics.co/rsample-vfold_cv-in-R.html"/>
    <id>https://r-statistics.co/rsample-vfold_cv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build v-fold cross-validation splits with rsample vfold_cv() in R. Covers v, repeats, strata, set.seed reproducibility, and analysis()/assessment() helpers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample validation_split() in R: Train Validation Split</title>
    <link href="https://r-statistics.co/rsample-validation_split-in-R.html"/>
    <id>https://r-statistics.co/rsample-validation_split-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create a train/validation split with rsample validation_split() in R. Covers prop, strata, the initial_validation_split() upgrade, and tune integration.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample training() in R: Get the Training Set From a Split</title>
    <link href="https://r-statistics.co/rsample-training-in-R.html"/>
    <id>https://r-statistics.co/rsample-training-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Extract the training rows from an rsplit object with rsample training() in R. Covers initial_split, vfold_cv folds, bootstraps, and resample workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample testing() in R: Get the Test Set From a Split</title>
    <link href="https://r-statistics.co/rsample-testing-in-R.html"/>
    <id>https://r-statistics.co/rsample-testing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Extract the test set from an rsplit with rsample testing() in R. Covers initial_split, holdout scoring, vfold_cv assessment folds, and tidymodels workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample sliding_window() in R: Slider-Style Resamples</title>
    <link href="https://r-statistics.co/rsample-sliding_window-in-R.html"/>
    <id>https://r-statistics.co/rsample-sliding_window-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build sliding-window resamples with rsample sliding_window() in R. Covers lookback, assess_start, assess_stop, step, and skip for time-series backtests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample sliding_period() in R: Calendar-Based Resamples</title>
    <link href="https://r-statistics.co/rsample-sliding_period-in-R.html"/>
    <id>https://r-statistics.co/rsample-sliding_period-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build calendar-period resamples with rsample sliding_period() in R. Covers index, period, lookback, every, and assess for monthly and weekly backtests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample rolling_origin() in R: Time-Series Resampling</title>
    <link href="https://r-statistics.co/rsample-rolling_origin-in-R.html"/>
    <id>https://r-statistics.co/rsample-rolling_origin-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build time-ordered resamples with rsample rolling_origin() in R. Covers initial, assess, skip, cumulative, and lag for expanding and sliding window backtesting.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample permutations() in R: Permutation Test Resamples</title>
    <link href="https://r-statistics.co/rsample-permutations-in-R.html"/>
    <id>https://r-statistics.co/rsample-permutations-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use rsample::permutations() to build permutation resamples in R for null distributions, p-values, and hypothesis tests. Syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample nested_cv() in R: Nested Cross-Validation Splits</title>
    <link href="https://r-statistics.co/rsample-nested_cv-in-R.html"/>
    <id>https://r-statistics.co/rsample-nested_cv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build nested cross-validation splits with rsample nested_cv() in R. Covers outer/inner resampling, inner_resamples column, and honest tuning workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample mc_cv() in R: Monte Carlo Cross-Validation Splits</title>
    <link href="https://r-statistics.co/rsample-mc_cv-in-R.html"/>
    <id>https://r-statistics.co/rsample-mc_cv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build Monte Carlo cross-validation splits with rsample mc_cv() in R. Covers prop, times, strata, set.seed reproducibility, and how mc_cv differs from vfold_cv.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample loo_cv() in R: Leave-One-Out Cross-Validation</title>
    <link href="https://r-statistics.co/rsample-loo_cv-in-R.html"/>
    <id>https://r-statistics.co/rsample-loo_cv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build leave-one-out cross-validation splits in R with rsample loo_cv(). Covers n-fold structure, analysis()/assessment(), and when to prefer vfold_cv().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample initial_split() in R: Make a Train/Test Split</title>
    <link href="https://r-statistics.co/rsample-initial_split-in-R.html"/>
    <id>https://r-statistics.co/rsample-initial_split-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Split data into training and testing sets with rsample initial_split() in R. Covers prop, strata, set.seed reproducibility, and the training() helper.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample group_vfold_cv() in R: Group-Aware CV Splits</title>
    <link href="https://r-statistics.co/rsample-group_vfold_cv-in-R.html"/>
    <id>https://r-statistics.co/rsample-group_vfold_cv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build group-aware v-fold cross-validation splits with rsample group_vfold_cv() in R. Covers v, balance, leave-one-group-out, and how to prevent group leakage.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample group_initial_split() in R: Group-Safe Splits</title>
    <link href="https://r-statistics.co/rsample-group_initial_split-in-R.html"/>
    <id>https://r-statistics.co/rsample-group_initial_split-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Split grouped data with rsample group_initial_split() in R. Keeps all rows of a group in one set, with prop, strata, set.seed, and group leakage examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rsample bootstraps() in R: Bootstrap Resampling Splits</title>
    <link href="https://r-statistics.co/rsample-bootstraps-in-R.html"/>
    <id>https://r-statistics.co/rsample-bootstraps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build bootstrap resamples with rsample bootstraps() in R. Covers times, strata, apparent, set.seed reproducibility, and analysis()/assessment() helpers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_zv() in R: Remove Zero-Variance Predictors</title>
    <link href="https://r-statistics.co/recipes-step_zv-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_zv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how the recipes step_zv() function in R removes zero-variance predictors, constant columns with a single value, with runnable prep and bake examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_window() in R: Smooth Numeric Predictors</title>
    <link href="https://r-statistics.co/recipes-step_window-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_window-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_window() in R computes moving-window statistics like a rolling mean or median on a numeric column. Learn the size, statistic and names arguments.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_unknown() in R: Label Missing Factor Values</title>
    <link href="https://r-statistics.co/recipes-step_unknown-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_unknown-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how the recipes step_unknown() function in R relabels missing (NA) factor values as an explicit level, with runnable prep, bake, and step_dummy examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_scale() in R: Scale Predictors to Unit SD</title>
    <link href="https://r-statistics.co/recipes-step_scale-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_scale-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_scale() in R divides numeric predictors by their training standard deviation, giving each column unit variance. Syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_range() in R: Scale Predictors to a 0-1 Range</title>
    <link href="https://r-statistics.co/recipes-step_range-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_range-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_range() in R rescales numeric predictors to a fixed interval, 0 to 1 by default. Syntax, min/max arguments, clipping, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_poly() in R: Add Polynomial Predictor Terms</title>
    <link href="https://r-statistics.co/recipes-step_poly-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_poly-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_poly() in R adds orthogonal polynomial terms to a tidymodels recipe, with runnable examples for degree, raw powers, and naming.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_pls() in R: PLS Feature Extraction</title>
    <link href="https://r-statistics.co/recipes-step_pls-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_pls-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use recipes step_pls() in R to add supervised PLS feature extraction to a tidymodels recipe. Covers syntax, examples, tuning num_comp, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_pca() in R: PCA Feature Reduction for Modeling</title>
    <link href="https://r-statistics.co/recipes-step_pca-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_pca-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_pca() function in R turns correlated numeric predictors into principal components for modeling. Runnable prep and bake examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_other() in R: Collapse Rare Factor Levels</title>
    <link href="https://r-statistics.co/recipes-step_other-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_other-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_other() in R pools infrequent factor levels into an 'other' category. Learn the threshold argument, worked examples, and the most common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_nzv() in R: Drop Near-Zero-Variance Predictors</title>
    <link href="https://r-statistics.co/recipes-step_nzv-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_nzv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_nzv() function in R removes near-zero-variance predictors using freq_cut and unique_cut thresholds. Runnable prep and bake examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_ns() in R: Add Natural Spline Predictor Terms</title>
    <link href="https://r-statistics.co/recipes-step_ns-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_ns-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_ns() in R adds natural spline terms to a tidymodels recipe, with runnable examples for deg_free, knots, multiple predictors, and naming.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_novel() in R: Handle Unseen Factor Levels</title>
    <link href="https://r-statistics.co/recipes-step_novel-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_novel-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how the recipes step_novel() function in R assigns a placeholder level to unseen factor categories, with runnable prep, bake, and step_dummy examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_normalize() in R: Center and Scale Predictors</title>
    <link href="https://r-statistics.co/recipes-step_normalize-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_normalize-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_normalize() in R centers and scales numeric predictors to mean zero and unit variance using training statistics. Syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_log() in R: Log-Transform Skewed Predictors</title>
    <link href="https://r-statistics.co/recipes-step_log-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_log-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_log() in R applies a log transformation to numeric predictors. Syntax, base and offset arguments, signed logs, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_lincomb() in R: Remove Linear Combinations</title>
    <link href="https://r-statistics.co/recipes-step_lincomb-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_lincomb-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_lincomb() function in R removes predictors that are exact linear combinations of other columns. Runnable prep and bake examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_lag() in R: Create Lagged Predictors</title>
    <link href="https://r-statistics.co/recipes-step_lag-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_lag-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_lag() in R creates lagged copies of a column as new predictors for time-series models. Learn the lag argument, prefix, default, prep and bake.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_kpca() in R: Kernel PCA Feature Step</title>
    <link href="https://r-statistics.co/recipes-step_kpca-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_kpca-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_kpca() function in R runs kernel PCA inside a preprocessing pipeline to capture nonlinear predictor structure. Runnable prep and bake examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_isomap() in R: Nonlinear Manifold Step</title>
    <link href="https://r-statistics.co/recipes-step_isomap-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_isomap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_isomap() function in R adds Isomap manifold embedding inside a preprocessing pipeline. Runnable prep and bake examples on mtcars and iris.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_interact() in R: Add Interaction Terms</title>
    <link href="https://r-statistics.co/recipes-step_interact-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_interact-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_interact() in R adds interaction terms to a tidymodels preprocessing recipe, with runnable examples for numeric and dummy variables.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_mode() in R: Impute Categorical NAs</title>
    <link href="https://r-statistics.co/recipes-step_impute_mode-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_mode-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_mode() fills missing categorical values with the most common level in R. Syntax, examples, tidy() output, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_median() in R: Impute Missing Values</title>
    <link href="https://r-statistics.co/recipes-step_impute_median-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_median-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_median() fills missing numeric values with the column median in R. Syntax, airquality examples, and median vs mean imputation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_mean() in R: Mean Imputation</title>
    <link href="https://r-statistics.co/recipes-step_impute_mean-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_mean-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_mean() fills missing numeric values with the column mean in R. Syntax, trim argument, airquality examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_linear() in R: Linear Model Imputation</title>
    <link href="https://r-statistics.co/recipes-step_impute_linear-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_linear-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_linear() imputes missing numeric values with a linear regression model in R. Covers impute_with, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_knn() in R: KNN Missing Data Imputation</title>
    <link href="https://r-statistics.co/recipes-step_impute_knn-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_knn-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_knn() imputes missing values from k nearest neighbours in R. Covers the neighbors and impute_with arguments plus pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_impute_bag() in R: Bagged Tree Imputation</title>
    <link href="https://r-statistics.co/recipes-step_impute_bag-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_impute_bag-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_impute_bag() imputes missing values in R using bagged decision trees. Syntax, airquality examples, tuning trees, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_ica() in R: Independent Component Features</title>
    <link href="https://r-statistics.co/recipes-step_ica-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_ica-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_ica() function in R extracts statistically independent components from numeric predictors for modeling. Runnable prep and bake examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_holiday() in R: Add Holiday Indicator Features</title>
    <link href="https://r-statistics.co/recipes-step_holiday-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_holiday-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_holiday() in R creates 0/1 indicator columns marking named holidays on a date column. Learn the syntax, the holidays argument, prep and bake.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_dummy() in R: Create Dummy Variables</title>
    <link href="https://r-statistics.co/recipes-step_dummy-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_dummy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_dummy() in R turns factor and character predictors into 0/1 dummy variables. Learn the syntax, one-hot encoding, prep and bake, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_date() in R: Extract Date Features for Modeling</title>
    <link href="https://r-statistics.co/recipes-step_date-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_date() in R turns a Date column into year, month, and day-of-week predictors. Learn the syntax, the features argument, prep and bake, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_corr() in R: Drop Correlated Predictors</title>
    <link href="https://r-statistics.co/recipes-step_corr-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_corr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The recipes step_corr() function in R removes predictors with high pairwise correlation using a tunable threshold. Runnable prep and bake examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_center() in R: Center Numeric Predictors</title>
    <link href="https://r-statistics.co/recipes-step_center-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_center-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_center() in R centers numeric predictors by subtracting the training mean. Learn the syntax, worked examples, prep and bake, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_bs() in R: B-Spline Basis Expansion</title>
    <link href="https://r-statistics.co/recipes-step_bs-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_bs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes step_bs() in R builds a B-spline basis for a numeric predictor in a tidymodels recipe, with runnable examples for deg_free and degree.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_YeoJohnson() in R: Transform Skewed Data</title>
    <link href="https://r-statistics.co/recipes-step_YeoJohnson-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_YeoJohnson-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_YeoJohnson() in R applies a Yeo-Johnson power transformation that reshapes skewed predictors, including columns with zeros and negative values.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes step_BoxCox() in R: Normalize Skewed Predictors</title>
    <link href="https://r-statistics.co/recipes-step_BoxCox-in-R.html"/>
    <id>https://r-statistics.co/recipes-step_BoxCox-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>recipes step_BoxCox() in R applies a Box-Cox transformation that reshapes skewed, strictly positive predictors toward normality. Syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>recipes recipe() in R: Build a Preprocessing Blueprint</title>
    <link href="https://r-statistics.co/recipes-recipe-in-R.html"/>
    <id>https://r-statistics.co/recipes-recipe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how recipes recipe() in R builds reusable tidymodels preprocessing pipelines. Covers the formula interface, roles, steps, prep, and bake with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl skip vs range in R: Which One to Use</title>
    <link href="https://r-statistics.co/readxl-skip-vs-range-in-R.html"/>
    <id>https://r-statistics.co/readxl-skip-vs-range-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare the skip and range arguments of readxl read_excel() in R. Learn when to drop header rows with skip and when to read an exact cell block of data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl read_xlsx() in R: Read Modern .xlsx Files</title>
    <link href="https://r-statistics.co/readxl-read_xlsx-in-R.html"/>
    <id>https://r-statistics.co/readxl-read_xlsx-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readxl read_xlsx() in R to import modern .xlsx Excel files into tibbles. Covers syntax, sheet selection, cell ranges, column types, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl read_xls() in R: Read Legacy .xls Excel Files</title>
    <link href="https://r-statistics.co/readxl-read_xls-in-R.html"/>
    <id>https://r-statistics.co/readxl-read_xls-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readxl read_xls() in R to import legacy binary .xls Excel files into tibbles. Covers syntax, sheets, cell ranges, column types, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl read_excel() in R: Import Excel Files to Tibbles</title>
    <link href="https://r-statistics.co/readxl-read_excel-in-R.html"/>
    <id>https://r-statistics.co/readxl-read_excel-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readxl read_excel() in R to import Excel files into tibbles. Covers syntax, reading sheets, cell ranges, column types, skipping rows, and errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl excel_sheets() in R: List Excel Sheet Names</title>
    <link href="https://r-statistics.co/readxl-excel_sheets-in-R.html"/>
    <id>https://r-statistics.co/readxl-excel_sheets-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readxl excel_sheets() in R to list every sheet name in an Excel workbook before you read it. Syntax, examples, looping over sheets, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl Cells vs Rows in R: Slice Excel Imports</title>
    <link href="https://r-statistics.co/readxl-cells-vs-rows-in-R.html"/>
    <id>https://r-statistics.co/readxl-cells-vs-rows-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare cell-based and row-based Excel reading in readxl: when to use cell_rows(), skip and n_max versus cell_limits(), cell_cols() and range strings.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl cell_rows() in R: Read Specific Rows From Excel</title>
    <link href="https://r-statistics.co/readxl-cell_rows-in-R.html"/>
    <id>https://r-statistics.co/readxl-cell_rows-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readxl cell_rows() in R to read a specific range of rows from an Excel sheet. Covers the syntax, four worked examples, common pitfalls, and an FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl cell_limits() in R: Read a Precise Cell Range</title>
    <link href="https://r-statistics.co/readxl-cell_limits-in-R.html"/>
    <id>https://r-statistics.co/readxl-cell_limits-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>readxl cell_limits() in R defines a rectangular cell range by upper-left and lower-right corners, so read_excel() reads only the block of cells you need.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl cell_cols() in R: Read Specific Excel Columns</title>
    <link href="https://r-statistics.co/readxl-cell_cols-in-R.html"/>
    <id>https://r-statistics.co/readxl-cell_cols-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readxl cell_cols() in R to read a chosen range of columns from an Excel sheet. Covers the syntax, four worked examples, common pitfalls, and an FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readxl anchored() in R: Read a Cell Block by Corner</title>
    <link href="https://r-statistics.co/readxl-anchored-in-R.html"/>
    <id>https://r-statistics.co/readxl-anchored-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>readxl anchored() in R builds a cell range from one corner plus a width and height, so read_excel() imports an exact block of cells with no corner math.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr write_tsv() in R: Export Data to TSV Files</title>
    <link href="https://r-statistics.co/readr-write_tsv-in-R.html"/>
    <id>https://r-statistics.co/readr-write_tsv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readr write_tsv() in R to export data frames to tab-separated TSV files. Covers syntax, the na and append arguments, write_tsv vs write.table, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr write_rds() in R: Save Objects to .rds Files</title>
    <link href="https://r-statistics.co/readr-write_rds-in-R.html"/>
    <id>https://r-statistics.co/readr-write_rds-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readr write_rds() in R to save an R object to a compact .rds file with optional gz compression. Covers syntax, examples, write_rds vs saveRDS, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr write_lines() in R: Write Text Lines to a File</title>
    <link href="https://r-statistics.co/readr-write_lines-in-R.html"/>
    <id>https://r-statistics.co/readr-write_lines-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr write_lines() in R to write a character vector to a file, one line per element. Covers syntax, append mode, separators, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr write_delim() in R: Write Data to Delimited Files</title>
    <link href="https://r-statistics.co/readr-write_delim-in-R.html"/>
    <id>https://r-statistics.co/readr-write_delim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr write_delim() in R to save data frames to space, pipe, or any custom-delimited text file. Syntax, examples, append mode, and a write_csv comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr write_csv() in R: Export Data Frames to CSV</title>
    <link href="https://r-statistics.co/readr-write_csv-in-R.html"/>
    <id>https://r-statistics.co/readr-write_csv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr write_csv() in R to export data frames to CSV files. Covers syntax, appending rows, NA handling, write_excel_csv, and write.csv differences.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr vs read.csv vs fread in R: Which Data Import Function Is Fastest?</title>
    <link href="https://r-statistics.co/readr-vs-read-csv-vs-fread.html"/>
    <id>https://r-statistics.co/readr-vs-read-csv-vs-fread.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare readr vs read.csv vs fread in R with hands-on benchmarks and clear examples, then pick the fastest CSV import function for your real dataset size.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_tsv() in R: Read Tab-Separated Files Fast</title>
    <link href="https://r-statistics.co/readr-read_tsv-in-R.html"/>
    <id>https://r-statistics.co/readr-read_tsv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_tsv() in R to read tab-separated files into tibbles. Covers syntax, column types, NA strings, column selection, and read.delim differences.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_table() in R: Read Whitespace-Separated Files</title>
    <link href="https://r-statistics.co/readr-read_table-in-R.html"/>
    <id>https://r-statistics.co/readr-read_table-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_table() in R to read whitespace-separated text files into a tibble. Covers ragged spacing, column types, missing values, and read_fwf.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_rds() in R: Load a Saved R Object</title>
    <link href="https://r-statistics.co/readr-read_rds-in-R.html"/>
    <id>https://r-statistics.co/readr-read_rds-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_rds() in R to load a saved R object from an .rds file. Covers syntax, restoring models, type preservation, readRDS differences, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_log() in R: Read Web Server Log Files</title>
    <link href="https://r-statistics.co/readr-read_log-in-R.html"/>
    <id>https://r-statistics.co/readr-read_log-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>readr read_log() in R reads Common Log Format web server logs into a tibble. Learn the syntax, column types, how to name fields, and parse the log date.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_lines() in R: Read a File Into Lines</title>
    <link href="https://r-statistics.co/readr-read_lines-in-R.html"/>
    <id>https://r-statistics.co/readr-read_lines-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>readr read_lines() in R reads a text file into a character vector, one line per item. Learn the syntax, skip and n_max arguments, and read_lines vs readLines.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_fwf() in R: Read Fixed-Width Files</title>
    <link href="https://r-statistics.co/readr-read_fwf-in-R.html"/>
    <id>https://r-statistics.co/readr-read_fwf-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_fwf() in R to read fixed-width files into a tibble. Covers fwf_widths, fwf_positions, fwf_empty, fwf_cols, column types, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_file() in R: Read a Whole File Into a String</title>
    <link href="https://r-statistics.co/readr-read_file-in-R.html"/>
    <id>https://r-statistics.co/readr-read_file-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how readr's read_file() in R loads an entire file into a single character string. Syntax, examples, read_file vs read_lines, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_delim() in R: Read Any Delimited Text File</title>
    <link href="https://r-statistics.co/readr-read_delim-in-R.html"/>
    <id>https://r-statistics.co/readr-read_delim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_delim() in R to read text files with any delimiter into a tibble. Covers the delim argument, column types, missing values, and read_csv.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr read_csv() in R: Read CSV Files Into Tibbles</title>
    <link href="https://r-statistics.co/readr-read_csv-in-R.html"/>
    <id>https://r-statistics.co/readr-read_csv-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn readr read_csv() in R to import CSV files into tibbles. Covers syntax, column types, selecting columns, missing values, and read.csv differences.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr parse_number() in R: Extract Numbers From Text</title>
    <link href="https://r-statistics.co/readr-parse_number-in-R.html"/>
    <id>https://r-statistics.co/readr-parse_number-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The readr parse_number() function extracts numbers from messy text, stripping currency symbols, commas, and percent signs. Learn its syntax with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr parse_factor() in R: Parse Text Into a Factor</title>
    <link href="https://r-statistics.co/readr-parse_factor-in-R.html"/>
    <id>https://r-statistics.co/readr-parse_factor-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The readr parse_factor() function converts a character vector into a factor and warns when a value falls outside the levels you expected. Learn its syntax.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr parse_date() in R: Convert Strings to Date Objects</title>
    <link href="https://r-statistics.co/readr-parse_date-in-R.html"/>
    <id>https://r-statistics.co/readr-parse_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readr parse_date() in R to convert character strings into Date objects. Covers format codes, locales, NA handling, and common parse errors with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr locale() in R: Control Date and Number Parsing</title>
    <link href="https://r-statistics.co/readr-locale-in-R.html"/>
    <id>https://r-statistics.co/readr-locale-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use readr locale() in R to control how dates, numbers, encoding and time zones are parsed. Covers decimal commas, foreign month names and read_csv examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr cols() in R: Set Column Types When Reading Data</title>
    <link href="https://r-statistics.co/readr-cols-in-R.html"/>
    <id>https://r-statistics.co/readr-cols-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>readr cols() in R sets exact column types when reading data. Learn cols(), cols_only(), col_date, col_skip, and the compact type string with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr col_types in R: Control Column Types on Import</title>
    <link href="https://r-statistics.co/readr-col_types-in-R.html"/>
    <id>https://r-statistics.co/readr-col_types-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The readr col_types argument sets exact column types when reading data. Learn the compact string, cols() spec, cols_only(), and show_col_types with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>readr Exercises in R: 28 Real Data Import Problems</title>
    <link href="https://r-statistics.co/readr-Exercises-in-R.html"/>
    <id>https://r-statistics.co/readr-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>28 readr practice problems with hidden solutions: read_csv, col_types, parse_number, locales, encoding, write_csv. Realistic data-import scenarios.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>qs qsave() in R: Save R Objects Fast to Disk</title>
    <link href="https://r-statistics.co/qs-qsave-in-R.html"/>
    <id>https://r-statistics.co/qs-qsave-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to use qs qsave() in R to serialize any R object to disk fast. Covers syntax, presets, multithreading, qsave vs saveRDS, and pitfalls, with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr walk2() in R: Side Effects Over Two Inputs</title>
    <link href="https://r-statistics.co/purrr-walk2-in-R.html"/>
    <id>https://r-statistics.co/purrr-walk2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr walk2() in R to run a function over two inputs in parallel for side effects, like saving files. Covers syntax, examples, walk2 vs map2, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr walk() in R: Apply Functions for Side Effects</title>
    <link href="https://r-statistics.co/purrr-walk-in-R.html"/>
    <id>https://r-statistics.co/purrr-walk-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr walk() in R to apply a function for its side effects, printing, saving, or plotting. Covers walk2, pwalk, iwalk and how walk differs from map.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr transpose() in R: Restructure Nested Lists by Index</title>
    <link href="https://r-statistics.co/purrr-transpose-in-R.html"/>
    <id>https://r-statistics.co/purrr-transpose-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr transpose() in R to flip a list of records into a list of fields. Examples, list_transpose() comparison, pitfalls, and FAQ with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr some() in R: Test If Any Element Matches</title>
    <link href="https://r-statistics.co/purrr-some-in-R.html"/>
    <id>https://r-statistics.co/purrr-some-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr some() in R to test whether at least one element of a list or vector matches a predicate. Covers syntax, examples, NA handling, some vs every.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr set_names() in R: Name Vector and List Elements</title>
    <link href="https://r-statistics.co/purrr-set_names-in-R.html"/>
    <id>https://r-statistics.co/purrr-set_names-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr set_names() in R to name vector, list, and data frame elements. Covers the syntax, self-naming, name transformations, and common length pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr safely() in R: Catch Errors Without Stopping Code</title>
    <link href="https://r-statistics.co/purrr-safely-in-R.html"/>
    <id>https://r-statistics.co/purrr-safely-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr safely() in R to wrap risky functions so errors are captured as values, not crashes. Examples with map(), transpose(), otherwise, and possibly().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr reduce_right() in R: Fold a List From the Right</title>
    <link href="https://r-statistics.co/purrr-reduce_right-in-R.html"/>
    <id>https://r-statistics.co/purrr-reduce_right-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr reduce_right() folds a list or vector from right to left in R. Learn its syntax, the modern backward-direction replacement, and worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr reduce2() in R: Fold Two Lists in Parallel</title>
    <link href="https://r-statistics.co/purrr-reduce2-in-R.html"/>
    <id>https://r-statistics.co/purrr-reduce2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr reduce2() in R to fold a list while a second parallel list supplies an extra argument at each step. Covers syntax, the length rule, and examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr reduce() in R: Combine Elements With a Function</title>
    <link href="https://r-statistics.co/purrr-reduce-in-R.html"/>
    <id>https://r-statistics.co/purrr-reduce-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr reduce() to combine a list or vector with a 2-argument function in R. Covers reduce, accumulate, .init, .dir, fold left vs right, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr quietly() in R: Trap Output, Warnings, Messages</title>
    <link href="https://r-statistics.co/purrr-quietly-in-R.html"/>
    <id>https://r-statistics.co/purrr-quietly-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how purrr's quietly() in R wraps a function to capture its printed output, warnings, and messages as a tidy list. Worked examples, pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr pwalk() in R: Side Effects Over Parallel Lists</title>
    <link href="https://r-statistics.co/purrr-pwalk-in-R.html"/>
    <id>https://r-statistics.co/purrr-pwalk-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr pwalk() in R to run side effects over three or more parallel lists. Examples cover data frame rows, file writing, and pwalk vs pmap differences.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr possibly() in R: Return a Default on Error</title>
    <link href="https://r-statistics.co/purrr-possibly-in-R.html"/>
    <id>https://r-statistics.co/purrr-possibly-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr possibly() in R to wrap risky functions so failures return a fallback value instead of an error. Examples with map_dbl, otherwise, and safely.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr pmap() in R: Iterate Over Many Lists in Parallel</title>
    <link href="https://r-statistics.co/purrr-pmap-in-R.html"/>
    <id>https://r-statistics.co/purrr-pmap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr pmap() to apply a function to several lists or data frame rows in parallel in R. Covers pmap_dbl, pmap_chr, pmap_dfr, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr pluck() in R: Extract Nested List Elements</title>
    <link href="https://r-statistics.co/purrr-pluck-in-R.html"/>
    <id>https://r-statistics.co/purrr-pluck-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr pluck() in R to safely extract elements from nested lists and data frames. Covers syntax, the .default fallback, chuck(), and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr partial() in R: Pre-Fill Function Arguments</title>
    <link href="https://r-statistics.co/purrr-partial-in-R.html"/>
    <id>https://r-statistics.co/purrr-partial-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how purrr's partial() in R pre-fills function arguments to build reusable, single-purpose functions. Syntax, map() examples, unquoting, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr none() in R: Test If No Element Matches</title>
    <link href="https://r-statistics.co/purrr-none-in-R.html"/>
    <id>https://r-statistics.co/purrr-none-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr none() in R to test whether no element of a list or vector matches a predicate. Covers syntax, every() and some(), NA handling, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr negate() in R: Flip a Predicate's Logic</title>
    <link href="https://r-statistics.co/purrr-negate-in-R.html"/>
    <id>https://r-statistics.co/purrr-negate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr negate() in R to flip a predicate function so TRUE becomes FALSE. Covers syntax, keep and discard pairing, formula predicates, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr modify_if() in R: Conditionally Transform Elements</title>
    <link href="https://r-statistics.co/purrr-modify_if-in-R.html"/>
    <id>https://r-statistics.co/purrr-modify_if-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr modify_if() in R to transform only the list or data frame elements that pass a predicate test. Examples, the .else argument, comparison, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr modify_at() in R: Transform Elements by Name</title>
    <link href="https://r-statistics.co/purrr-modify_at-in-R.html"/>
    <id>https://r-statistics.co/purrr-modify_at-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr modify_at() in R to transform only the list elements or data frame columns you select by name or position, leaving the rest unchanged. With examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr modify() in R: Transform Elements, Keep the Type</title>
    <link href="https://r-statistics.co/purrr-modify-in-R.html"/>
    <id>https://r-statistics.co/purrr-modify-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr modify() to transform every element of a list, vector, or data frame in R while keeping the same type. Covers modify_if, modify_at, modify2, examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_vec() in R: Map to a Simple Typed Vector</title>
    <link href="https://r-statistics.co/purrr-map_vec-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_vec-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr map_vec() in R to apply a function over a list or vector and return a simplified vector that automatically keeps Date, factor and other S3 types.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_lgl() in R: Map a List to a Logical Vector</title>
    <link href="https://r-statistics.co/purrr-map_lgl-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_lgl-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr map_lgl() in R to apply a predicate over a list or vector and return a type-stable logical vector, with worked examples and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_int() in R: Return an Integer Vector</title>
    <link href="https://r-statistics.co/purrr-map_int-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_int-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr map_int() applies a function to each element and returns an integer vector in R. Learn syntax, worked examples, coercion rules, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_dfr() in R: Map and Row-Bind to Data Frames</title>
    <link href="https://r-statistics.co/purrr-map_dfr-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_dfr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr map_dfr() applies a function to each element and row-binds the results into one data frame. Learn its syntax, the .id key, map2_dfr, and list_rbind.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_dfc() in R: Combine List Results Into Columns</title>
    <link href="https://r-statistics.co/purrr-map_dfc-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_dfc-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr map_dfc() applies a function to each element and column-binds the results into one data frame. Learn its syntax, map2_dfc, pitfalls, and list_cbind.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_df() in R: Build a Data Frame From a List</title>
    <link href="https://r-statistics.co/purrr-map_df-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_df-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr map_df() in R to apply a function to each element and row-bind the results into one tidy data frame. Worked examples, map_dfc, list_rbind, and FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_dbl() in R: Return a Numeric Vector</title>
    <link href="https://r-statistics.co/purrr-map_dbl-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_dbl-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr map_dbl() in R to apply a function across a list or vector and return a type-stable numeric (double) vector. Worked examples, pitfalls, and FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map_chr() in R: Map a List to a Character Vector</title>
    <link href="https://r-statistics.co/purrr-map_chr-in-R.html"/>
    <id>https://r-statistics.co/purrr-map_chr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr map_chr() in R to apply a function over a list or vector and return a type-stable character vector, with worked examples and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map2() in R: Iterate Over Two Lists in Parallel</title>
    <link href="https://r-statistics.co/purrr-map2-in-R.html"/>
    <id>https://r-statistics.co/purrr-map2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr map2() to apply a function to two lists or vectors in parallel in R. Covers map2_dbl, map2_chr, map2_dfr variants, lambda syntax, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map() in R: Apply a Function (Tidyverse Style)</title>
    <link href="https://r-statistics.co/purrr-map-in-R.html"/>
    <id>https://r-statistics.co/purrr-map-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr map() to apply a function to each element of a list or vector in R. Covers map_dbl, map_chr, map_dfr type-safe variants and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map() in R: Every Variant, One Mental Model</title>
    <link href="https://r-statistics.co/purrr-map-Variants.html"/>
    <id>https://r-statistics.co/purrr-map-Variants.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr map() variants in R: map(), map2(), imap(), pmap(), walk(), and the type-suffix system. One mental model to pick the right function every time.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr map() Functions in R: map, map2, imap, pmap, Functional Data Processing</title>
    <link href="https://r-statistics.co/purrr-map-Data-Wrangling.html"/>
    <id>https://r-statistics.co/purrr-map-Data-Wrangling.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Apply purrr map(), map2(), imap(), and pmap() to data wrangling tasks: read files, run row-wise calculations, fit models per group, and handle errors safely.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr list_rbind() in R: Row-Bind a List of Data Frames</title>
    <link href="https://r-statistics.co/purrr-list_rbind-in-R.html"/>
    <id>https://r-statistics.co/purrr-list_rbind-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr list_rbind() in R to row-bind a list of data frames into one. Examples cover names_to, map(), mismatched columns, and a bind_rows comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr list_modify() in R: Update List Elements by Name</title>
    <link href="https://r-statistics.co/purrr-list_modify-in-R.html"/>
    <id>https://r-statistics.co/purrr-list_modify-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr list_modify() to replace, add, and remove named elements of a list in R. Covers recursive merging, zap(), list_merge, and modifyList comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr lift() in R: Change Function Argument Style</title>
    <link href="https://r-statistics.co/purrr-lift-in-R.html"/>
    <id>https://r-statistics.co/purrr-lift-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr lift() in R converts a function between dots, list, and vector argument styles. Learn lift_dl, lift_dv, lift_ld with examples and modern alternatives.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr keep() in R: Filter List Elements by Predicate</title>
    <link href="https://r-statistics.co/purrr-keep-in-R.html"/>
    <id>https://r-statistics.co/purrr-keep-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr keep() in R to filter a list, vector, or data frame by a predicate. Covers keep_at(), discard(), syntax, examples, and common pitfalls to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr iwalk() in R: Walk a List With Its Names</title>
    <link href="https://r-statistics.co/purrr-iwalk-in-R.html"/>
    <id>https://r-statistics.co/purrr-iwalk-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr iwalk() in R to run a function over each value and its name or index for side effects. Covers syntax, examples, iwalk vs walk2 vs imap, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr insistently() in R: Retry a Call Until It Succeeds</title>
    <link href="https://r-statistics.co/purrr-insistently-in-R.html"/>
    <id>https://r-statistics.co/purrr-insistently-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr insistently() in R to retry a flaky function until it succeeds. Examples with rate_backoff, rate_delay, the quiet argument, map(), and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr imap() in R: Map Over Values and Their Names</title>
    <link href="https://r-statistics.co/purrr-imap-in-R.html"/>
    <id>https://r-statistics.co/purrr-imap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr imap() to iterate over a list or vector and its names or index together in R. Covers imap_chr, imap_dbl, imap_dfr, iwalk, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr has_element() in R: Test If a List Contains a Value</title>
    <link href="https://r-statistics.co/purrr-has_element-in-R.html"/>
    <id>https://r-statistics.co/purrr-has_element-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr's has_element() tests if a list or vector contains a value and returns a single TRUE or FALSE. See syntax, examples, and how it differs from %in%.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr flatten() in R: Flatten Nested Lists</title>
    <link href="https://r-statistics.co/purrr-flatten-in-R.html"/>
    <id>https://r-statistics.co/purrr-flatten-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr flatten() in R removes one level of list nesting. Learn flatten_dbl, flatten_chr, and the modern list_flatten and list_c replacements with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr every() in R: Test If All Elements Pass</title>
    <link href="https://r-statistics.co/purrr-every-in-R.html"/>
    <id>https://r-statistics.co/purrr-every-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr every() in R to test whether all elements of a list or vector pass a predicate. Covers syntax, some() and none(), NA handling, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr discard() in R: Drop List Elements by Predicate</title>
    <link href="https://r-statistics.co/purrr-discard-in-R.html"/>
    <id>https://r-statistics.co/purrr-discard-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how purrr discard() in R drops list or vector elements that match a predicate function. Syntax, worked examples, keep vs discard, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr detect_index() in R: Find First Match Position</title>
    <link href="https://r-statistics.co/purrr-detect_index-in-R.html"/>
    <id>https://r-statistics.co/purrr-detect_index-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr detect_index() in R to find the position of the first list or vector element matching a predicate. Covers .dir, the no-match case, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr detect() in R: Find the First Matching Element</title>
    <link href="https://r-statistics.co/purrr-detect-in-R.html"/>
    <id>https://r-statistics.co/purrr-detect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr detect() in R to find the first list or vector element matching a predicate. Covers detect_index(), .dir, .default, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr cross_df() in R: Make a Tibble of Combinations</title>
    <link href="https://r-statistics.co/purrr-cross_df-in-R.html"/>
    <id>https://r-statistics.co/purrr-cross_df-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr cross_df() in R to build a tibble of every combination from a list of inputs. Covers syntax, pmap grid search, and the expand_grid replacement.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr cross2() in R: All Pairs of Two Lists</title>
    <link href="https://r-statistics.co/purrr-cross2-in-R.html"/>
    <id>https://r-statistics.co/purrr-cross2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr cross2() in R builds every pair from two lists, the Cartesian product. Learn its syntax, the .filter argument, examples, and the expand_grid replacement.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr cross() in R: Generate All List Combinations</title>
    <link href="https://r-statistics.co/purrr-cross-in-R.html"/>
    <id>https://r-statistics.co/purrr-cross-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr cross() in R to generate every combination of list elements. Covers cross(), cross2(), cross_df(), the .filter argument, and the modern expand_grid().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr compose() in R: Combine Functions Into One</title>
    <link href="https://r-statistics.co/purrr-compose-in-R.html"/>
    <id>https://r-statistics.co/purrr-compose-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr compose() in R to combine multiple functions into a single reusable function. Covers the .dir argument, execution order, and three common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr compact() in R: Drop NULL and Empty List Elements</title>
    <link href="https://r-statistics.co/purrr-compact-in-R.html"/>
    <id>https://r-statistics.co/purrr-compact-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>purrr compact() in R drops NULL and empty (length-zero) elements from a list in one call. Worked examples, compact() vs discard(), common pitfalls, and FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr accumulate2() in R: Cumulative Reduce Over Two Vectors</title>
    <link href="https://r-statistics.co/purrr-accumulate2-in-R.html"/>
    <id>https://r-statistics.co/purrr-accumulate2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn purrr accumulate2() in R to run a cumulative reduce over two parallel vectors. Covers syntax, the .init argument, worked examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr accumulate() in R: Running Reductions Over a List</title>
    <link href="https://r-statistics.co/purrr-accumulate-in-R.html"/>
    <id>https://r-statistics.co/purrr-accumulate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use purrr accumulate() in R to fold a list or vector while keeping every intermediate step. Covers running sums, .init, .dir, accumulate2, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr Exercises: 13 Functional Programming Practice Problems, Solved Step-by-Step</title>
    <link href="https://r-statistics.co/purrr-Exercises.html"/>
    <id>https://r-statistics.co/purrr-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practise purrr with 13 functional programming problems and worked solutions, runnable R exercises from beginner warm-ups to advanced iteration patterns.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>purrr Exercises in R: 30 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/purrr-Exercises-in-R.html"/>
    <id>https://r-statistics.co/purrr-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice purrr with 30 real R problems: map, walk, reduce, safely, predicate functions and many-models patterns. Hidden solutions, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>plotly Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/plotly-Exercises-in-R.html"/>
    <id>https://r-statistics.co/plotly-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice plotly in R with 20 scenario-based exercises: scatter, bar, layout, subplots, hover, animation, ggplotly, 3D, heatmap, candlestick. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>pivot_longer() vs pivot_wider() in R: 10 Patterns</title>
    <link href="https://r-statistics.co/pivot_longer-pivot_wider-Reshape-Data-in-R.html"/>
    <id>https://r-statistics.co/pivot_longer-pivot_wider-Reshape-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Reshape R data frames with tidyr pivot_longer() and pivot_wider(). Every key argument explained: names_to, values_to, names_from, values_from, names_sep, values_fn.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>patchwork in R: Combine ggplot2 Plots Cleanly</title>
    <link href="https://r-statistics.co/patchwork-Package.html"/>
    <id>https://r-statistics.co/patchwork-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to combine multiple ggplot2 plots with the patchwork R package. Master layout operators, aligned axes, shared legends, insets, and annotations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip translate() in R: Inspect a Model's Engine Code</title>
    <link href="https://r-statistics.co/parsnip-translate-in-R.html"/>
    <id>https://r-statistics.co/parsnip-translate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The parsnip translate() function in R shows the exact engine code a model specification generates. Learn the syntax, how to read the fit template, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip tidy() in R: Tidy Model Coefficients</title>
    <link href="https://r-statistics.co/parsnip-tidy-fit-in-R.html"/>
    <id>https://r-statistics.co/parsnip-tidy-fit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip tidy() in R turns a fitted model into a tidy tibble with one row per coefficient, plus regression, classification, and conf.int examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip svm_rbf() in R: Radial Basis Kernel SVM</title>
    <link href="https://r-statistics.co/parsnip-svm_rbf-in-R.html"/>
    <id>https://r-statistics.co/parsnip-svm_rbf-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip svm_rbf() in R defines radial basis kernel support vector machines for tidymodels. Covers syntax, the kernlab engine, rbf_sigma, and examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip svm_poly() in R: Polynomial Kernel SVM</title>
    <link href="https://r-statistics.co/parsnip-svm_poly-in-R.html"/>
    <id>https://r-statistics.co/parsnip-svm_poly-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip svm_poly() in R defines polynomial-kernel support vector machine models for tidymodels. Covers syntax, the kernlab engine, degree, and examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip svm_linear() in R: Linear SVM Specification</title>
    <link href="https://r-statistics.co/parsnip-svm_linear-in-R.html"/>
    <id>https://r-statistics.co/parsnip-svm_linear-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip svm_linear() in R defines linear support vector machine models for tidymodels. Covers syntax, the LiblineaR and kernlab engines, and examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip survival_reg() in R: Parametric Survival Models</title>
    <link href="https://r-statistics.co/parsnip-survival_reg-in-R.html"/>
    <id>https://r-statistics.co/parsnip-survival_reg-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>survival_reg() in R fits parametric survival regression models via parsnip and the censored package. Covers engines, distributions, and prediction types.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip show_engines() in R: List Engines for a Model</title>
    <link href="https://r-statistics.co/parsnip-show_engines-in-R.html"/>
    <id>https://r-statistics.co/parsnip-show_engines-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip show_engines() in R lists every modeling engine available for a given model type. Learn the syntax, see worked examples, and avoid common mistakes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip set_mode() in R: Set Regression or Classification</title>
    <link href="https://r-statistics.co/parsnip-set_mode-in-R.html"/>
    <id>https://r-statistics.co/parsnip-set_mode-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip's set_mode() in R declares a model as regression or classification. Includes syntax, runnable examples, fit pipelines, and common error fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip set_engine() in R: Choose the Model Engine</title>
    <link href="https://r-statistics.co/parsnip-set_engine-in-R.html"/>
    <id>https://r-statistics.co/parsnip-set_engine-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip set_engine() in R declares the computational engine that fits a model. Learn the syntax, engine-specific arguments, examples, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip set_args() in R: Update Model Arguments</title>
    <link href="https://r-statistics.co/parsnip-set_args-in-R.html"/>
    <id>https://r-statistics.co/parsnip-set_args-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip set_args() in R updates the main arguments of a model specification. Learn its syntax, tuning placeholders with tune(), examples, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip required_pkgs() in R: Find a Model's Packages</title>
    <link href="https://r-statistics.co/parsnip-required_pkgs-in-R.html"/>
    <id>https://r-statistics.co/parsnip-required_pkgs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip required_pkgs() in R to list every package a model spec or fit needs. See worked examples, the infra argument, and how tidymodels uses it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip rand_forest() in R: Specify Random Forest Models</title>
    <link href="https://r-statistics.co/parsnip-rand_forest-in-R.html"/>
    <id>https://r-statistics.co/parsnip-rand_forest-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip rand_forest() in R defines random forest models for tidymodels. Covers syntax, the ranger and randomForest engines, classification, and regression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>pull_workflow_fit() in R: Extract a Model From a Workflow</title>
    <link href="https://r-statistics.co/parsnip-pull_workflow_fit-in-R.html"/>
    <id>https://r-statistics.co/parsnip-pull_workflow_fit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>pull_workflow_fit() extracts the fitted parsnip model from a trained workflow in R. Learn its syntax, examples, and the extract_fit_parsnip() replacement.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip proportional_hazards() in R: Cox Survival Models</title>
    <link href="https://r-statistics.co/parsnip-proportional_hazards-in-R.html"/>
    <id>https://r-statistics.co/parsnip-proportional_hazards-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>proportional_hazards() in R fits a Cox proportional hazards model via parsnip and the censored package. Covers engines, hazard ratios, and prediction types.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip predict() in R: Score New Data With a Fit</title>
    <link href="https://r-statistics.co/parsnip-predict-in-R.html"/>
    <id>https://r-statistics.co/parsnip-predict-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip predict() in R scores new data from a fitted model. Covers the new_data argument, prediction types like class and prob, the .pred tibble, and errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip poisson_reg() in R: Model Count Data</title>
    <link href="https://r-statistics.co/parsnip-poisson_reg-in-R.html"/>
    <id>https://r-statistics.co/parsnip-poisson_reg-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip poisson_reg() in R to fit Poisson regression for count outcomes. Syntax, glm and glmnet engines, predictions, overdispersion, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip pls() in R: Partial Least Squares Models</title>
    <link href="https://r-statistics.co/parsnip-pls-in-R.html"/>
    <id>https://r-statistics.co/parsnip-pls-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip pls() builds partial least squares models in R. Load the plsmod engine, fit regression and PLS-DA classification, and tune components.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip nearest_neighbor() in R: Specify a KNN Model</title>
    <link href="https://r-statistics.co/parsnip-nearest_neighbor-in-R.html"/>
    <id>https://r-statistics.co/parsnip-nearest_neighbor-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip nearest_neighbor() in R defines a K-nearest neighbor model for tidymodels. Covers syntax, the kknn engine, neighbors, weight_func, and dist_power.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip naive_Bayes() in R: Build a Naive Bayes Classifier</title>
    <link href="https://r-statistics.co/parsnip-naive_Bayes-in-R.html"/>
    <id>https://r-statistics.co/parsnip-naive_Bayes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip naive_Bayes() defines a naive Bayes classifier in R. Set the klaR or naivebayes engine, tune Laplace smoothing, and fit with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip multinom_reg() in R: Multinomial Logistic Regression</title>
    <link href="https://r-statistics.co/parsnip-multinom_reg-in-R.html"/>
    <id>https://r-statistics.co/parsnip-multinom_reg-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip multinom_reg() in R to fit multinomial logistic regression for 3+ class outcomes. Syntax, nnet and glmnet engines, predictions, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip mlp() in R: Single-Layer Neural Network Spec</title>
    <link href="https://r-statistics.co/parsnip-mlp-in-R.html"/>
    <id>https://r-statistics.co/parsnip-mlp-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip mlp() in R defines a single-layer neural network for tidymodels. Covers syntax, the nnet engine, hidden_units, penalty, epochs, and model tuning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip mars() in R: Adaptive Regression Splines</title>
    <link href="https://r-statistics.co/parsnip-mars-in-R.html"/>
    <id>https://r-statistics.co/parsnip-mars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip mars() in R defines a multivariate adaptive regression splines model for tidymodels. Covers syntax, the earth engine, num_terms, and four examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip logistic_reg() in R: Fit Binary Classifiers</title>
    <link href="https://r-statistics.co/parsnip-logistic_reg-in-R.html"/>
    <id>https://r-statistics.co/parsnip-logistic_reg-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip logistic_reg() in R to define and fit two-class classification with the glm, glmnet, or brulee engine. Syntax, four examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip linear_reg() in R: Fit Linear Regression Models</title>
    <link href="https://r-statistics.co/parsnip-linear_reg-in-R.html"/>
    <id>https://r-statistics.co/parsnip-linear_reg-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip linear_reg() in R to define and fit linear regression with the lm, glmnet, or stan engine. Syntax, four examples, predictions, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip glance() in R: One-Row Model Summary</title>
    <link href="https://r-statistics.co/parsnip-glance-fit-in-R.html"/>
    <id>https://r-statistics.co/parsnip-glance-fit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip glance() in R returns a one-row tibble of whole-model statistics like R-squared, AIC, and deviance, across regression and classification fits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip fit_xy() in R: Train Models With X/Y Matrices</title>
    <link href="https://r-statistics.co/parsnip-fit_xy-in-R.html"/>
    <id>https://r-statistics.co/parsnip-fit_xy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn parsnip fit_xy() in R, the matrix interface for fitting tidymodels. See syntax, examples, how it differs from fit(), plus common pitfalls to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip fit() in R: Train a Model Specification</title>
    <link href="https://r-statistics.co/parsnip-fit-in-R.html"/>
    <id>https://r-statistics.co/parsnip-fit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip fit() in R trains a model specification on data. Covers the formula interface, fitting workflows, fit_xy, the model_fit object, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip extract_parameter_dials() in R: Get Tuning Ranges</title>
    <link href="https://r-statistics.co/parsnip-extract_parameter_dials-in-R.html"/>
    <id>https://r-statistics.co/parsnip-extract_parameter_dials-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip extract_parameter_dials() in R pulls a single dials parameter object, like trees() or mtry(), from a tunable model spec, recipe, or workflow.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip extract_fit_engine() in R: Get the Engine Model</title>
    <link href="https://r-statistics.co/parsnip-extract_fit_engine-in-R.html"/>
    <id>https://r-statistics.co/parsnip-extract_fit_engine-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip extract_fit_engine() in R pulls the raw engine model object, like an lm or ranger fit, from a fitted parsnip model or workflow object.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip discrim_regularized() in R: Fit RDA Models</title>
    <link href="https://r-statistics.co/parsnip-discrim_regularized-in-R.html"/>
    <id>https://r-statistics.co/parsnip-discrim_regularized-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip discrim_regularized() to fit regularized discriminant analysis (RDA) models in R. Covers syntax, the two shrinkage knobs, tuning, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip discrim_quad() in R: Fit QDA Models</title>
    <link href="https://r-statistics.co/parsnip-discrim_quad-in-R.html"/>
    <id>https://r-statistics.co/parsnip-discrim_quad-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip discrim_quad() to fit quadratic discriminant analysis (QDA) models in R. Covers syntax, engines, QDA vs LDA, predictions, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip discrim_linear() in R: Build an LDA Classifier</title>
    <link href="https://r-statistics.co/parsnip-discrim_linear-in-R.html"/>
    <id>https://r-statistics.co/parsnip-discrim_linear-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip discrim_linear() defines a linear discriminant analysis model in R. Set the MASS, mda, or sda engine, fit LDA, and predict with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip discrim_flexible() in R: Fit FDA Models</title>
    <link href="https://r-statistics.co/parsnip-discrim_flexible-in-R.html"/>
    <id>https://r-statistics.co/parsnip-discrim_flexible-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use parsnip discrim_flexible() to fit flexible discriminant analysis (FDA) models in R. Covers syntax, the earth engine, MARS tuning, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip decision_tree() in R: Build Tree-Based Models</title>
    <link href="https://r-statistics.co/parsnip-decision_tree-in-R.html"/>
    <id>https://r-statistics.co/parsnip-decision_tree-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip decision_tree() defines classification and regression tree models in R. Set the engine, tune tree_depth and min_n, and fit with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip cubist_rules() in R: Rule-Based Regression Models</title>
    <link href="https://r-statistics.co/parsnip-cubist_rules-in-R.html"/>
    <id>https://r-statistics.co/parsnip-cubist_rules-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip cubist_rules() in R defines a Cubist rule-based regression model for tidymodels. Covers syntax, the Cubist engine, committees, neighbors, examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip boost_tree() in R: Define Gradient Boosting Models</title>
    <link href="https://r-statistics.co/parsnip-boost_tree-in-R.html"/>
    <id>https://r-statistics.co/parsnip-boost_tree-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>parsnip boost_tree() in R defines gradient-boosted tree models for tidymodels. Covers syntax, the xgboost and C5.0 engines, classification, and regression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip bart() in R: Bayesian Additive Regression Trees</title>
    <link href="https://r-statistics.co/parsnip-bart-in-R.html"/>
    <id>https://r-statistics.co/parsnip-bart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip bart() defines Bayesian Additive Regression Tree models in R. Load the dbarts engine, set trees and priors, then fit and predict with code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip bag_tree() in R: Build Bagged Tree Models</title>
    <link href="https://r-statistics.co/parsnip-bag_tree-in-R.html"/>
    <id>https://r-statistics.co/parsnip-bag_tree-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip bag_tree() defines bagged decision tree ensembles in R. Load the baguette engine, fit models, and read aggregated variable importance.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip bag_mars() in R: Build Bagged MARS Models</title>
    <link href="https://r-statistics.co/parsnip-bag_mars-in-R.html"/>
    <id>https://r-statistics.co/parsnip-bag_mars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip bag_mars() builds bagged MARS ensembles in R. Load the baguette engine, fit regression and classification models, and read importance.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>parsnip augment() in R: Add Predictions to Data</title>
    <link href="https://r-statistics.co/parsnip-augment-in-R.html"/>
    <id>https://r-statistics.co/parsnip-augment-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how parsnip augment() in R appends model predictions and residuals to your data frame, with hands-on regression and classification model fit examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>p-Hacking, Forking Paths and Preregistration</title>
    <link href="https://r-statistics.co/p-Hacking-and-Preregistration.html"/>
    <id>https://r-statistics.co/p-Hacking-and-Preregistration.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>P-hacking and the garden of forking paths quietly push false positives far above 5%. See it happen in R by simulation, then use preregistration to fix it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate ymd_hms() in R: Parse Date-Times From Strings</title>
    <link href="https://r-statistics.co/lubridate-ymd_hms-in-R.html"/>
    <id>https://r-statistics.co/lubridate-ymd_hms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate ymd_hms() to parse year-month-day hour-minute-second strings into POSIXct in R. Covers timezones, partial times, DST, parse_date_time, examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate ymd_hm() in R: Parse Date-Times Without Seconds</title>
    <link href="https://r-statistics.co/lubridate-ymd_hm-in-R.html"/>
    <id>https://r-statistics.co/lubridate-ymd_hm-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate ymd_hm() to parse year-month-day hour-minute strings into POSIXct in R. Covers timezones, truncated input, vectors, ymd_hms vs ymd_hm, DST.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate ymd() in R: Parse Dates From Strings</title>
    <link href="https://r-statistics.co/lubridate-ymd-in-R.html"/>
    <id>https://r-statistics.co/lubridate-ymd-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate ymd() and its sister functions to parse date strings into proper Date objects in R. Covers ymd, mdy, dmy, ymd_hms, time zones, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate years() in R: Add and Subtract Year Periods</title>
    <link href="https://r-statistics.co/lubridate-years-in-R.html"/>
    <id>https://r-statistics.co/lubridate-years-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate years() in R to add and subtract years from dates. Covers syntax, leap-year %m+% fix, age calculation, and the years() vs year() vs dyears() trap.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate year() in R: Extract Year from Dates</title>
    <link href="https://r-statistics.co/lubridate-year-in-R.html"/>
    <id>https://r-statistics.co/lubridate-year-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate year() to extract the year from a Date or POSIXct vector in R, replace year values in place, and contrast year() with isoyear() and epiyear().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate yday() in R: Day-of-Year From Dates</title>
    <link href="https://r-statistics.co/lubridate-yday-in-R.html"/>
    <id>https://r-statistics.co/lubridate-yday-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate yday() in R to pull the day of year (1 to 366) from a Date or POSIXct, build seasonal features, and pair it with wday(), mday(), qday().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate with_tz() in R: Convert Time Zones for Display</title>
    <link href="https://r-statistics.co/lubridate-with_tz-in-R.html"/>
    <id>https://r-statistics.co/lubridate-with_tz-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate with_tz() displays a date-time in another time zone without changing the underlying instant. Examples cover UTC conversion, vectors, and force_tz.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate weeks() in R: Add or Subtract Calendar Weeks</title>
    <link href="https://r-statistics.co/lubridate-weeks-in-R.html"/>
    <id>https://r-statistics.co/lubridate-weeks-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate weeks() in R to add or subtract calendar-week periods from dates, build weekly cohorts, and contrast weeks() with dweeks() across DST boundaries.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate week() in R: Week-of-Year From Dates</title>
    <link href="https://r-statistics.co/lubridate-week-in-R.html"/>
    <id>https://r-statistics.co/lubridate-week-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate week() in R to extract the week number from a Date or POSIXct, compare with isoweek() and epiweek(), and group dates into weekly buckets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate wday() in R: Day-of-Week From Dates</title>
    <link href="https://r-statistics.co/lubridate-wday-in-R.html"/>
    <id>https://r-statistics.co/lubridate-wday-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate wday() in R to extract the day of the week from a Date or POSIXct, switch Sunday vs Monday weeks, get ordered factor labels, and group by weekday.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate tz() in R: Get the Time Zone of a Date</title>
    <link href="https://r-statistics.co/lubridate-tz-in-R.html"/>
    <id>https://r-statistics.co/lubridate-tz-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate tz() returns the time zone string attached to a date-time in R. Examples cover reading the zone, the tz()&lt;- setter, Date objects, and vectors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate today() in R: Current Date as a Date Object</title>
    <link href="https://r-statistics.co/lubridate-today-in-R.html"/>
    <id>https://r-statistics.co/lubridate-today-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate today() to return the current date in R as a Date object, with optional time zones. Six examples plus today() vs Sys.Date() and now() compared.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate time_length() in R: Span Length in Any Unit</title>
    <link href="https://r-statistics.co/lubridate-time_length-in-R.html"/>
    <id>https://r-statistics.co/lubridate-time_length-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate time_length() in R to convert intervals, durations, and periods into years, months, weeks, days, hours, or seconds with calendar-aware precision.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate semester() in R: Extract Semester from Dates</title>
    <link href="https://r-statistics.co/lubridate-semester-in-R.html"/>
    <id>https://r-statistics.co/lubridate-semester-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Extract the semester (1 or 2) from any date in R using lubridate semester(). Examples for Date and POSIXct objects, plus fiscal and academic use cases.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate seconds() in R: Create Second-Based Time Periods</title>
    <link href="https://r-statistics.co/lubridate-seconds-in-R.html"/>
    <id>https://r-statistics.co/lubridate-seconds-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate seconds() in R to build second-based periods. Add or subtract seconds from datetimes and write clean time-interval arithmetic with examples now.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate second() in R: Extract Seconds From Datetimes</title>
    <link href="https://r-statistics.co/lubridate-second-in-R.html"/>
    <id>https://r-statistics.co/lubridate-second-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate second() to extract the 0 to 59 second component of POSIXct datetimes in R, replace it in place, capture subsecond precision, and bucket events.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate round_date() in R: Round Dates to the Nearest Unit</title>
    <link href="https://r-statistics.co/lubridate-round_date-in-R.html"/>
    <id>https://r-statistics.co/lubridate-round_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to use lubridate's round_date() in R to snap dates and timestamps to the nearest hour, day, week, or custom interval, with examples and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate rollback() in R: Roll Dates to Previous Month-End</title>
    <link href="https://r-statistics.co/lubridate-rollback-in-R.html"/>
    <id>https://r-statistics.co/lubridate-rollback-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate rollback() to roll a date back to the previous month-end or the first of the current month in R. Compare with rollforward() and floor_date().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate quarter() in R: Extract Quarter From Dates</title>
    <link href="https://r-statistics.co/lubridate-quarter-in-R.html"/>
    <id>https://r-statistics.co/lubridate-quarter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate quarter() in R to extract the calendar or fiscal quarter from a Date or POSIXct, return year.quarter labels, and group dates into Q1-Q4 buckets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate pm() in R: Test if a Datetime is After Noon</title>
    <link href="https://r-statistics.co/lubridate-pm-in-R.html"/>
    <id>https://r-statistics.co/lubridate-pm-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate pm() in R to test if a datetime falls at or after noon. Returns TRUE for PM, FALSE for AM. Vectorised; pairs with am() for clean splits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate period() in R: Calendar-Aware Time Spans</title>
    <link href="https://r-statistics.co/lubridate-period-in-R.html"/>
    <id>https://r-statistics.co/lubridate-period-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate period() in R to build calendar-aware spans, add months and years to dates safely, and pick Period over Duration when daylight saving matters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate parse_date_time() in R: Multi-Format Parser</title>
    <link href="https://r-statistics.co/lubridate-parse_date_time-in-R.html"/>
    <id>https://r-statistics.co/lubridate-parse_date_time-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate parse_date_time() parses date strings with multiple possible formats via the orders argument. Examples cover mixed inputs, locale, truncated.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate now() in R: Current Date-Time With Time Zones</title>
    <link href="https://r-statistics.co/lubridate-now-in-R.html"/>
    <id>https://r-statistics.co/lubridate-now-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate now() to get the current date-time in R, set time zones, format output, and subtract durations. Five examples plus now() vs Sys.time() compared.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate months() in R: Add and Subtract Calendar Months</title>
    <link href="https://r-statistics.co/lubridate-months-in-R.html"/>
    <id>https://r-statistics.co/lubridate-months-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate months() in R to add and subtract calendar months from dates. Covers syntax, %m+% rollover fix, and the base R months() collision pitfall.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate month() in R: Extract or Set Month</title>
    <link href="https://r-statistics.co/lubridate-month-in-R.html"/>
    <id>https://r-statistics.co/lubridate-month-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate month() to extract the month from a Date or POSIXct in R, get month names as a factor with label = TRUE, and replace the month in place.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate minutes() in R: Create Minute-Based Time Periods</title>
    <link href="https://r-statistics.co/lubridate-minutes-in-R.html"/>
    <id>https://r-statistics.co/lubridate-minutes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate minutes() in R to build minute-based periods. Add or subtract minutes from datetimes and write clean time-interval arithmetic with examples now.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate minute() in R: Extract Minutes From Datetimes</title>
    <link href="https://r-statistics.co/lubridate-minute-in-R.html"/>
    <id>https://r-statistics.co/lubridate-minute-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate minute() to extract the 0 to 59 minute component of a POSIXct datetime in R, replace it in place, and bucket timestamps for SLA and polling work.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate mdy_hms() in R: Parse US Datetime Strings</title>
    <link href="https://r-statistics.co/lubridate-mdy_hms-in-R.html"/>
    <id>https://r-statistics.co/lubridate-mdy_hms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate mdy_hms() to parse month-first datetime strings like '01/15/2024 14:30:00' into POSIXct in R. Covers AM/PM, timezones, vectors, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate mdy() in R: Parse Month-First Date Strings</title>
    <link href="https://r-statistics.co/lubridate-mdy-in-R.html"/>
    <id>https://r-statistics.co/lubridate-mdy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate mdy() to parse month-first date strings like 01/15/2024 and 'Jan 15, 2024' into R Date objects. Examples, syntax, timezones, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate mday() in R: Day of Month Extractor for Dates</title>
    <link href="https://r-statistics.co/lubridate-mday-in-R.html"/>
    <id>https://r-statistics.co/lubridate-mday-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate mday() in R to pull the day of month from a Date or POSIXct vector, write replacement assignments, and pair it with wday(), yday(), and qday().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate leap_year() in R: Test if a Date Is a Leap Year</title>
    <link href="https://r-statistics.co/lubridate-leap_year-in-R.html"/>
    <id>https://r-statistics.co/lubridate-leap_year-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate leap_year() to test whether a year or Date falls in a leap year in R. Covers vectorised checks, dplyr filtering, and the century-year rule.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate isoweek() in R: ISO 8601 Week Numbers</title>
    <link href="https://r-statistics.co/lubridate-isoweek-in-R.html"/>
    <id>https://r-statistics.co/lubridate-isoweek-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate isoweek() in R to extract ISO 8601 week numbers, pair with isoyear() to fix year boundary edge cases, and join international weekly reports.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate interval() in R: Bounded Time Spans</title>
    <link href="https://r-statistics.co/lubridate-interval-in-R.html"/>
    <id>https://r-statistics.co/lubridate-interval-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate interval() in R to build bounded spans, check membership with %within%, detect overlaps, and convert to Period or Duration when you need a length.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate int_overlaps() in R: Detect Overlapping Intervals</title>
    <link href="https://r-statistics.co/lubridate-int_overlaps-in-R.html"/>
    <id>https://r-statistics.co/lubridate-int_overlaps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate int_overlaps() in R to test whether two Interval objects share any moment. Syntax, vectorised use, edge cases, and conflict detection patterns.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate int_length() in R: Interval Length in Seconds</title>
    <link href="https://r-statistics.co/lubridate-int_length-in-R.html"/>
    <id>https://r-statistics.co/lubridate-int_length-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate int_length() in R to return the length of an Interval object in seconds. Syntax, examples, edge cases, and how it differs from time_length().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate in R: Dates and Times Without Pain</title>
    <link href="https://r-statistics.co/lubridate-in-R.html"/>
    <id>https://r-statistics.co/lubridate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Parse, extract, and compute with dates and times in R using lubridate. ymd(), hms(), month(), wday(), durations, periods, and time zones explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate hours() in R: Create Hour-Based Time Periods</title>
    <link href="https://r-statistics.co/lubridate-hours-in-R.html"/>
    <id>https://r-statistics.co/lubridate-hours-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate hours() in R to create hour-based periods. Add or subtract hours from datetimes and build clean time interval arithmetic with examples now.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate hour() in R: Extract Hour From Datetimes</title>
    <link href="https://r-statistics.co/lubridate-hour-in-R.html"/>
    <id>https://r-statistics.co/lubridate-hour-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate hour() to extract the hour 0 to 23 from a POSIXct datetime in R, replace it in place, and pair with minute() and second() for time-of-day work.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate force_tz() in R: Relabel a Time Zone</title>
    <link href="https://r-statistics.co/lubridate-force_tz-in-R.html"/>
    <id>https://r-statistics.co/lubridate-force_tz-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate force_tz() in R relabels a date-time's time zone while keeping the same clock reading. Examples cover wrong zones, vectors, and DST handling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate floor_date() in R: Snap Dates to Period Start</title>
    <link href="https://r-statistics.co/lubridate-floor_date-in-R.html"/>
    <id>https://r-statistics.co/lubridate-floor_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate floor_date() in R to snap dates and times down to the start of a unit: day, week, month, quarter, or 15-minute bucket for grouping and rollups.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate fast_strptime() in R: Fast Format-Specific Parser</title>
    <link href="https://r-statistics.co/lubridate-fast_strptime-in-R.html"/>
    <id>https://r-statistics.co/lubridate-fast_strptime-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate fast_strptime() parses date-time strings up to 10x faster than ymd_hms() when the format is fixed. Examples cover codes, timezones, and traps.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate duration() in R: Exact Time Spans in Seconds</title>
    <link href="https://r-statistics.co/lubridate-duration-in-R.html"/>
    <id>https://r-statistics.co/lubridate-duration-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate duration() in R to build exact second-precise time spans, add them to POSIXct, and contrast Duration with Period when daylight saving matters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate dmy_hms() in R: Parse Day-First Datetime Strings</title>
    <link href="https://r-statistics.co/lubridate-dmy_hms-in-R.html"/>
    <id>https://r-statistics.co/lubridate-dmy_hms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate dmy_hms() to parse day-first datetime strings like '15/01/2024 14:30:00' into POSIXct in R. Covers separators, timezones, vectors, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate dmy() in R: Parse Day-First Date Strings</title>
    <link href="https://r-statistics.co/lubridate-dmy-in-R.html"/>
    <id>https://r-statistics.co/lubridate-dmy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate dmy() to parse day-first date strings like 15/01/2024 and '15 January 2024' into R Date objects. Examples, syntax, timezones, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate difftime in R: Build, Inspect, and Convert Spans</title>
    <link href="https://r-statistics.co/lubridate-difftime-in-R.html"/>
    <id>https://r-statistics.co/lubridate-difftime-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate make_difftime(), as.difftime(), and is.difftime() to build, check, and convert difftime spans across seconds, hours, days, and weeks in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate days_in_month() in R: Get the Days in Any Month</title>
    <link href="https://r-statistics.co/lubridate-days_in_month-in-R.html"/>
    <id>https://r-statistics.co/lubridate-days_in_month-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>days_in_month() in R returns how many days a date's month has (28 to 31), with leap years handled automatically. See the syntax, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate days() in R: Add or Subtract Calendar Days</title>
    <link href="https://r-statistics.co/lubridate-days-in-R.html"/>
    <id>https://r-statistics.co/lubridate-days-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate days() in R to add or subtract calendar-day periods from dates, vectorise across columns, and contrast days() with ddays() across DST boundaries.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate day() in R: Extract Day of Month from Dates</title>
    <link href="https://r-statistics.co/lubridate-day-in-R.html"/>
    <id>https://r-statistics.co/lubridate-day-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate day() to extract the day of month from a Date or POSIXct vector in R, replace day in place, and contrast day() with mday(), wday(), and yday().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate ceiling_date() in R: Snap Dates to Period End</title>
    <link href="https://r-statistics.co/lubridate-ceiling_date-in-R.html"/>
    <id>https://r-statistics.co/lubridate-ceiling_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate ceiling_date() in R to snap dates and times up to the next unit. Compute month-end, quarter-end, year-end, and deadline buckets cleanly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate as_date() in R: Convert Inputs to Date Objects</title>
    <link href="https://r-statistics.co/lubridate-as_date-in-R.html"/>
    <id>https://r-statistics.co/lubridate-as_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate as_date() converts strings, POSIXct date-times, and numeric values into Date objects in R. Examples cover input types, time zones, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate am() in R: Test if a Datetime is Before Noon</title>
    <link href="https://r-statistics.co/lubridate-am-in-R.html"/>
    <id>https://r-statistics.co/lubridate-am-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use lubridate am() in R to test if a datetime falls before noon. Returns TRUE for AM, FALSE for PM. Vectorised across columns; pairs with pm() for splits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate Exercises in R: 28 Real Practice Problems</title>
    <link href="https://r-statistics.co/lubridate-Exercises-in-R.html"/>
    <id>https://r-statistics.co/lubridate-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lubridate exercises in R: 28 hands-on problems on parsing, components, arithmetic, intervals, rounding, and time zones. Hidden solutions, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lubridate Cheat Sheet: Dates in R at a Glance</title>
    <link href="https://r-statistics.co/lubridate-Cheat-Sheet-R.html"/>
    <id>https://r-statistics.co/lubridate-Cheat-Sheet-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Complete lubridate reference: parsing with ymd/dmy/mdy, extracting with year/month/wday, arithmetic with durations, periods, and intervals, plus time zones.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>leaflet Exercises in R: 20 Real-World Map Problems</title>
    <link href="https://r-statistics.co/leaflet-Exercises-in-R.html"/>
    <id>https://r-statistics.co/leaflet-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 leaflet R exercises: markers, popups, choropleth, heatmaps, layer control, dashboards. Hidden solutions, embedded business context, real workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>k-Medoids Clustering in R: PAM, Step by Step</title>
    <link href="https://r-statistics.co/k-Medoids-Clustering-in-R.html"/>
    <id>https://r-statistics.co/k-Medoids-Clustering-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn k-medoids (PAM) clustering in R with cluster::pam(). Why medoids beat k-means on outliers, how to choose k via silhouette, and Gower for mixed-type data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>jsonlite toJSON() in R: Convert R Objects to JSON</title>
    <link href="https://r-statistics.co/jsonlite-toJSON-in-R.html"/>
    <id>https://r-statistics.co/jsonlite-toJSON-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>jsonlite toJSON() converts R data frames, lists, and vectors into JSON strings. Learn syntax, auto_unbox, pretty printing, and common pitfalls with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>jsonlite stream_in() in R: Read Newline-Delimited JSON</title>
    <link href="https://r-statistics.co/jsonlite-stream_in-in-R.html"/>
    <id>https://r-statistics.co/jsonlite-stream_in-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn jsonlite stream_in() in R to read newline-delimited JSON (NDJSON) line by line. Covers syntax, the handler callback, pagesize, and the most common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>jsonlite fromJSON() in R: Parse JSON Into R Objects</title>
    <link href="https://r-statistics.co/jsonlite-fromJSON-in-R.html"/>
    <id>https://r-statistics.co/jsonlite-fromJSON-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn jsonlite fromJSON() in R to parse JSON strings, files, and URLs into lists and data frames. Covers syntax, simplifyVector, flatten, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor top_levels() in R: Summarise Factor Extremes Fast</title>
    <link href="https://r-statistics.co/janitor-top_levels-in-R.html"/>
    <id>https://r-statistics.co/janitor-top_levels-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor top_levels() to summarise an ordered factor with top N, bottom N, and a pooled middle row. Counts, percentages, Likert examples, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor tabyl() in R: Frequency and Cross-Tab Tables</title>
    <link href="https://r-statistics.co/janitor-tabyl-in-R.html"/>
    <id>https://r-statistics.co/janitor-tabyl-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor tabyl() to build clean frequency tables and cross-tabs in R. Covers 1-way, 2-way, 3-way tables plus adorn_totals and adorn_percentages helpers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor row_to_names() in R: Promote a Row to Column Names</title>
    <link href="https://r-statistics.co/janitor-row_to_names-in-R.html"/>
    <id>https://r-statistics.co/janitor-row_to_names-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>janitor::row_to_names() promotes any data frame row to the column header. Fix messy Excel imports, multi-row headers, and stray title rows in one call.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor round_half_up() in R: Round Numbers Away From Zero</title>
    <link href="https://r-statistics.co/janitor-round_half_up-in-R.html"/>
    <id>https://r-statistics.co/janitor-round_half_up-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor round_half_up() to round numeric vectors with conventional half-up rounding, not R's default banker's rounding. Digits, negatives, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor remove_empty() in R: Drop Blank Rows and Columns</title>
    <link href="https://r-statistics.co/janitor-remove_empty-in-R.html"/>
    <id>https://r-statistics.co/janitor-remove_empty-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor remove_empty() to drop entirely blank rows and columns in R. Covers cutoff thresholds, the which argument, quiet output, and remove_constant().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor remove_constant() in R: Drop Single-Value Columns</title>
    <link href="https://r-statistics.co/janitor-remove_constant-in-R.html"/>
    <id>https://r-statistics.co/janitor-remove_constant-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor remove_constant() to drop columns where every row has the same value. Covers na.rm, quiet output, model preprocessing, and remove_empty().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor make_clean_names() in R: Clean Column Name Vectors</title>
    <link href="https://r-statistics.co/janitor-make_clean_names-in-R.html"/>
    <id>https://r-statistics.co/janitor-make_clean_names-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor make_clean_names() to standardize messy character vectors into snake_case in R. Covers case styles, list names, factor levels, and unique suffixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor get_dupes() in R: Find Duplicate Rows With Counts</title>
    <link href="https://r-statistics.co/janitor-get_dupes-in-R.html"/>
    <id>https://r-statistics.co/janitor-get_dupes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor get_dupes() to find every duplicate row in an R data frame by chosen columns, with a dupe_count showing how many times each combination appears.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor excel_numeric_to_date(): Excel Serial to R Date</title>
    <link href="https://r-statistics.co/janitor-excel_numeric_to_date-in-R.html"/>
    <id>https://r-statistics.co/janitor-excel_numeric_to_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>janitor::excel_numeric_to_date() converts Excel serial date numbers (44197, 44562) into R Date objects. Handles modern Windows and legacy Mac date systems.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor convert_to_datetime(): POSIXct From Mixed Input</title>
    <link href="https://r-statistics.co/janitor-convert_to_datetime-in-R.html"/>
    <id>https://r-statistics.co/janitor-convert_to_datetime-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>janitor::convert_to_datetime() turns mixed character and numeric input into POSIXct, preserving the time component from Excel serials and ISO datetime strings.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor convert_to_date(): Smart Date Dispatcher in R</title>
    <link href="https://r-statistics.co/janitor-convert_to_date-in-R.html"/>
    <id>https://r-statistics.co/janitor-convert_to_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>janitor::convert_to_date() converts mixed character and numeric input to a real R Date class, dispatching to ymd() or excel_numeric_to_date() as needed.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor compare_df_cols() in R: Compare Column Schemas</title>
    <link href="https://r-statistics.co/janitor-compare_df_cols-in-R.html"/>
    <id>https://r-statistics.co/janitor-compare_df_cols-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor::compare_df_cols() to compare column names, types, and classes across two or more data frames in R. Examples, options, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor clean_names() in R: Standardize Messy Column Names</title>
    <link href="https://r-statistics.co/janitor-clean_names-in-R.html"/>
    <id>https://r-statistics.co/janitor-clean_names-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor clean_names() to convert messy column names to snake_case in R. Covers case styles, custom replacements, and make_clean_names() for vectors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor chisq.test() in R: Chi-Square Test on Tabyls</title>
    <link href="https://r-statistics.co/janitor-chisq_test-in-R.html"/>
    <id>https://r-statistics.co/janitor-chisq_test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor chisq.test() to run a chi-square test of independence directly on a tabyl object in R. Covers two-way tables, simulated p-values, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_totals() in R: Add Row and Column Totals</title>
    <link href="https://r-statistics.co/janitor-adorn_totals-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_totals-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_totals() to add row and column totals to data frames and tabyl tables in R. Covers where, name, fill, na.rm, and percent-safe stacking.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_title() in R: Add Title Rows to Tabyls</title>
    <link href="https://r-statistics.co/janitor-adorn_title-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_title-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_title() to add a banner row above a tabyl that labels what the rows and columns represent. Covers placement, row_name, col_name, chain order.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_rounding() in R: Round Tabyl Cells Cleanly</title>
    <link href="https://r-statistics.co/janitor-adorn_rounding-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_rounding-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_rounding() to round numeric tabyl cells without changing class. Covers digits, rounding mode, column selection, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_percentages() in R: Counts to Proportions</title>
    <link href="https://r-statistics.co/janitor-adorn_percentages-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_percentages-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_percentages() to convert counts to row, column, or grand-total proportions in tabyls. Covers denominator, NA, and the percent chain.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_pct_formatting() in R: Format Percent Cells</title>
    <link href="https://r-statistics.co/janitor-adorn_pct_formatting-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_pct_formatting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_pct_formatting() to turn tabyl proportions into rounded percent strings. Covers digits, rounding mode, affix_sign, and column selection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor adorn_ns() in R: Append Counts to Percentage Tables</title>
    <link href="https://r-statistics.co/janitor-adorn_ns-in-R.html"/>
    <id>https://r-statistics.co/janitor-adorn_ns-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use janitor adorn_ns() to paste raw counts onto a percentage table, like 47.2% (102). Covers position, format_func, the ns argument, and column selection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>janitor Package in R: Clean Messy Data with 5 Lines of Code</title>
    <link href="https://r-statistics.co/janitor-Package-in-R.html"/>
    <id>https://r-statistics.co/janitor-Package-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>janitor's clean_names(), tabyl(), and remove_empty() fix the messiest spreadsheet exports in 5 lines. Learn the full toolkit with before-and-after examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven zap_labels() in R: Remove Value Labels from Data</title>
    <link href="https://r-statistics.co/haven-zap_labels-in-R.html"/>
    <id>https://r-statistics.co/haven-zap_labels-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven zap_labels() in R to drop value labels from labelled SPSS, Stata and SAS data. Covers the syntax, data frame use, and zap_labels vs as_factor.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven zap_formats() in R: Clear SPSS and Stata Formats</title>
    <link href="https://r-statistics.co/haven-zap_formats-in-R.html"/>
    <id>https://r-statistics.co/haven-zap_formats-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how haven zap_formats() removes SPSS, Stata, and SAS display-format attributes from imported data in R, with runnable examples and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven write_sav() in R: Export Data Frames to SPSS Files</title>
    <link href="https://r-statistics.co/haven-write_sav-in-R.html"/>
    <id>https://r-statistics.co/haven-write_sav-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven write_sav() in R to export a data frame to an SPSS .sav file. See the syntax, the compress argument, runnable examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven write_sas() in R: Export Data Frames to SAS Files</title>
    <link href="https://r-statistics.co/haven-write_sas-in-R.html"/>
    <id>https://r-statistics.co/haven-write_sas-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven write_sas() in R to export a data frame to a SAS .sas7bdat file. See the syntax, runnable examples, common pitfalls, and when to pick write_xpt().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven write_dta() in R: Export Data Frames to Stata</title>
    <link href="https://r-statistics.co/haven-write_dta-in-R.html"/>
    <id>https://r-statistics.co/haven-write_dta-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven write_dta() in R to export a data frame to a Stata .dta file. Covers the syntax, the version argument, runnable examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven read_sav() in R: Import SPSS .sav Files</title>
    <link href="https://r-statistics.co/haven-read_sav-in-R.html"/>
    <id>https://r-statistics.co/haven-read_sav-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn haven read_sav() in R to import SPSS .sav files into tibbles. Covers syntax, the user_na argument, value labels, column selection, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven read_sas() in R: Import SAS Data Files</title>
    <link href="https://r-statistics.co/haven-read_sas-in-R.html"/>
    <id>https://r-statistics.co/haven-read_sas-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn haven read_sas() in R to import SAS .sas7bdat files into tibbles. Covers syntax, column selection, value labels, transport files, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven read_dta() in R: Import Stata .dta Files</title>
    <link href="https://r-statistics.co/haven-read_dta-in-R.html"/>
    <id>https://r-statistics.co/haven-read_dta-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn haven read_dta() in R to import Stata .dta files into tibbles. Covers syntax, the encoding argument, value labels, column selection, and common errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven labelled() in R: Create Labelled Survey Vectors</title>
    <link href="https://r-statistics.co/haven-labelled-in-R.html"/>
    <id>https://r-statistics.co/haven-labelled-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven labelled() in R to attach value labels to coded survey data. Covers the labels and label arguments, labelled_spss(), and conversion to factors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>haven as_factor() in R: Convert Labelled Data to Factors</title>
    <link href="https://r-statistics.co/haven-as_factor-in-R.html"/>
    <id>https://r-statistics.co/haven-as_factor-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use haven as_factor() in R to convert labelled SPSS, Stata, and SAS data into factors. Covers the levels argument, ordered factors, and data frame conversion.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>gt Tables Exercises in R: 22 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/gt-Tables-Exercises-in-R.html"/>
    <id>https://r-statistics.co/gt-Tables-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>22 hands-on gt package exercises in R: build, format, style, and publish boardroom-grade tables with headers, spanners, summaries, and footnotes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>gt Package: Beautiful Publication-Ready Tables in R</title>
    <link href="https://r-statistics.co/gt-Package.html"/>
    <id>https://r-statistics.co/gt-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master the gt package in R to create beautiful, publication-ready tables. Learn formatting, styling, conditional colors, themes, and export workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue trim() in R: Strip Indentation From Multiline Strings</title>
    <link href="https://r-statistics.co/glue-trim-in-R.html"/>
    <id>https://r-statistics.co/glue-trim-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue trim() in R to strip common leading indentation and empty edge lines from multiline strings. Five examples, comparison with trimws, three pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue single_quote() in R: Wrap Strings for SQL Literals</title>
    <link href="https://r-statistics.co/glue-single_quote-in-R.html"/>
    <id>https://r-statistics.co/glue-single_quote-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue single_quote() in R to wrap strings and escape embedded apostrophes. Five SQL-literal examples, shQuote() comparison, three common pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue identity_transformer() in R: Default Transformer</title>
    <link href="https://r-statistics.co/glue-identity_transformer-in-R.html"/>
    <id>https://r-statistics.co/glue-identity_transformer-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue identity_transformer() in R to parse and evaluate the text inside any glue() placeholder. Four custom-transformer examples plus three pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue glue_sql() in R: Safely Interpolate Values Into SQL</title>
    <link href="https://r-statistics.co/glue-glue_sql-in-R.html"/>
    <id>https://r-statistics.co/glue-glue_sql-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue glue_sql() in R to build SQL queries with auto-quoted values and identifiers. Five examples, vector splicing, three pitfalls, paste comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue glue_safe() in R: Secure Interpolation Without eval()</title>
    <link href="https://r-statistics.co/glue-glue_safe-in-R.html"/>
    <id>https://r-statistics.co/glue-glue_safe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue glue_safe() in R for secure string interpolation using get() instead of eval(). Compare it with glue(), see five examples and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue glue_data() in R: String Templates for Data Frames</title>
    <link href="https://r-statistics.co/glue-glue_data-in-R.html"/>
    <id>https://r-statistics.co/glue-glue_data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue glue_data() in R to interpolate data frame columns into one string per row. Five examples, comparison with glue(), and three common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue glue_collapse() in R: Collapse Vectors to a String</title>
    <link href="https://r-statistics.co/glue-glue_collapse-in-R.html"/>
    <id>https://r-statistics.co/glue-glue_collapse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue glue_collapse() in R to join a character vector into one string with separator and a final last item. Five examples, paste comparison, three pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue glue() in R: Interpolate Variables Into Strings</title>
    <link href="https://r-statistics.co/glue-glue-in-R.html"/>
    <id>https://r-statistics.co/glue-glue-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue glue() in R to interpolate variables and expressions into strings with {braces}. Five examples, a paste comparison, and common pitfalls explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue double_quote() in R: Wrap and Escape Strings Safely</title>
    <link href="https://r-statistics.co/glue-double_quote-in-R.html"/>
    <id>https://r-statistics.co/glue-double_quote-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue double_quote() in R to wrap strings in escaped double quotes. Five examples, comparison with single_quote() and shQuote(), three pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>glue as_glue() in R: Promote Strings to a glue Object</title>
    <link href="https://r-statistics.co/glue-as_glue-in-R.html"/>
    <id>https://r-statistics.co/glue-as_glue-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use glue as_glue() in R to promote a plain character vector into a glue object so it prints each element on its own line without quotes. See five examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggthemes Package in R: Economist, FiveThirtyEight &amp; 20 More Ready-Made Themes</title>
    <link href="https://r-statistics.co/ggthemes-Package.html"/>
    <id>https://r-statistics.co/ggthemes-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the ggthemes package in R: apply theme_economist(), theme_fivethirtyeight() and 20 more ready-made themes with runnable code and paired colour scales.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 ylab() in R: Set the Y Axis Label</title>
    <link href="https://r-statistics.co/ggplot2-ylab-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-ylab-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 ylab() in R to set, change, or remove the y axis label. Covers units, multi-line wrapping, plotmath expressions, ylab vs labs, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 xlab() in R: Set the X Axis Label</title>
    <link href="https://r-statistics.co/ggplot2-xlab-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-xlab-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 xlab() in R to set, change, or remove the x axis label. Covers units, multi-line labels, plotmath expressions, xlab vs labs, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 vs matplotlib: An Honest Comparison</title>
    <link href="https://r-statistics.co/ggplot2-vs-matplotlib.html"/>
    <id>https://r-statistics.co/ggplot2-vs-matplotlib.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare ggplot2 and matplotlib side by side, syntax, defaults, faceting, and extensions. Runnable R examples help you choose the right visualization library.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 theme_minimal() in R: Clean White-Background Theme</title>
    <link href="https://r-statistics.co/ggplot2-theme_minimal-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-theme_minimal-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 theme_minimal() in R for clean white-background plots with light gridlines. Covers base_size, fonts, and theme() overrides with 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 theme_classic() in R: L-Shape Axis Theme for Papers</title>
    <link href="https://r-statistics.co/ggplot2-theme_classic-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-theme_classic-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 theme_classic() in R to render plots with a white background, no gridlines, and L-shape axes. Six examples, base_size tips, and 4 pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 theme_bw() in R: White Theme With Panel Border</title>
    <link href="https://r-statistics.co/ggplot2-theme_bw-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-theme_bw-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 theme_bw() in R for publication plots with a white background, light grey gridlines, and a full panel border. Six examples and 4 pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 theme() in R: Customize Every Plot Element</title>
    <link href="https://r-statistics.co/ggplot2-theme-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-theme-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 theme() in R to customize fonts, axes, legends, gridlines, and backgrounds. Covers element_text, element_line, element_rect, and 7 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 stat_summary() in R: Plot Means and Error Bars</title>
    <link href="https://r-statistics.co/ggplot2-stat_summary-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-stat_summary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 stat_summary() in R to plot means, medians, errorbars, and bootstrap CIs by group. Covers fun, fun.data, geom, and 6 runnable examples in detail.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 stat_smooth() in R: Stat-Side Trend Smoothing</title>
    <link href="https://r-statistics.co/ggplot2-stat_smooth-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-stat_smooth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 stat_smooth() to fit trend lines in R with examples: stat vs geom duality, the geom argument, computed variables, and geom_smooth comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 stat_ecdf() in R: Plot Empirical CDFs</title>
    <link href="https://r-statistics.co/ggplot2-stat_ecdf-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-stat_ecdf-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 stat_ecdf() to plot empirical CDFs in R. Covers syntax, group comparison, pad and n arguments, quantile reading, theoretical overlay, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_y_log10() in R: Log-Transform the Y Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_y_log10-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_y_log10-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_y_log10() to log10-transform the y axis for skewed data in R. Covers breaks, labels, vs scale_y_continuous trans, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_y_continuous() in R: Customize the Y Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_y_continuous-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_y_continuous-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_y_continuous() to customize the y-axis breaks, labels, limits, and transformations in R. Covers scales package, breaks, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_x_log10() in R: Log-Transform the X Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_x_log10-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_x_log10-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_x_log10() to log10-transform the x axis for skewed data in R. Covers breaks, labels, vs scale_x_continuous trans, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_x_discrete() in R: Customize Discrete X Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_x_discrete-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_x_discrete-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_x_discrete() to customize the x-axis when x is a factor or character in R. Covers limits (ordering), labels, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_x_datetime() in R: Format POSIXct Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_x_datetime-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_x_datetime-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_x_datetime() to format a POSIXct datetime x axis with custom breaks and labels in R. Covers date_breaks, timezones, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_x_date() in R: Format Date Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_x_date-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_x_date-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_x_date() to format a Date x axis with custom breaks and date labels in R. Covers date_breaks, date_labels, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_x_continuous() in R: Customize the X Axis</title>
    <link href="https://r-statistics.co/ggplot2-scale_x_continuous-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_x_continuous-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_x_continuous() to customize the x-axis breaks, labels, limits, and transformations in R. Covers scales package, breaks, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_size() in R: Control Point and Bubble Size</title>
    <link href="https://r-statistics.co/ggplot2-scale_size-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_size-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_size() in R to control point and bubble plot sizes. Covers range, scale_size_area(), scale_radius(), legend tuning, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_shape() in R: Map a Variable to Point Shapes</title>
    <link href="https://r-statistics.co/ggplot2-scale_shape-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_shape-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_shape() in R to map a factor to point shapes. Covers scale_shape_manual(), shape codes 0-25, open vs filled, legend tuning, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_linetype() in R: Map Factor to Line Patterns</title>
    <link href="https://r-statistics.co/ggplot2-scale_linetype-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_linetype-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_linetype() in R to map a factor to dashed, dotted, and solid line patterns. Covers scale_linetype_manual(), legends, hex codes, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_fill_gradient() in R: Custom Color Gradients</title>
    <link href="https://r-statistics.co/ggplot2-scale_fill_gradient-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_fill_gradient-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_fill_gradient() in R for two-color fill gradients on heatmaps and bars. Covers low, high, limits, breaks, gradient2, gradientn variants.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_color_viridis() in R: Perceptually Uniform Colors</title>
    <link href="https://r-statistics.co/ggplot2-scale_color_viridis-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_color_viridis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_color_viridis_c() and scale_color_viridis_d() for perceptually uniform colors in R. Covers option, direction, vs brewer, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_color_manual() in R: Custom Colors for Groups</title>
    <link href="https://r-statistics.co/ggplot2-scale_color_manual-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_color_manual-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_color_manual() to assign custom colors to discrete groups in R. Covers values, named vector, fill_manual, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_color_brewer() in R: ColorBrewer Palettes</title>
    <link href="https://r-statistics.co/ggplot2-scale_color_brewer-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_color_brewer-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_color_brewer() to apply named ColorBrewer palettes to discrete groups in R. Covers Set1, Set2, Dark2, qualitative, sequential, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 scale_alpha() in R: Control Point Transparency</title>
    <link href="https://r-statistics.co/ggplot2-scale_alpha-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-scale_alpha-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 scale_alpha() in R to control transparency, reduce overplotting, and fade background groups. Covers range, manual, identity, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 position_stack() in R: Stacked Bars and Areas</title>
    <link href="https://r-statistics.co/ggplot2-position_stack-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-position_stack-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 position_stack() to stack bars, areas, and labels on top of each other in R. Covers vjust, reverse, position_fill comparison, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 position_jitter() in R: Reduce Point Overplotting</title>
    <link href="https://r-statistics.co/ggplot2-position_jitter-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-position_jitter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 position_jitter() to add controlled random noise to any geom in R. Covers width, height, seed, position_jitterdodge, plus 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 position_dodge() in R: Side-by-Side Bars and Points</title>
    <link href="https://r-statistics.co/ggplot2-position_dodge-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-position_dodge-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 position_dodge() to place overlapping bars, points, and error bars side-by-side. Covers width, preserve, and position_dodge2 with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 labs() in R: Title, Subtitle, Caption and Axes</title>
    <link href="https://r-statistics.co/ggplot2-labs-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-labs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 labs() in R to set title, subtitle, caption, axis labels, tag, and legend titles in one call. Includes 6 examples and accessibility tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 guides() in R: Customize Legend and Axis Guides</title>
    <link href="https://r-statistics.co/ggplot2-guides-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-guides-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 guides() in R to hide legends, change titles, reorder items, and switch between guide_legend, guide_colorbar, and guide_axis with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 ggtitle() in R: Add Titles and Subtitles</title>
    <link href="https://r-statistics.co/ggplot2-ggtitle-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-ggtitle-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 ggtitle() in R to add a title and subtitle to a plot. Covers centering, styling, multi-line titles, ggtitle vs labs, and 6 working examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 ggsave() in R: Save Plots to PNG, PDF, and SVG</title>
    <link href="https://r-statistics.co/ggplot2-ggsave-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-ggsave-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 ggsave() to export plots to PNG, PDF, SVG, or JPEG in R. Set width, height, DPI, units, and resolution with 7 runnable examples and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_violin() in R: Violin Plots With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_violin-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_violin-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_violin() to show distribution shape across groups in R. Covers boxplot overlay, scale, trim flag, fill by group, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_tile() in R: Heatmaps With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_tile-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_tile-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_tile() to build heatmaps in R. Covers fill mapping, custom color scales, text labels, correlation matrices, viridis, and 6 examples plus tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_text() in R: Add Text Labels to a Plot</title>
    <link href="https://r-statistics.co/ggplot2-geom_text-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_text-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_text() to add text labels at coordinates in R. Covers hjust, vjust, size, vs geom_label, ggrepel, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_step() in R: Step Function Lines</title>
    <link href="https://r-statistics.co/ggplot2-geom_step-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_step-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_step() to draw step-function lines in R, useful for cumulative or piecewise data. Covers direction, vs geom_line, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_smooth() in R: Trend Lines With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_smooth-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_smooth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_smooth() to add trend lines to plots in R. Covers method = lm, loess, gam, confidence intervals, formula, span, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_segment() in R: Draw Line Segments</title>
    <link href="https://r-statistics.co/ggplot2-geom_segment-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_segment-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_segment() to draw line segments between explicit (x, y) and (xend, yend) coordinates in R. Covers arrows, layouts, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_ribbon() in R: Filled Area Between Two Lines</title>
    <link href="https://r-statistics.co/ggplot2-geom_ribbon-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_ribbon-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_ribbon() to draw a filled area between two y values for confidence bands or ranges in R. Covers ymin, ymax, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_rect() in R: Draw Rectangles</title>
    <link href="https://r-statistics.co/ggplot2-geom_rect-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_rect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_rect() to draw rectangles from xmin/xmax/ymin/ymax in R. Covers fill, alpha, vs geom_tile, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_raster() in R: Fast Heatmap From Regular Grid</title>
    <link href="https://r-statistics.co/ggplot2-geom_raster-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_raster-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_raster() to draw a heatmap from a regular grid in R, faster than geom_tile. Covers fill, scale, vs geom_tile, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_polygon() in R: Filled Closed Shapes</title>
    <link href="https://r-statistics.co/ggplot2-geom_polygon-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_polygon-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_polygon() to draw filled closed shapes from x/y coordinates in R. Covers group, fill, maps, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_pointrange() in R: Point With Range Bar</title>
    <link href="https://r-statistics.co/ggplot2-geom_pointrange-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_pointrange-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_pointrange() to draw a central point with a vertical range bar in R. Covers ymin, ymax, vs geom_errorbar, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_point() in R: Scatter Plots With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_point-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_point-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_point() to build scatter plots in R. Covers color, size, shape, alpha, jitter, facets, and 7 runnable examples with mtcars and mpg data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_path() in R: Connect Points in Data Order</title>
    <link href="https://r-statistics.co/ggplot2-geom_path-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_path-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_path() to connect points in data row order in R. Covers vs geom_line (sorted x), trajectory plots, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_line() in R: Line Charts With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_line-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_line-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_line() to build line charts in R for time series and trends. Covers color, linetype, group, multi-line plots, steps, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_label() in R: Boxed Text Labels</title>
    <link href="https://r-statistics.co/ggplot2-geom_label-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_label-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_label() to add boxed text labels in R. Covers fill, padding, vs geom_text, ggrepel, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_jitter() in R: Scatter With Random Jitter</title>
    <link href="https://r-statistics.co/ggplot2-geom_jitter-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_jitter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_jitter() to add random noise to scatter points and avoid overplotting in R. Covers width, height, vs geom_point, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_histogram() in R: Histograms With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_histogram-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_histogram-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_histogram() to build histograms in R. Covers binwidth, bins count, fill by group, density overlay, and 6 worked examples with diamonds.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_hex() in R: 2D Hexagonal Density Bins</title>
    <link href="https://r-statistics.co/ggplot2-geom_hex-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_hex-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_hex() to plot 2D density with hexagonal bins for dense scatter data in R. Covers bins, fill, vs geom_bin2d, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_errorbar() in R: Add Error Bars to Plots</title>
    <link href="https://r-statistics.co/ggplot2-geom_errorbar-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_errorbar-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_errorbar() to add vertical error bars to bar or point plots in R. Covers ymin, ymax, width, vs geom_pointrange, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_density2d() in R: 2D Density Contour Lines</title>
    <link href="https://r-statistics.co/ggplot2-geom_density2d-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_density2d-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_density2d() to draw 2D density contour lines on a scatter plot in R. Covers bins, contour_var, vs geom_hex, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_density() in R: Density Plots With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_density-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_density-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_density() to draw smooth distribution curves in R. Covers fill, alpha, group comparison, bandwidth tuning, stacking, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_curve() in R: Draw Curved Connections</title>
    <link href="https://r-statistics.co/ggplot2-geom_curve-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_curve-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_curve() to draw curved arcs between two points in R. Covers curvature, angle, ncp, vs geom_segment, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_contour() in R: Draw Contour Lines</title>
    <link href="https://r-statistics.co/ggplot2-geom_contour-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_contour-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_contour() to draw contour lines for 2D density or surfaces in R. Covers vs geom_contour_filled, breaks, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_col(): Bars From Computed Heights</title>
    <link href="https://r-statistics.co/ggplot2-geom_col-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_col-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_col() to build bar charts where bar height is pre-computed in R. Covers vs geom_bar, fill, position, theme, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_boxplot() in R: Box Plots With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_boxplot-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_boxplot-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_boxplot() to compare distributions across groups in R. Covers outliers, notches, jittered overlay, sorted boxes, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_bin2d() in R: 2D Rectangular Density Bins</title>
    <link href="https://r-statistics.co/ggplot2-geom_bin2d-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_bin2d-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_bin2d() to plot 2D density with rectangular bins for dense scatter data in R. Covers bins, fill, vs geom_hex, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_bar() vs geom_col() in R: Bar Charts Made Easy</title>
    <link href="https://r-statistics.co/ggplot2-geom_bar-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_bar-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_bar() and geom_col() to build bar charts in R. Covers stacked, grouped (dodged), horizontal bars, sorted bars, and 7 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 geom_area() in R: Area Charts With Examples</title>
    <link href="https://r-statistics.co/ggplot2-geom_area-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-geom_area-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 geom_area() to draw filled area charts in R. Covers stacked areas, proportional fills, color, alpha, time series areas, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 facet_wrap() in R: Multi-Panel Plots With Examples</title>
    <link href="https://r-statistics.co/ggplot2-facet_wrap-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-facet_wrap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 facet_wrap() in R to split one plot into a grid of small-multiple panels. Control rows, columns, scales, labels, and ordering. 7 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 facet_grid() in R: Grid Layouts With Free Scales</title>
    <link href="https://r-statistics.co/ggplot2-facet_grid-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-facet_grid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 facet_grid() in R to split a plot into a matrix of panels by row and column variables. Control scales, labels, space, and margins. 7 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 element_text() in R: Style Every Text Element</title>
    <link href="https://r-statistics.co/ggplot2-element_text-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-element_text-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 element_text() in R to style titles, axis labels, legends, and facet strips. Covers size, face, color, family, angle, hjust, vjust with 7 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 element_rect() in R: Style Backgrounds and Borders</title>
    <link href="https://r-statistics.co/ggplot2-element_rect-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-element_rect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Style backgrounds, legend boxes, strip headers, and panel borders with ggplot2 element_rect() in R. Covers fill, color, linewidth, linetype with 7 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 element_line() in R: Style Lines and Gridlines</title>
    <link href="https://r-statistics.co/ggplot2-element_line-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-element_line-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 element_line() in R to style axis lines, gridlines, and tick marks. Covers color, linewidth, linetype, and arrows with 7 examples and a table.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 coord_polar() in R: Build Polar Coordinate Charts</title>
    <link href="https://r-statistics.co/ggplot2-coord_polar-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-coord_polar-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 coord_polar() in R to convert cartesian plots into polar coordinates. Build pie charts, rose plots, and circular bar charts with full code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 coord_flip() in R: Horizontal Bar and Box Plots</title>
    <link href="https://r-statistics.co/ggplot2-coord_flip-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-coord_flip-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 coord_flip() in R to swap the x and y axes and turn vertical bar, box, and lollipop charts into clean horizontal versions with readable labels.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 coord_fixed() in R: Lock Plot Aspect Ratio</title>
    <link href="https://r-statistics.co/ggplot2-coord_fixed-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-coord_fixed-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 coord_fixed() in R to lock the aspect ratio so equal data units take equal screen space. Essential for maps, residuals, and y=x diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 coord_cartesian() in R: Zoom Without Dropping Data</title>
    <link href="https://r-statistics.co/ggplot2-coord_cartesian-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-coord_cartesian-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 coord_cartesian() in R to zoom a plot to a chosen x or y window without removing data outside the limits, so stats and smoothers stay intact.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 annotate() in R: Add Text, Lines, and Shapes</title>
    <link href="https://r-statistics.co/ggplot2-annotate-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-annotate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 annotate() in R to add a single text label, segment, rectangle, or arrow to a plot without binding the layer to a column in your data frame.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 aes() in R: Map Data to Visual Properties</title>
    <link href="https://r-statistics.co/ggplot2-aes-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-aes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggplot2 aes() to map data columns to x, y, color, fill, size, shape, alpha, and group. Covers set vs map, common pitfalls, and 6 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Themes: Build Your Own House Style</title>
    <link href="https://r-statistics.co/ggplot2-Themes-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Themes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Themes control fonts, grid lines, backgrounds, and legend position in ggplot2. Master built-in themes, tweak every element, and build a reusable custom theme.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Themes Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Themes-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Themes-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 ggplot2 themes exercises: built-in themes, axis text, legend, gridlines, plot.margin, theme_set, reusable corporate theme functions. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Text Labels in ggplot2: geom_text, geom_label and ggrepel</title>
    <link href="https://r-statistics.co/ggplot2-Text-Labels-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Text-Labels-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add text labels to ggplot2 charts in R. Use geom_text() and geom_label() to label points, then ggrepel to stop labels overlapping with tidy leader lines.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The ggplot2 stat System: What Every Geom Computes</title>
    <link href="https://r-statistics.co/ggplot2-Stat-System-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Stat-System-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Every ggplot2 geom quietly runs a stat that reshapes your data before drawing. See what stats compute with layer_data(), and remap results using after_stat().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Secondary Axis: Add a Second Y-Axis Right</title>
    <link href="https://r-statistics.co/ggplot2-Secondary-Axis.html"/>
    <id>https://r-statistics.co/ggplot2-Secondary-Axis.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add a second y-axis in ggplot2 using sec_axis() with a mathematical transformation. Learn when dual axes help, when they mislead, and how to align scales.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Scatter Plots: Color, Size, Shape, Trends</title>
    <link href="https://r-statistics.co/ggplot2-Scatter-Plots.html"/>
    <id>https://r-statistics.co/ggplot2-Scatter-Plots.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 scatter plots with geom_point(). Map aesthetics like color, size, and shape to variables, add trend lines with geom_smooth(), and avoid overplotting.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Scales: Axes, Colours and Sizes Explained</title>
    <link href="https://r-statistics.co/ggplot2-Scales.html"/>
    <id>https://r-statistics.co/ggplot2-Scales.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Scales control how data maps to visuals in ggplot2. Master scale_x_log10(), scale_color_brewer(), scale_fill_manual(), axis limits, breaks, and labels.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Scale Transformations in ggplot2 Beyond Log</title>
    <link href="https://r-statistics.co/ggplot2-Scale-Transformations-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Scale-Transformations-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Go beyond log in ggplot2. Learn sqrt, reverse, pseudo-log, logit, Box-Cox and custom scale transformations, plus when transform= beats coord_transform() in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Recreation Challenge: 12 Plots to Rebuild from Scratch</title>
    <link href="https://r-statistics.co/ggplot2-Recreation-Challenge.html"/>
    <id>https://r-statistics.co/ggplot2-Recreation-Challenge.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ggplot2 practice recreate charts from a written spec: 12 plots to rebuild in R, from scatter, bar, and histogram basics to facets, stat summaries, and themes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Position Adjustments in ggplot2: Stack, Dodge, Jitter, Fill</title>
    <link href="https://r-statistics.co/ggplot2-Position-Adjustments-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Position-Adjustments-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn position adjustments in ggplot2: stack, fill, dodge, and jitter. See how each fixes overlapping bars and points, with runnable R code and a decision map.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Log Scale: Transform Axes the Right Way</title>
    <link href="https://r-statistics.co/ggplot2-Log-Scale.html"/>
    <id>https://r-statistics.co/ggplot2-Log-Scale.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Log scales compress wide-range data and reveal multiplicative patterns. Learn scale_x_log10(), scale_y_log10(), coord_trans(), and how to label log axes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Line Charts: Group, Connect and Style Lines</title>
    <link href="https://r-statistics.co/ggplot2-Line-Charts.html"/>
    <id>https://r-statistics.co/ggplot2-Line-Charts.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create ggplot2 line charts with geom_line(). Learn to group lines by variable, change line types and colors, add points, and handle time series data step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Legend: Move, Remove, Rename and Restyle It</title>
    <link href="https://r-statistics.co/ggplot2-Legends-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Legends-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Remove a ggplot2 legend with theme(legend.position = 'none'), move it, rename titles, and reorder keys: every legend recipe with runnable R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Labels and Annotations, Done Cleanly</title>
    <link href="https://r-statistics.co/ggplot2-Labels-and-Annotations.html"/>
    <id>https://r-statistics.co/ggplot2-Labels-and-Annotations.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Label your plots effectively: labs() for titles and axis labels, geom_text() and geom_label() for data labels, ggrepel for non-overlapping annotations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Inset Plots and Magnifier Panels in ggplot2</title>
    <link href="https://r-statistics.co/ggplot2-Inset-Plots-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Inset-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to add inset plots and magnifier panels in ggplot2 with inset_element, annotation_custom, and coord_cartesian. Runnable R code and clear intuition.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Heatmap Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Heatmap-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Heatmap-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty ggplot2 heatmap exercises with hidden solutions: geom_tile, geom_raster, diverging palettes, clustered ordering, correlation grids, faceted retention.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Grammar of Graphics: ggplot2's Mental Model</title>
    <link href="https://r-statistics.co/ggplot2-Grammar-of-Graphics.html"/>
    <id>https://r-statistics.co/ggplot2-Grammar-of-Graphics.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ggplot2 is built on Wilkinson's Grammar of Graphics -- data, aesthetics, geometries, scales, facets, and themes as separable layers. Master this model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 for Beginners: Build 5 Real Charts in 30 Minutes, Zero Experience Needed</title>
    <link href="https://r-statistics.co/ggplot2-Getting-Started.html"/>
    <id>https://r-statistics.co/ggplot2-Getting-Started.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make a scatter plot, bar chart, histogram, line chart, and boxplot in ggplot2. Every line of code explained, the fastest genuine introduction to ggplot2.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Geom Exercises: 16 Practice Problems with Solutions</title>
    <link href="https://r-statistics.co/ggplot2-Geom-Exercises.html"/>
    <id>https://r-statistics.co/ggplot2-Geom-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice every ggplot2 geom with 16 solved exercises: scatter, bar, histogram, boxplot, line, smooth, tile, and more. Runnable code and full solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Facets: Multi-Panel Plots, Done Right</title>
    <link href="https://r-statistics.co/ggplot2-Facets.html"/>
    <id>https://r-statistics.co/ggplot2-Facets.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Faceting splits a chart into panels by group. Master facet_wrap() for one variable, facet_grid() for two, free scales, layout control, and strip labels in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Facets Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Facets-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Facets-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 facets with 20 problems covering facet_wrap, facet_grid, free scales, strip labels, small multiples, and panel ordering. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Facet Exercises: 15 Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Facet-Exercises.html"/>
    <id>https://r-statistics.co/ggplot2-Facet-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 faceting with 15 facet_wrap() and facet_grid() exercises covering layout control, free scales, custom labels, margins, and background data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Best ggplot2 Extensions: ggrepel, ggtext, gghighlight</title>
    <link href="https://r-statistics.co/ggplot2-Extensions-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Extensions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the three best ggplot2 extensions in R: ggrepel for non-overlapping labels, ggtext for rich styled text, and gghighlight to spotlight key data series.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Exercises: 15 Chart-Building Practice Problems (With Solutions)</title>
    <link href="https://r-statistics.co/ggplot2-Exercises.html"/>
    <id>https://r-statistics.co/ggplot2-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 with 15 chart-building exercises. Problems cover scatter plots, bar charts, line charts, heatmaps, facets, themes, and more, all with worked solutions and runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Exercises in R: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>50 ggplot2 practice problems in R: geoms, scales, facets, themes, annotations, multi-layer compositions. Hidden solutions, run code in browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Error Bars in ggplot2: geom_errorbar, pointrange, crossbar</title>
    <link href="https://r-statistics.co/ggplot2-Error-Bars-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Error-Bars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add error bars in ggplot2 with geom_errorbar, geom_pointrange, and geom_crossbar. Compute SD, SE, and confidence intervals, then dodge grouped bars correctly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Distribution Charts: Which Plot and When</title>
    <link href="https://r-statistics.co/ggplot2-Distribution-Charts.html"/>
    <id>https://r-statistics.co/ggplot2-Distribution-Charts.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 distribution charts: histogram, density, boxplot, and violin, with guidance on bin widths, bandwidth tuning, and when each type misleads.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Date and Time Axes in ggplot2: Breaks, Labels, Spans</title>
    <link href="https://r-statistics.co/ggplot2-Date-Axis-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Date-Axis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Format date and time axes in ggplot2. Control tick breaks, strftime date labels, and the visible date span with scale_x_date and scale_x_datetime in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Customization Exercises in R: 17 Theme &amp; Scale Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Customization-Exercises.html"/>
    <id>https://r-statistics.co/ggplot2-Customization-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 customization with 17 hands-on problems on themes, scales, axes, legends, labels, and reusable house styles. Solutions and explanations included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Visualization with ggplot2: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/ggplot2-Course.html"/>
    <id>https://r-statistics.co/ggplot2-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ggplot2 from the ground up in four interactive lessons: the grammar of graphics, scatter and line charts, bars and distributions, and publication figures.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Coordinates: coord_flip() and Beyond</title>
    <link href="https://r-statistics.co/ggplot2-Coordinate-Systems.html"/>
    <id>https://r-statistics.co/ggplot2-Coordinate-Systems.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 coordinate systems: flip axes with coord_flip(), create polar/pie charts with coord_polar(), fix aspect ratios with coord_fixed(), and zoom with coord_cartesian().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Colours: Palettes That Actually Work</title>
    <link href="https://r-statistics.co/ggplot2-Colours.html"/>
    <id>https://r-statistics.co/ggplot2-Colours.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn scale_color_manual(), viridis palettes for ordinal data, ColorBrewer for categorical, and how to test your ggplot2 chart for colour blindness.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Color Scales Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Color-Scales-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Color-Scales-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 color scales with 20 hands-on practice problems covering manual, brewer, viridis, gradient, diverging, and colorblind-safe palettes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Cheat Sheet: Quick Reference for Geoms, Scales, Themes and More</title>
    <link href="https://r-statistics.co/ggplot2-Cheat-Sheet.html"/>
    <id>https://r-statistics.co/ggplot2-Cheat-Sheet.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Complete ggplot2 cheat sheet covering geoms, aesthetics, scales, coordinate systems, themes, and facets, with runnable code examples for every section.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Bar Charts: geom_bar() vs geom_col() (Guide)</title>
    <link href="https://r-statistics.co/ggplot2-Bar-Charts.html"/>
    <id>https://r-statistics.co/ggplot2-Bar-Charts.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggplot2 bar charts with geom_bar() and geom_col(). Learn to create stacked, dodged, and ordered bars, flip coordinates, and add labels with complete code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 Bar Chart Exercises in R: 17 Real-World Problems</title>
    <link href="https://r-statistics.co/ggplot2-Bar-Chart-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Bar-Chart-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 bar chart skills with 17 hands-on interactive R exercises: geom_bar, geom_col, stacked, dodged, fill, factor reorder, themes, and labels.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Area Charts and Ribbons in ggplot2: geom_area, geom_ribbon</title>
    <link href="https://r-statistics.co/ggplot2-Area-Charts-and-Ribbons-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-Area-Charts-and-Ribbons-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to build area charts and confidence bands in R with ggplot2. Use geom_area() for stacked areas and geom_ribbon() for filled intervals between two lines.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 aes() Explained: Map Data to Visuals</title>
    <link href="https://r-statistics.co/ggplot2-Aesthetics-aes-Map-Data.html"/>
    <id>https://r-statistics.co/ggplot2-Aesthetics-aes-Map-Data.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>aes() maps data columns to visual properties like colour, fill, size, shape, and alpha. Learn which aesthetics each geom supports and how to set vs map.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 aes() Exercises: 18 Practice Problems</title>
    <link href="https://r-statistics.co/ggplot2-Aesthetics-Exercises.html"/>
    <id>https://r-statistics.co/ggplot2-Aesthetics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ggplot2 aesthetics: 18 color, fill, size, shape, alpha, and scale exercises with runnable starter code and step-by-step solutions in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>2D Density and Hexbin Plots in ggplot2</title>
    <link href="https://r-statistics.co/ggplot2-2D-Density-and-Hexbin-in-R.html"/>
    <id>https://r-statistics.co/ggplot2-2D-Density-and-Hexbin-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn 2D density and hexbin plots in ggplot2 to fix overplotting. Compare geom_bin2d, geom_hex, and geom_density_2d with runnable R code and clear intuition.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggiraph in R: Hoverable Interactive ggplot2 for the Web</title>
    <link href="https://r-statistics.co/ggiraph-Interactive-Charts-in-R.html"/>
    <id>https://r-statistics.co/ggiraph-Interactive-Charts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ggiraph in R to turn any ggplot2 chart into an interactive graphic with hover tooltips, linked highlighting and clickable points, all step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggforce Package in R: Zoom, Ellipses, Arcs &amp; Advanced ggplot2 Geometries</title>
    <link href="https://r-statistics.co/ggforce-Package.html"/>
    <id>https://r-statistics.co/ggforce-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master the ggforce package in R with facet_zoom, geom_mark_ellipse, arc charts, sina plots, and 30+ advanced ggplot2 geometries. Runnable code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggdist Package in R: Visualize Distributions &amp; Uncertainty (Raincloud Plots)</title>
    <link href="https://r-statistics.co/ggdist-Package-in-R.html"/>
    <id>https://r-statistics.co/ggdist-Package-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master ggdist in R: build raincloud plots, half-eye plots, and uncertainty bands with stat_halfeye, stat_dots, and stat_interval, runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>gganimate in R: Animated ggplot2 Charts that Ship</title>
    <link href="https://r-statistics.co/gganimate-in-R.html"/>
    <id>https://r-statistics.co/gganimate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn gganimate in R to turn any ggplot2 chart into a smooth animation. Master transition functions, easing, object identity, and exporting GIFs and MP4s.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>geom_smooth() in R: LOESS and lm Trend Lines in ggplot2</title>
    <link href="https://r-statistics.co/geom_smooth-in-R.html"/>
    <id>https://r-statistics.co/geom_smooth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>geom_smooth() explained: method = 'lm' vs LOESS, se bands, span and formula, with runnable ggplot2 examples for every smoothing method.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>furrr Package in R: Parallel purrr with future Backend</title>
    <link href="https://r-statistics.co/furrr-Package-in-R.html"/>
    <id>https://r-statistics.co/furrr-Package-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The furrr package turns any purrr map call into a parallel operation. Learn future_map(), plan(), furrr_options(), and seed control with runnable R examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>fst write_fst() in R: Fast Save Data Frames to Disk</title>
    <link href="https://r-statistics.co/fst-write_fst-in-R.html"/>
    <id>https://r-statistics.co/fst-write_fst-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to use write_fst() in R to save data frames to fast, compressed .fst files. Covers the compress argument, syntax, pitfalls, and format comparisons.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>fst read_fst() in R: Read .fst Data Files Fast</title>
    <link href="https://r-statistics.co/fst-read_fst-in-R.html"/>
    <id>https://r-statistics.co/fst-read_fst-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>read_fst() in R loads .fst binary files into a data frame at high speed, with column selection and row ranges. See syntax, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_unique() in R: List a Factor's Unique Levels</title>
    <link href="https://r-statistics.co/forcats-fct_unique-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_unique-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how forcats fct_unique() returns each level of an R factor exactly once in level order, and how it differs from base R unique(), with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_shuffle() in R: Randomly Reorder Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_shuffle-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_shuffle-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_shuffle() in R to randomly reorder factor levels. See examples, set.seed for reproducible shuffles, pitfalls, and the fct_rev difference.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_shift() in R: Rotate Factor Level Order</title>
    <link href="https://r-statistics.co/forcats-fct_shift-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_shift-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_shift() in R to rotate factor levels by a fixed offset, with weekday and month axis examples, common pitfalls, and the fct_rev difference.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_rev() in R: Reverse Factor Level Order</title>
    <link href="https://r-statistics.co/forcats-fct_rev-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_rev-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_rev() in R to reverse factor level order in one call. See examples, a ggplot legend fix, common pitfalls, and the fct_relevel difference.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_reorder2() in R: Order Factors for Legends</title>
    <link href="https://r-statistics.co/forcats-fct_reorder2-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_reorder2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_reorder2() in R to reorder factor levels so a line chart legend matches the lines. Syntax, last2 and first2 helpers, and worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_reorder() in R: Sort Factors by a Variable</title>
    <link href="https://r-statistics.co/forcats-fct_reorder-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_reorder-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_reorder() in R to sort factor levels by another variable. Reorder boxplots and bar charts by median or mean with runnable code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_relevel() in R: Reorder Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_relevel-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_relevel-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_relevel() in R to manually reorder factor levels. Move one or more levels to the front, set a reference level, or insert at any position.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_recode() in R: Rename Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_recode-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_recode-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>forcats fct_recode() renames factor levels by hand in R. Learn the new = old syntax, merge levels, fix typos, and silence the unknown-level warning fast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_other() in R: Collapse Levels Into Other</title>
    <link href="https://r-statistics.co/forcats-fct_other-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_other-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_other() in R to collapse rare factor levels into an Other category. Keep, drop, and lump levels with runnable, copy-paste code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_lump_prop() in R: Lump Rare Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_lump_prop-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_lump_prop-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_lump_prop() in R to lump factor levels below a proportion into Other, with examples for negative prop, weighted shares, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_lump_n() in R: Keep the Top N Levels</title>
    <link href="https://r-statistics.co/forcats-fct_lump_n-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_lump_n-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_lump_n() in R to keep the n most frequent factor levels and lump the rest into Other, with examples for weights, ties, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_lump_min() in R: Lump Levels by Frequency Floor</title>
    <link href="https://r-statistics.co/forcats-fct_lump_min-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_lump_min-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_lump_min() in R to keep factor levels seen at least min times and lump the rare tail into Other, with examples for weights and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_lump() in R: Collapse Rare Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_lump-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_lump-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how forcats fct_lump() collapses rare factor levels into an Other category in R, with runnable examples for n, prop, weights, and ggplot2 charts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_inorder() in R: Order Levels by Appearance</title>
    <link href="https://r-statistics.co/forcats-fct_inorder-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_inorder-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how forcats fct_inorder() reorders factor levels by their order of first appearance in R, with runnable examples, ggplot2 use cases, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_infreq() in R: Order Levels by Frequency</title>
    <link href="https://r-statistics.co/forcats-fct_infreq-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_infreq-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how forcats fct_infreq() reorders factor levels by frequency in R, placing the most common category first, with runnable examples and ggplot2 tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_explicit_na() in R: Make NA an Explicit Level</title>
    <link href="https://r-statistics.co/forcats-fct_explicit_na-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_explicit_na-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_explicit_na() in R to turn NA in a factor into a visible level so missing data shows in tables and plots. Examples and the modern replacement.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_expand() in R: Add New Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_expand-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_expand-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_expand() in R to add new levels to a factor. See worked examples, the after argument, the fct_drop contrast, and common pitfalls to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_drop() in R: Drop Unused Factor Levels</title>
    <link href="https://r-statistics.co/forcats-fct_drop-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_drop-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_drop() in R to drop unused factor levels after subsetting. See examples, the only argument, the droplevels difference, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_count() in R: Count Factor Level Frequencies</title>
    <link href="https://r-statistics.co/forcats-fct_count-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_count-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how forcats fct_count() counts the rows in each factor level in R, returning a tidy table of counts and proportions, with runnable examples and tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats fct_collapse() in R: Merge Factor Levels by Group</title>
    <link href="https://r-statistics.co/forcats-fct_collapse-in-R.html"/>
    <id>https://r-statistics.co/forcats-fct_collapse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forcats fct_collapse() in R to merge several factor levels into new named groups. Combine, rename, and bucket levels with runnable code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>forcats Exercises in R: 28 Real Factor Practice Problems</title>
    <link href="https://r-statistics.co/forcats-Exercises-in-R.html"/>
    <id>https://r-statistics.co/forcats-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>28 forcats exercises in R covering reorder, recode, lump, drop, NA handling, and plot ordering. Hidden solutions, runnable code, mixed difficulty.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>factoextra in R: Publication-Quality PCA Plots</title>
    <link href="https://r-statistics.co/factoextra-and-FactoMineR.html"/>
    <id>https://r-statistics.co/factoextra-and-FactoMineR.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>factoextra wraps ggplot2 around prcomp(), kmeans() and hclust() in R. Master fviz_pca_biplot(), fviz_cluster() and fviz_dend() with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>fable in R: Tidy Time Series Forecasting with tsibble</title>
    <link href="https://r-statistics.co/fable-in-R.html"/>
    <id>https://r-statistics.co/fable-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>fable in R makes forecasting tidy: build a tsibble, fit ETS, ARIMA and SNAIVE in one model() call, rank them with accuracy(), and forecast many series at once.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr with_groups() in R: Apply Scoped Grouping</title>
    <link href="https://r-statistics.co/dplyr-with_groups-in-R.html"/>
    <id>https://r-statistics.co/dplyr-with_groups-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr with_groups() to apply a temporary grouping for one expression then restore the original grouping in R. Covers vs group_by, .by, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr where() in R: Select Columns by Predicate</title>
    <link href="https://r-statistics.co/dplyr-where-in-R.html"/>
    <id>https://r-statistics.co/dplyr-where-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr where() to select columns matching a predicate function (e.g., is.numeric, is.character) in R. Covers across, select, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr union() in R: Combine Rows From X and Y, Deduplicated</title>
    <link href="https://r-statistics.co/dplyr-union-in-R.html"/>
    <id>https://r-statistics.co/dplyr-union-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr union() to combine rows from x and y removing duplicates in R. Covers union vs union_all, vs bind_rows, base R alternative, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr ungroup() in R: Remove Grouping Before Next Step</title>
    <link href="https://r-statistics.co/dplyr-ungroup-in-R.html"/>
    <id>https://r-statistics.co/dplyr-ungroup-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr ungroup() to drop group_by structure before mutate, summarise, or join in R. Covers when to ungroup, .by alternative, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr transmute() in R: Mutate and Drop Old Columns</title>
    <link href="https://r-statistics.co/dplyr-transmute-in-R.html"/>
    <id>https://r-statistics.co/dplyr-transmute-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr transmute() to create new columns and drop unspecified ones in R. Covers transmute vs mutate(.keep=none), superseded status, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr tally() in R: Count Rows Quickly After group_by</title>
    <link href="https://r-statistics.co/dplyr-tally-in-R.html"/>
    <id>https://r-statistics.co/dplyr-tally-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr tally() to count rows per group as a shortcut for summarise(n = n()) in R. Covers tally vs count, weighted tally, sort, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr summarize vs summarise in R: Same Function</title>
    <link href="https://r-statistics.co/dplyr-summarize-vs-summarise-in-R.html"/>
    <id>https://r-statistics.co/dplyr-summarize-vs-summarise-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare dplyr summarize() vs summarise() in R: same function, different spellings. Covers when to use each, style guide notes, .by, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr summarise() in R: Aggregate Data with Stats</title>
    <link href="https://r-statistics.co/dplyr-summarise-in-R.html"/>
    <id>https://r-statistics.co/dplyr-summarise-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr summarise() to aggregate rows in R with mean, sum, n(), and custom stats. Covers grouped summaries, across(), .by groups, and 7 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr starts_with() in R: Select Columns by Prefix</title>
    <link href="https://r-statistics.co/dplyr-starts_with-in-R.html"/>
    <id>https://r-statistics.co/dplyr-starts_with-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr starts_with() tidyselect helper to select columns whose names start with a string in R. Covers ignore.case, vs ends_with, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice_tail() in R: Take the Last N Rows (Per Group)</title>
    <link href="https://r-statistics.co/dplyr-slice_tail-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice_tail-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice_tail() to take the last n rows of a tibble (or per group) in R. Covers n, prop, .by, vs base tail(), grouped behavior, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice_sample() in R: Random Rows From a Tibble</title>
    <link href="https://r-statistics.co/dplyr-slice_sample-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice_sample-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice_sample() to pull a random sample of n rows or a fraction from a tibble (or per group) in R. Covers replace, weight_by, .by, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice_min() in R: Bottom N Rows by Column Value</title>
    <link href="https://r-statistics.co/dplyr-slice_min-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice_min-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice_min() to get the bottom n rows by a column value (per group). Covers n, prop, with_ties, .by, vs arrange + slice_head, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice_max() in R: Top N Rows by Column Value</title>
    <link href="https://r-statistics.co/dplyr-slice_max-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice_max-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice_max() to get the top n rows by a column value (or per group). Covers n, prop, with_ties, .by, vs arrange + slice_head, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice_head() in R: Take the First N Rows (Per Group)</title>
    <link href="https://r-statistics.co/dplyr-slice_head-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice_head-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice_head() to take the first n rows of a tibble (or per group). Covers n, prop, .by, vs head() / slice(), grouped behavior, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr slice() in R: Select Rows by Position</title>
    <link href="https://r-statistics.co/dplyr-slice-in-R.html"/>
    <id>https://r-statistics.co/dplyr-slice-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr slice(), slice_head, slice_tail, slice_min, slice_max, and slice_sample to pick rows by position or by value in R. 7 worked examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr setdiff() in R: Rows in X But Not in Y</title>
    <link href="https://r-statistics.co/dplyr-setdiff-in-R.html"/>
    <id>https://r-statistics.co/dplyr-setdiff-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr setdiff() to find rows present in x but not in y in R. Covers setdiff vs base setdiff, whole-row matching, vs anti_join, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr semi_join() in R: Filter to Rows With Match in Right</title>
    <link href="https://r-statistics.co/dplyr-semi_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-semi_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr semi_join() to keep rows of left that have a match in right WITHOUT adding columns in R. Covers semi_join vs inner_join, anti_join, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr select() in R: Choose, Rename and Reorder Columns</title>
    <link href="https://r-statistics.co/dplyr-select-in-R.html"/>
    <id>https://r-statistics.co/dplyr-select-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master dplyr select() in R to choose, rename, and reorder columns by name, position, type, or pattern. Includes starts_with, contains, where, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rowwise() in R: Compute One Row at a Time</title>
    <link href="https://r-statistics.co/dplyr-rowwise-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rowwise-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rowwise() to operate on a data frame one row at a time in R. Covers rowwise + c_across, when to prefer vectorized alternatives, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rows_upsert() in R: Insert New OR Update Existing</title>
    <link href="https://r-statistics.co/dplyr-rows_upsert-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rows_upsert-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rows_upsert() to insert new rows or update existing rows by key in R. Covers rows_upsert vs rows_insert and rows_update, sync, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rows_update() in R: Update Existing Rows by Key</title>
    <link href="https://r-statistics.co/dplyr-rows_update-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rows_update-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rows_update() to update existing rows in a tibble matched by key in R. Covers vs rows_upsert, unmatched arg, in_place, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rows_patch() in R: Fill NA Cells Without Overwriting</title>
    <link href="https://r-statistics.co/dplyr-rows_patch-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rows_patch-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rows_patch() to fill NA cells in x using values from y matched by key in R. Covers rows_patch vs rows_update, NA semantics, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rows_insert() in R: Add New Rows by Key</title>
    <link href="https://r-statistics.co/dplyr-rows_insert-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rows_insert-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rows_insert() to append new rows to a tibble matched by key in R. Covers conflict handling, rows_insert vs bind_rows, in_place, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rows_delete() in R: Remove Rows by Key</title>
    <link href="https://r-statistics.co/dplyr-rows_delete-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rows_delete-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr rows_delete() to remove rows from a tibble matched by key in R. Covers rows_delete vs filter and anti_join, unmatched arg, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr row_number() in R: Assign Sequential Row Indexes</title>
    <link href="https://r-statistics.co/dplyr-row_number-in-R.html"/>
    <id>https://r-statistics.co/dplyr-row_number-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr row_number() to assign 1, 2, 3 sequential indexes to rows in R. Covers row_number vs rank, ordering, ties, per-group row numbers, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr right_join() in R: Keep All Rows From the Right Table</title>
    <link href="https://r-statistics.co/dplyr-right_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-right_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr right_join() to merge two tables keeping all rows from the right table in R. Covers right_join vs left_join flip, by, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr rename() in R: Rename Columns Without Dropping</title>
    <link href="https://r-statistics.co/dplyr-rename-in-R.html"/>
    <id>https://r-statistics.co/dplyr-rename-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Rename columns in R with dplyr rename(new = old), bulk-rename with rename_with(), and avoid the classic order mistake: 6 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr relocate() in R: Reorder Columns Easily</title>
    <link href="https://r-statistics.co/dplyr-relocate-in-R.html"/>
    <id>https://r-statistics.co/dplyr-relocate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr relocate() to move columns to specific positions in R. Covers .before, .after anchors, tidyselect helpers, last_col(), and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr reframe() in R: Summarise With Variable Output Length</title>
    <link href="https://r-statistics.co/dplyr-reframe-in-R.html"/>
    <id>https://r-statistics.co/dplyr-reframe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr reframe() to summarise per group when the output has a variable number of rows in R. Covers reframe vs summarise, quantile, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr recode() in R: Map Old Values to New (Superseded)</title>
    <link href="https://r-statistics.co/dplyr-recode-in-R.html"/>
    <id>https://r-statistics.co/dplyr-recode-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr recode() to map old values to new values in R. Covers .default, factor handling, recode vs case_match, why it is superseded, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr pull vs select in R: Vector vs Data Frame Output</title>
    <link href="https://r-statistics.co/dplyr-pull-vs-select-in-R.html"/>
    <id>https://r-statistics.co/dplyr-pull-vs-select-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare dplyr pull() vs select() in R: pull returns a vector, select returns a data frame. Covers when to use each, ergonomics, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr pull() in R: Extract a Column as a Vector</title>
    <link href="https://r-statistics.co/dplyr-pull-in-R.html"/>
    <id>https://r-statistics.co/dplyr-pull-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr pull() to extract a single column from a data frame as a vector in R. Covers pull vs $, pull vs double-bracket, named output, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr pick() in R: Select Columns Inside dplyr Verbs</title>
    <link href="https://r-statistics.co/dplyr-pick-in-R.html"/>
    <id>https://r-statistics.co/dplyr-pick-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr pick() to select columns inside summarise, mutate, or filter using tidyselect helpers in R. Covers pick vs across, select, NSE, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr percent_rank() in R: Relative Position 0 to 1</title>
    <link href="https://r-statistics.co/dplyr-percent_rank-in-R.html"/>
    <id>https://r-statistics.co/dplyr-percent_rank-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr percent_rank() to compute the relative percentile position 0 to 1 of values in R. Covers vs cume_dist, ties, NA, formula, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr num_range() in R: Select Numeric-Suffixed Columns</title>
    <link href="https://r-statistics.co/dplyr-num_range-in-R.html"/>
    <id>https://r-statistics.co/dplyr-num_range-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr num_range() tidyselect helper to select columns with a prefix and numeric suffix in R. Covers width, padding, vs matches, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr ntile() in R: Bin Values into N Equal-Count Groups</title>
    <link href="https://r-statistics.co/dplyr-ntile-in-R.html"/>
    <id>https://r-statistics.co/dplyr-ntile-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr ntile() to split values into n approximately equal-count quantile bins in R. Covers vs cut, quartiles, percentiles, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr nth() in R: Get the Nth Value of a Vector</title>
    <link href="https://r-statistics.co/dplyr-nth-in-R.html"/>
    <id>https://r-statistics.co/dplyr-nth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr nth() to get the value at any position in a vector with optional default in R. Covers nth vs first/last, negative index, order_by, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr nest_join() in R: Right Matches as List Column</title>
    <link href="https://r-statistics.co/dplyr-nest_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-nest_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr nest_join() to join two tables where the right's matches are stored as a list column on the left in R. Covers vs left_join, unnest, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr na_if() in R: Convert a Specific Value to NA</title>
    <link href="https://r-statistics.co/dplyr-na_if-in-R.html"/>
    <id>https://r-statistics.co/dplyr-na_if-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr na_if() to convert specific sentinel values like -99 or empty strings to NA in R. Covers scalar and vector matching, vs replace_na, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr n_distinct() in R: Count Unique Values Fast</title>
    <link href="https://r-statistics.co/dplyr-n_distinct-in-R.html"/>
    <id>https://r-statistics.co/dplyr-n_distinct-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr n_distinct() to count unique values in a vector or column in R. Covers n_distinct vs length(unique()), na.rm, multi-column, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr n() in R: Count Rows Inside summarise or mutate</title>
    <link href="https://r-statistics.co/dplyr-n-in-R.html"/>
    <id>https://r-statistics.co/dplyr-n-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr n() to count rows in the current group inside summarise() or mutate() in R. Covers n vs nrow, vs n_distinct, per group behavior, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr mutate() in R: Create and Transform Columns</title>
    <link href="https://r-statistics.co/dplyr-mutate-rename.html"/>
    <id>https://r-statistics.co/dplyr-mutate-rename.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>mutate() is the main tool for engineering features. Learn to create computed columns, apply conditional logic with if_else(), transform multiple columns with across(), and rename cleanly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr mutate() in R: Create and Transform Columns</title>
    <link href="https://r-statistics.co/dplyr-mutate-in-R.html"/>
    <id>https://r-statistics.co/dplyr-mutate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr mutate() to add, transform, or replace columns in R. Covers across(), if_else(), case_when(), grouped mutate, .keep, and 7 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr min_rank() in R: Rank With Ties Sharing Min Position</title>
    <link href="https://r-statistics.co/dplyr-min_rank-in-R.html"/>
    <id>https://r-statistics.co/dplyr-min_rank-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr min_rank() to rank values where tied entries share the lowest rank with gaps in R. Covers vs row_number, dense_rank, desc, NA handling, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr matches() in R: Select Columns by Regex</title>
    <link href="https://r-statistics.co/dplyr-matches-in-R.html"/>
    <id>https://r-statistics.co/dplyr-matches-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr matches() tidyselect helper to select columns by regex pattern in R. Covers ignore.case, vs contains, regex syntax, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr left_join() in R: Keep All Rows From the Left Table</title>
    <link href="https://r-statistics.co/dplyr-left_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-left_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr left_join() to merge two tables keeping all rows from the left in R. Covers by, multiple keys, name conflicts, NA handling, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr lead() in R: Look at the Next Row's Value</title>
    <link href="https://r-statistics.co/dplyr-lead-in-R.html"/>
    <id>https://r-statistics.co/dplyr-lead-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr lead() to access the next row's value in a column for time-series differencing in R. Covers n, default, order_by, lag mirror, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr last() in R: Get the Last Value of a Vector</title>
    <link href="https://r-statistics.co/dplyr-last-in-R.html"/>
    <id>https://r-statistics.co/dplyr-last-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr last() to extract the last value of a vector with optional default in R. Covers last vs tail, order_by, default, NA handling, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr lag() in R: Look at the Previous Row's Value</title>
    <link href="https://r-statistics.co/dplyr-lag-in-R.html"/>
    <id>https://r-statistics.co/dplyr-lag-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr lag() to access the previous row's value in a column for time-series differencing in R. Covers n, default, order_by, lead mirror, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Joins in R: left_join, inner_join, full_join</title>
    <link href="https://r-statistics.co/dplyr-joins-in-R.html"/>
    <id>https://r-statistics.co/dplyr-joins-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master dplyr joins in R: left_join, inner_join, right_join, full_join, semi_join, anti_join. Covers join keys, suffix conflicts, NA matching, examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr join_by() in R: Modern Key Specification for Joins</title>
    <link href="https://r-statistics.co/dplyr-join_by-in-R.html"/>
    <id>https://r-statistics.co/dplyr-join_by-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr join_by() to specify join keys with equality, inequality, and rolling matches in R. Covers vs by, between, closest, and 5 worked R examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr intersect() in R: Rows in Both X and Y</title>
    <link href="https://r-statistics.co/dplyr-intersect-in-R.html"/>
    <id>https://r-statistics.co/dplyr-intersect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr intersect() to find rows present in both x and y in R. Covers intersect vs base intersect, whole-row matching, vs semi_join, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr inner_join() in R: Keep Only Matched Rows</title>
    <link href="https://r-statistics.co/dplyr-inner_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-inner_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr inner_join() to keep only rows that match in both tables in R. Covers inner_join vs left_join, by, multiple keys, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr if_else() in R: Type-Strict Vectorized Conditional</title>
    <link href="https://r-statistics.co/dplyr-if_else-in-R.html"/>
    <id>https://r-statistics.co/dplyr-if_else-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr if_else() for a type-strict vectorized conditional in R. Covers if_else vs base ifelse, missing arg, NA handling, type preservation, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr group_by() in R: Grouped Operations Made Easy</title>
    <link href="https://r-statistics.co/dplyr-group_by-in-R.html"/>
    <id>https://r-statistics.co/dplyr-group_by-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr group_by() to run grouped summaries, mutates, and filters in R. Covers ungroup, .groups argument, .by alternative, multi-key, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr group_by() and summarise(): 10 Worked Examples</title>
    <link href="https://r-statistics.co/dplyr-group-by-summarise.html"/>
    <id>https://r-statistics.co/dplyr-group-by-summarise.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>group_by() and summarise() in dplyr: 10 runnable examples, what .groups = 'drop' does, and how NA and NaN values are grouped.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr group_by Exercises: 18 Problems With Answers</title>
    <link href="https://r-statistics.co/dplyr-group-by-summarise-Exercises.html"/>
    <id>https://r-statistics.co/dplyr-group-by-summarise-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 worked group_by + summarise exercises in R: counts, multi-column rollups, across() column-wise stats, NA handling, group shares, and per-group ranking.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr full_join() in R: Keep All Rows From Both Tables</title>
    <link href="https://r-statistics.co/dplyr-full_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-full_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr full_join() to keep all rows from both tables, filling unmatched with NA in R. Covers full_join vs left/right/inner_join, by, NA, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr first() in R: Get the First Value of a Vector</title>
    <link href="https://r-statistics.co/dplyr-first-in-R.html"/>
    <id>https://r-statistics.co/dplyr-first-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr first() to extract the first value of a vector with optional default in R. Covers first vs head, order_by, default arg, NA handling, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr filter() and select(): Subset Data Fast</title>
    <link href="https://r-statistics.co/dplyr-filter-select.html"/>
    <id>https://r-statistics.co/dplyr-filter-select.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>filter() keeps rows matching conditions; select() keeps specified columns. Learn boolean operators in filter(), column selection helpers like starts_with(), and how to combine both efficiently.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr filter() and select() Exercises: 20 Practice Problems in R</title>
    <link href="https://r-statistics.co/dplyr-filter-select-Exercises.html"/>
    <id>https://r-statistics.co/dplyr-filter-select-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice dplyr filter() and select() with 20 hands-on R problems and worked solutions. Beginner to advanced, every exercise has a hidden answer and explanation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr filter() in R: Subset Rows by Condition</title>
    <link href="https://r-statistics.co/dplyr-filter-in-R.html"/>
    <id>https://r-statistics.co/dplyr-filter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr filter() to subset rows by logical conditions in R. Covers AND/OR, %in%, between(), NA-safe filtering, .by grouping, and 7 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr everything() in R: Select All Remaining Columns</title>
    <link href="https://r-statistics.co/dplyr-everything-in-R.html"/>
    <id>https://r-statistics.co/dplyr-everything-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr everything() tidyselect helper to select all remaining columns in R. Covers reorder columns, across, summarise, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr ends_with() in R: Select Columns by Suffix</title>
    <link href="https://r-statistics.co/dplyr-ends_with-in-R.html"/>
    <id>https://r-statistics.co/dplyr-ends_with-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr ends_with() tidyselect helper to select columns whose names end with a string in R. Covers ignore.case, vs starts_with, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr distinct() in R: Remove Duplicate Rows</title>
    <link href="https://r-statistics.co/dplyr-distinct-in-R.html"/>
    <id>https://r-statistics.co/dplyr-distinct-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr distinct() to remove duplicate rows from a data frame in R. Covers .keep_all flag, multi-column dedup, NA handling, and 6 worked code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr dense_rank() in R: Rank Without Gaps After Ties</title>
    <link href="https://r-statistics.co/dplyr-dense_rank-in-R.html"/>
    <id>https://r-statistics.co/dplyr-dense_rank-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr dense_rank() to rank values where tied entries share the same rank with no gaps in R. Covers vs min_rank, row_number, descending, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cur_group_id() in R: Stable Integer ID Per Group</title>
    <link href="https://r-statistics.co/dplyr-cur_group_id-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cur_group_id-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cur_group_id() to get a stable unique integer ID for the current group inside summarise or mutate in R. Covers vs cur_group, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cur_group() in R: Access Current Group Inside Verbs</title>
    <link href="https://r-statistics.co/dplyr-cur_group-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cur_group-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cur_group() and friends to access the current group inside summarise or mutate in R. Covers cur_group, cur_group_id, cur_group_rows, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cur_data() in R: Deprecated; Use pick(everything())</title>
    <link href="https://r-statistics.co/dplyr-cur_data-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cur_data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cur_data() to access the current group's data inside summarise (deprecated; use pick everything in R). Covers migration to pick, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cummean() in R: Running Mean Across a Vector</title>
    <link href="https://r-statistics.co/dplyr-cummean-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cummean-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cummean() to compute the running (cumulative) mean of a vector in R. Covers cummean vs cumsum/seq_along, per-group, NA handling, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cume_dist() in R: Empirical Cumulative Distribution</title>
    <link href="https://r-statistics.co/dplyr-cume_dist-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cume_dist-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cume_dist() to compute the empirical cumulative distribution proportion in R. Covers vs percent_rank, formula, ties, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cumany() in R: Cumulative Any-True Across a Vector</title>
    <link href="https://r-statistics.co/dplyr-cumany-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cumany-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cumany() to mark every position from the first TRUE onward in a logical vector. Covers cumany vs cumall, filter idiom, NA, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cumall() in R: Cumulative All-True Across a Vector</title>
    <link href="https://r-statistics.co/dplyr-cumall-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cumall-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cumall() to track whether a logical condition has been TRUE since the start of a vector in R. Covers cumall vs cumany, filter window, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr cross_join() in R: Cartesian Product of Two Tables</title>
    <link href="https://r-statistics.co/dplyr-cross_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-cross_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr cross_join() to compute the Cartesian product of two data frames in R. Covers vs expand_grid, full join with no key, name conflicts, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr count() in R: Count Rows and Frequencies</title>
    <link href="https://r-statistics.co/dplyr-count-in-R.html"/>
    <id>https://r-statistics.co/dplyr-count-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Count rows in R with dplyr count(): grouped counts, sort = TRUE, the name argument, weighted counts with wt, plus tally() and add_count().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr contains() in R: Select Columns by Substring</title>
    <link href="https://r-statistics.co/dplyr-contains-in-R.html"/>
    <id>https://r-statistics.co/dplyr-contains-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr contains() tidyselect helper to select columns whose names contain a substring in R. Covers ignore.case, vs matches, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr coalesce() in R: First Non-NA Value Across Vectors</title>
    <link href="https://r-statistics.co/dplyr-coalesce-in-R.html"/>
    <id>https://r-statistics.co/dplyr-coalesce-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr coalesce() to fill NA from a fallback value or vector in R. Covers scalar fallback, vector chains, vs replace_na, vs ifelse, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr case_when() in R: Vectorized Multi-Way If-Else</title>
    <link href="https://r-statistics.co/dplyr-case_when-in-R.html"/>
    <id>https://r-statistics.co/dplyr-case_when-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr case_when() for vectorized multi-way if-else logic in R. Covers fallback TRUE branch, NA handling, type rules, .default arg, and 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr case_match() in R: Switch-Style Value Recoding</title>
    <link href="https://r-statistics.co/dplyr-case_match-in-R.html"/>
    <id>https://r-statistics.co/dplyr-case_match-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr case_match() to map specific input values to outputs in R. Covers case_match vs case_when, default, NA handling, vs recode, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr case_when() in R: 7 Worked Examples</title>
    <link href="https://r-statistics.co/dplyr-case-when.html"/>
    <id>https://r-statistics.co/dplyr-case-when.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr case_when() to replace nested if_else chains with clean, vectorized conditional logic. Covers .default, NA handling, and multi-column rules in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr c_across() in R: Combine Columns Within rowwise()</title>
    <link href="https://r-statistics.co/dplyr-c_across-in-R.html"/>
    <id>https://r-statistics.co/dplyr-c_across-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr c_across() inside rowwise() to compute across columns row-wise in R. Covers c_across vs across, tidyselect helpers, pmap alternative, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr bind_rows() and bind_cols() in R: Combine Tables</title>
    <link href="https://r-statistics.co/dplyr-bind_rows-in-R.html"/>
    <id>https://r-statistics.co/dplyr-bind_rows-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr bind_rows() and bind_cols() to combine data frames vertically or horizontally in R. Covers .id origin, missing columns, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr bind_cols() in R: Combine Tables Side by Side</title>
    <link href="https://r-statistics.co/dplyr-bind_cols-in-R.html"/>
    <id>https://r-statistics.co/dplyr-bind_cols-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr bind_cols() to combine data frames side by side by position in R. Covers bind_cols vs cbind, name conflicts, length checks, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr arrange() and slice() in R: 15 Sorting Recipes</title>
    <link href="https://r-statistics.co/dplyr-arrange-slice.html"/>
    <id>https://r-statistics.co/dplyr-arrange-slice.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sort rows with arrange(), pick positions with slice(), and get top-N per group with slice_max() in dplyr. 15 examples covering desc(), .by, and tie handling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr arrange() in R: Sort Rows by Column</title>
    <link href="https://r-statistics.co/dplyr-arrange-in-R.html"/>
    <id>https://r-statistics.co/dplyr-arrange-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr arrange() to sort rows ascending or descending in R. Covers desc(), multi-column sort, NA placement, .by_group flag, and 6 runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr anti_join() in R: Keep Rows Without Match in Right</title>
    <link href="https://r-statistics.co/dplyr-anti_join-in-R.html"/>
    <id>https://r-statistics.co/dplyr-anti_join-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr anti_join() to keep rows of the left table that have NO match in the right in R. Covers anti_join vs semi_join, multi-key, audit, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr add_tally() in R: Group Count, Keep Rows</title>
    <link href="https://r-statistics.co/dplyr-add_tally-in-R.html"/>
    <id>https://r-statistics.co/dplyr-add_tally-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr add_tally() to add a count column to an already-grouped tibble without collapsing rows in R. Covers add_tally vs add_count, wt, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr add_count() in R: Add Group Count Without Summarising</title>
    <link href="https://r-statistics.co/dplyr-add_count-in-R.html"/>
    <id>https://r-statistics.co/dplyr-add_count-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr add_count() to add a group count column to a tibble without collapsing rows in R. Covers add_count vs count, weighted, sort, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr across() in R: Apply Functions to Many Columns</title>
    <link href="https://r-statistics.co/dplyr-across.html"/>
    <id>https://r-statistics.co/dplyr-across.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn dplyr across() with practical R examples: apply functions to multiple columns in mutate, summarise, filter with if_any/if_all, and custom naming.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr across() in R: Apply Functions to Many Columns</title>
    <link href="https://r-statistics.co/dplyr-across-in-R.html"/>
    <id>https://r-statistics.co/dplyr-across-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dplyr across() inside mutate() and summarise() to apply a function to many columns. Covers where(), tidyselect, naming patterns, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Window Functions Exercises in R: 25 Practice Problems</title>
    <link href="https://r-statistics.co/dplyr-Window-Functions-Exercises-in-R.html"/>
    <id>https://r-statistics.co/dplyr-Window-Functions-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty-five dplyr window function practice problems: lead, lag, cumsum, rank, ntile, first, last, cumall, cumany. Hidden solutions, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Joins Exercises in R: 25 Practice Problems</title>
    <link href="https://r-statistics.co/dplyr-Joins-Exercises-in-R.html"/>
    <id>https://r-statistics.co/dplyr-Joins-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Joins in R exercises: 25 dplyr practice problems on left, right, inner, full, semi, anti, nest, multi-key, inequality and rolling joins. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Join Exercises: 20 Real-World Practice Problems in R</title>
    <link href="https://r-statistics.co/dplyr-Join-Exercises.html"/>
    <id>https://r-statistics.co/dplyr-Join-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice dplyr joins in R with 20 real-world problems on left, right, inner, full, semi, anti, multi-key, inequality, rolling joins, and reconciliation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr group_by Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/dplyr-Group-By-Exercises-in-R.html"/>
    <id>https://r-statistics.co/dplyr-Group-By-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty-five dplyr group_by exercises with hidden solutions: grouped summarise, mutate, slice, .by argument, sticky-group gotchas, rolling windows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Exercises: 15 Problems With Solutions</title>
    <link href="https://r-statistics.co/dplyr-Exercises.html"/>
    <id>https://r-statistics.co/dplyr-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practise dplyr with 15 data manipulation exercises. filter, mutate, summarise, group_by, joins, and across, runnable solutions from beginner to advanced.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr Exercises in R: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/dplyr-Exercises-in-R.html"/>
    <id>https://r-statistics.co/dplyr-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice dplyr with 50 scenario-based exercises in R: filter, mutate, summarise, joins, window functions, multi-step pipelines. Hidden solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials update() Params in R: Set Custom Tuning Ranges</title>
    <link href="https://r-statistics.co/dials-update-params-in-R.html"/>
    <id>https://r-statistics.co/dials-update-params-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials update() in R to set custom tuning ranges inside a tidymodels parameter set. Syntax, multi-parameter updates, update vs finalize, pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials trees() in R: Tune Ensemble Size in tidymodels</title>
    <link href="https://r-statistics.co/dials-trees-in-R.html"/>
    <id>https://r-statistics.co/dials-trees-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials trees() in R to set the ensemble size range for random forest and boosted tree tuning. Defaults, examples, learn_rate interaction, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials tree_depth() in R: Tune Decision Tree Depth</title>
    <link href="https://r-statistics.co/dials-tree_depth-in-R.html"/>
    <id>https://r-statistics.co/dials-tree_depth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials tree_depth() in R to set the depth range for decision and boosted trees in tidymodels. Defaults, engine quirks, min_n interaction, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials mtry() in R: Tune Random Forest Variable Sampling</title>
    <link href="https://r-statistics.co/dials-mtry-in-R.html"/>
    <id>https://r-statistics.co/dials-mtry-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials mtry() in R to set the variable-sampling range for random forest tuning. See finalize(), update(), mtry_prop(), examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials min_n() in R: Tune Minimum Node Size for Tree Models</title>
    <link href="https://r-statistics.co/dials-min_n-in-R.html"/>
    <id>https://r-statistics.co/dials-min_n-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials min_n() in R to set the minimum-node-size search range for tidymodels tree models. Defaults, engine mappings, regression vs classification tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials learn_rate() in R: Tune Boosting Learning Rate</title>
    <link href="https://r-statistics.co/dials-learn_rate-in-R.html"/>
    <id>https://r-statistics.co/dials-learn_rate-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials learn_rate() in R to tune the boosting learning rate range. See log10 defaults, boost_tree examples, the trees tradeoff, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dials finalize() in R: Set Tuning Parameter Ranges From Data</title>
    <link href="https://r-statistics.co/dials-finalize-in-R.html"/>
    <id>https://r-statistics.co/dials-finalize-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dials finalize() in R to fill unknown tidymodels tuning ranges like mtry from training data. Syntax, workflow examples, recipe handling, pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dbplyr in R: Write dplyr Code That Runs on Any SQL Database</title>
    <link href="https://r-statistics.co/dbplyr-in-R.html"/>
    <id>https://r-statistics.co/dbplyr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>dbplyr translates your dplyr pipelines into SQL so you can query databases without writing SQL. Learn tbl(), show_query(), collect(), and lazy evaluation with RSQLite examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dbplyr / SQL Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/dbplyr-SQL-Exercises-in-R.html"/>
    <id>https://r-statistics.co/dbplyr-SQL-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice dbplyr and SQL in R with 20 problems: connections, lazy evaluation, joins, window functions, parameterized SQL. Hidden solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table := vs = in R: When to Use Walrus vs Equals</title>
    <link href="https://r-statistics.co/datatable-walrus-vs-equals-in-R.html"/>
    <id>https://r-statistics.co/datatable-walrus-vs-equals-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare data.table := vs = in R: when to use the walrus operator for by-reference column updates versus = for argument naming, equality, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table Update by Reference in R: := and set()</title>
    <link href="https://r-statistics.co/datatable-update-by-reference-in-R.html"/>
    <id>https://r-statistics.co/datatable-update-by-reference-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Update by reference in data.table modifies columns in place using := and set(), with no copy. Learn the semantics, syntax, examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table uniqueN() in R: Count Distinct Values Fast</title>
    <link href="https://r-statistics.co/datatable-uniqueN-in-R.html"/>
    <id>https://r-statistics.co/datatable-uniqueN-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table uniqueN() in R to count distinct values in a vector, unique rows in a table, or distinct combinations by group, with na.rm and by examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table tstrsplit() in R: Split Strings to Columns</title>
    <link href="https://r-statistics.co/datatable-tstrsplit-in-R.html"/>
    <id>https://r-statistics.co/datatable-tstrsplit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how data.table tstrsplit() in R splits a string column into multiple columns. Covers fixed delimiters, keep, type.convert and fill, with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table tables() in R: List All data.tables in Memory</title>
    <link href="https://r-statistics.co/datatable-tables-in-R.html"/>
    <id>https://r-statistics.co/datatable-tables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table tables() lists every data.table in an environment with row, column, MB size and key info. Learn the syntax, sorting tricks, and script use here.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table shift() in R: Lag and Lead Columns</title>
    <link href="https://r-statistics.co/datatable-shift-in-R.html"/>
    <id>https://r-statistics.co/datatable-shift-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table shift() in R to lag and lead column values. Covers the n, fill, and type arguments, group-wise shifts with by, and common pitfalls to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setorder() in R: Sort Rows by Reference</title>
    <link href="https://r-statistics.co/datatable-setorder-in-R.html"/>
    <id>https://r-statistics.co/datatable-setorder-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>setorder() in R sorts a data.table or data.frame by reference, ascending or descending, with no copy. See syntax, examples, mixed-order sorts, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setnames() in R: Rename Columns by Reference</title>
    <link href="https://r-statistics.co/datatable-setnames-in-R.html"/>
    <id>https://r-statistics.co/datatable-setnames-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how data.table setnames() in R renames columns by reference. Rename by name, position, or function and skip missing names, with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setkey() in R: Sort Tables for Fast Lookups</title>
    <link href="https://r-statistics.co/datatable-setkey-in-R.html"/>
    <id>https://r-statistics.co/datatable-setkey-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>setkey() in R sorts a data.table by reference and marks key columns, enabling fast binary-search subsetting and joins. See syntax, examples, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setcolorder() in R: Reorder Columns by Reference</title>
    <link href="https://r-statistics.co/datatable-setcolorder-in-R.html"/>
    <id>https://r-statistics.co/datatable-setcolorder-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>setcolorder() reorders data.table columns by reference in R with no copy. Learn the syntax, move columns to the front or back, and use before and after.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setDT() in R: Convert by Reference</title>
    <link href="https://r-statistics.co/datatable-setDT-in-R.html"/>
    <id>https://r-statistics.co/datatable-setDT-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>setDT() in R converts a list or data.frame to a data.table in place, by reference, with zero copy. Learn the syntax, examples, setDF, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table setDF() in R: Convert to a data.frame</title>
    <link href="https://r-statistics.co/datatable-setDF-in-R.html"/>
    <id>https://r-statistics.co/datatable-setDF-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>setDF() in R converts a data.table or list to a data.frame in place, by reference, with zero copy. Learn the syntax, examples, rownames, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table rowid() in R: Unique Row IDs Within Groups</title>
    <link href="https://r-statistics.co/datatable-rowid-in-R.html"/>
    <id>https://r-statistics.co/datatable-rowid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table rowid() in R to generate a within-group row counter, number occurrences of a value, group by multiple keys, and keep the first row per group.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table rleid() in R: Number Consecutive Runs</title>
    <link href="https://r-statistics.co/datatable-rleid-in-R.html"/>
    <id>https://r-statistics.co/datatable-rleid-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table rleid() in R to generate run-length group ids for consecutive values. Covers syntax, rleidv, the prefix argument, grouping, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table rbindlist() in R: Bind Lists of Tables by Row</title>
    <link href="https://r-statistics.co/datatable-rbindlist-in-R.html"/>
    <id>https://r-statistics.co/datatable-rbindlist-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table rbindlist() in R to combine a list of data tables or data frames by row. Covers fill, idcol, use.names, and rbindlist vs rbind with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table merge() in R: Join Two Tables by Key</title>
    <link href="https://r-statistics.co/datatable-merge-in-R.html"/>
    <id>https://r-statistics.co/datatable-merge-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table merge() in R joins two tables on shared key columns. Learn inner, left, right and full outer joins, the by.x and by.y arguments, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table melt() in R: Reshape Wide Data to Long Format</title>
    <link href="https://r-statistics.co/datatable-melt-in-R.html"/>
    <id>https://r-statistics.co/datatable-melt-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Reshape wide data.tables into long format with melt() in R. Covers id.vars, measure.vars, variable.name, value.name, na.rm, and patterns() with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table keyby in R: Group, Sort, and Key the Result</title>
    <link href="https://r-statistics.co/datatable-keyby-in-R.html"/>
    <id>https://r-statistics.co/datatable-keyby-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table keyby in R groups rows like by, then sorts and keys the result. See keyby vs by, multi-column grouping, performance gains, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table Keys in R: Fast Joins and Subsetting</title>
    <link href="https://r-statistics.co/datatable-key-in-R.html"/>
    <id>https://r-statistics.co/datatable-key-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A data.table key in R is a sorted set of columns that lets data.table use binary search for fast subsets and joins. See how to set, read, and use keys.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table haskey() in R: Check If a Table Has a Key</title>
    <link href="https://r-statistics.co/datatable-haskey-in-R.html"/>
    <id>https://r-statistics.co/datatable-haskey-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table haskey() returns TRUE if a data.table has a key, FALSE if not. Learn syntax, guard-clause examples, and how it differs from key() and setkey().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table Grouping in R: by, keyby, and .SD Patterns</title>
    <link href="https://r-statistics.co/datatable-grouping-in-R.html"/>
    <id>https://r-statistics.co/datatable-grouping-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Grouping in data.table runs j once per group inside DT[i, j, by]. Compare by, keyby, .SD, multi-column grouping, performance tips, and common pitfalls in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fwrite() in R: Fast CSV Writing</title>
    <link href="https://r-statistics.co/datatable-fwrite-in-R.html"/>
    <id>https://r-statistics.co/datatable-fwrite-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table fwrite() in R to write CSV files fast. Covers syntax, delimiters, append mode, gzip compression, and fwrite vs write.csv with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table funion() in R: Fast Set Union of Tables</title>
    <link href="https://r-statistics.co/datatable-funion-in-R.html"/>
    <id>https://r-statistics.co/datatable-funion-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table funion() in R to compute the set union of two tables, returning every unique row. Covers funion syntax, the all argument, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fsetdiff() in R: Set Difference of Tables</title>
    <link href="https://r-statistics.co/datatable-fsetdiff-in-R.html"/>
    <id>https://r-statistics.co/datatable-fsetdiff-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table fsetdiff() in R to find rows in one table that are not in another. Covers syntax, the all argument, fsetdiff vs setdiff, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table frollsum() in R: Fast Rolling Window Sums</title>
    <link href="https://r-statistics.co/datatable-frollsum-in-R.html"/>
    <id>https://r-statistics.co/datatable-frollsum-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how data.table frollsum() in R computes fast rolling window sums. Covers syntax, multiple windows, na.rm, grouped rolling totals, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table frollmean() in R: Fast Rolling Window Means</title>
    <link href="https://r-statistics.co/datatable-frollmean-in-R.html"/>
    <id>https://r-statistics.co/datatable-frollmean-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table frollmean() in R to compute fast rolling window means. Covers window size, alignment, na.rm, adaptive windows, and grouped rolling means.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fread() in R: Fast CSV and Text Import</title>
    <link href="https://r-statistics.co/datatable-fread-in-R.html"/>
    <id>https://r-statistics.co/datatable-fread-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table fread() in R to import CSV and delimited files fast. Covers select, drop, nrows, colClasses, text input, and fread vs read.csv with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table frank() in R: Fast Ranking of Vectors</title>
    <link href="https://r-statistics.co/datatable-frank-in-R.html"/>
    <id>https://r-statistics.co/datatable-frank-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table frank() in R to rank vectors and columns fast. Covers ties.method options, descending ranks, group-wise ranking, and frank vs base rank.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table foverlaps() in R: Fast Overlap Joins on Intervals</title>
    <link href="https://r-statistics.co/datatable-foverlaps-in-R.html"/>
    <id>https://r-statistics.co/datatable-foverlaps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table foverlaps() in R to join interval data fast. Covers setkey setup, overlap types, maxgap, mult, and grouped overlap joins with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fintersect() in R: Set Intersection of Tables</title>
    <link href="https://r-statistics.co/datatable-fintersect-in-R.html"/>
    <id>https://r-statistics.co/datatable-fintersect-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table fintersect() in R to find rows present in both tables. Covers fintersect syntax, the all argument, whole-row matching, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fifelse() in R: Fast Vectorized If-Else</title>
    <link href="https://r-statistics.co/datatable-fifelse-in-R.html"/>
    <id>https://r-statistics.co/datatable-fifelse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table fifelse() in R for fast, type-safe vectorized if-else logic. Covers syntax, the na argument, fifelse vs ifelse, dates, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fcoalesce() in R: Fill Missing Values Fast</title>
    <link href="https://r-statistics.co/datatable-fcoalesce-in-R.html"/>
    <id>https://r-statistics.co/datatable-fcoalesce-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table fcoalesce() in R to fill missing values from the first non-NA source. Covers syntax, scalar defaults, fcoalesce vs coalesce, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table fcase() in R: Vectorised Multi-Case Conditionals</title>
    <link href="https://r-statistics.co/datatable-fcase-in-R.html"/>
    <id>https://r-statistics.co/datatable-fcase-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table fcase() in R for fast, vectorised multi-case conditionals. Covers syntax, the default argument, fcase vs fifelse vs case_when, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table dcast() in R: Reshape Long Data to Wide Format</title>
    <link href="https://r-statistics.co/datatable-dcast-in-R.html"/>
    <id>https://r-statistics.co/datatable-dcast-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Reshape long data.tables to wide format with dcast() in R. Learn formula syntax, value.var, fun.aggregate, fill, multi-measure casts, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table by in R: Group, Aggregate, and Summarize Rows</title>
    <link href="https://r-statistics.co/datatable-by-keyword-in-R.html"/>
    <id>https://r-statistics.co/datatable-by-keyword-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table by in R groups rows for aggregation inside the DT[i, j, by] syntax. See by vs keyby, multi-column grouping, expressions, .SD, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table as.data.table() in R: Convert Objects Fast</title>
    <link href="https://r-statistics.co/datatable-as-data-table-in-R.html"/>
    <id>https://r-statistics.co/datatable-as-data-table-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table as.data.table() in R to convert data.frames, lists, matrices, and tables. Covers keep.rownames, as.data.table vs setDT, methods, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table .SDcols in R: Apply Functions to Many Columns</title>
    <link href="https://r-statistics.co/datatable-SDcols-in-R.html"/>
    <id>https://r-statistics.co/datatable-SDcols-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table .SDcols picks which columns .SD exposes inside j. Select by name, index, regex, range, or type predicate to apply lapply across many columns.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table .SD in R: Subset of Data for Per-Group Operations</title>
    <link href="https://r-statistics.co/datatable-SD-keyword-in-R.html"/>
    <id>https://r-statistics.co/datatable-SD-keyword-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table .SD in R is the Subset of Data inside j, letting lapply, head and tail run once per group. See .SDcols, update-in-place, examples, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table .N in R: Count Rows by Group, Fast</title>
    <link href="https://r-statistics.co/datatable-N-keyword-in-R.html"/>
    <id>https://r-statistics.co/datatable-N-keyword-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The data.table .N symbol holds the row count of the current group in R. Use dt[, .N, by=...] for grouped counts, last row picks, and group-size filters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table CJ() in R: Generate All Value Combinations</title>
    <link href="https://r-statistics.co/datatable-CJ-in-R.html"/>
    <id>https://r-statistics.co/datatable-CJ-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use data.table CJ() in R to build the cross join of vectors, generate every value combination, and fill missing rows, with sorted and unique examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table Exercises in R: 50 Real Practice Problems</title>
    <link href="https://r-statistics.co/data.table-Exercises-in-R.html"/>
    <id>https://r-statistics.co/data.table-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practise data.table with 50 scenario-led problems in R covering i/j/by, in-place updates, joins, reshape, special symbols and performance. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table vs dplyr: Benchmarked, Which to Use</title>
    <link href="https://r-statistics.co/data-table-vs-dplyr.html"/>
    <id>https://r-statistics.co/data-table-vs-dplyr.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>data.table vs dplyr in R compared head-to-head: syntax, speed, memory, joins, and group-by benchmarks with runnable examples. Pick the right one for you.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>data.table Exercises: 20 Problems With Solutions</title>
    <link href="https://r-statistics.co/data-table-Exercises.html"/>
    <id>https://r-statistics.co/data-table-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty data.table exercises in R covering DT[i, j, by], setkey, joins, .SD, chaining, melt, dcast, and update-by-reference. Solutions and explanations included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fast Data Wrangling with data.table: Interactive Course</title>
    <link href="https://r-statistics.co/data-table-Course.html"/>
    <id>https://r-statistics.co/data-table-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data.table in R in three interactive lessons: the DT[i, j, by] syntax and keys, data.table versus dplyr head to head, and wrangling bigger-than-memory data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret varImp() in R: Rank Predictor Importance Scores</title>
    <link href="https://r-statistics.co/caret-varImp-in-R.html"/>
    <id>https://r-statistics.co/caret-varImp-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret varImp() in R ranks predictor importance from any train object. Scaled scores, model-specific methods, plot/ggplot examples, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret upSample() in R: Oversample Minority Class for Balance</title>
    <link href="https://r-statistics.co/caret-upSample-in-R.html"/>
    <id>https://r-statistics.co/caret-upSample-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret upSample() in R oversamples the minority class with replacement to balance binary or multiclass training data. Syntax, examples, pitfalls, full FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret twoClassSummary() in R: ROC, Sensitivity, Specificity</title>
    <link href="https://r-statistics.co/caret-twoClassSummary-in-R.html"/>
    <id>https://r-statistics.co/caret-twoClassSummary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret twoClassSummary() in R as the binary-classification summaryFunction in trainControl. Score with ROC AUC, Sensitivity, and Specificity per fold.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret treebag in R: Bagging Decision Trees with train()</title>
    <link href="https://r-statistics.co/caret-treebag-in-R.html"/>
    <id>https://r-statistics.co/caret-treebag-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit bagged decision trees in R with caret method treebag via train(): setup, tuning, cross-validation, variable importance, plus a full worked example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret trainControl() in R: Configure CV and Resampling</title>
    <link href="https://r-statistics.co/caret-trainControl-in-R.html"/>
    <id>https://r-statistics.co/caret-trainControl-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Configure resampling in caret with trainControl(). Set cross-validation, bootstrap, classProbs, sampling, and parallel options. Examples in R included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret train() in R: Fit and Tune ML Models</title>
    <link href="https://r-statistics.co/caret-train-in-R.html"/>
    <id>https://r-statistics.co/caret-train-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret train() in R fits, resamples, and tunes machine learning models. trainControl, tuneGrid, preProcess, predict(), and resamples examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret spls() in R: Sparse Partial Least Squares</title>
    <link href="https://r-statistics.co/caret-spls-in-R.html"/>
    <id>https://r-statistics.co/caret-spls-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit sparse partial least squares regression in caret with train(method = spls). Tune K, eta, kappa; inspect selected variables; compare with PLS and lasso.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret specificity() in R: Compute True Negative Rate</title>
    <link href="https://r-statistics.co/caret-specificity-in-R.html"/>
    <id>https://r-statistics.co/caret-specificity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret specificity() in R to compute true negative rate. Factor or table input, per-class examples, with sensitivity and confusionMatrix comparisons.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret sensitivity() in R: Compute True Positive Rate</title>
    <link href="https://r-statistics.co/caret-sensitivity-in-R.html"/>
    <id>https://r-statistics.co/caret-sensitivity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret sensitivity() in R to compute true positive rate (recall). Two-class and per-class examples, factor or table input, with confusionMatrix comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret sbf() in R: Filter-Based Feature Selection</title>
    <link href="https://r-statistics.co/caret-sbf-in-R.html"/>
    <id>https://r-statistics.co/caret-sbf-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret sbf() in R for selection by filtering, a resampling-based univariate feature selection method. Covers sbfControl, lmSBF, rfSBF, and a worked example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret safs() in R: Simulated Annealing Feature Selection</title>
    <link href="https://r-statistics.co/caret-safs-in-R.html"/>
    <id>https://r-statistics.co/caret-safs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret safs() in R for simulated annealing feature selection. Covers safsControl, the rfSA and treebagSA backends, and a worked variable selection example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret rocSummary in R: ROC AUC With twoClassSummary</title>
    <link href="https://r-statistics.co/caret-rocSummary-in-R.html"/>
    <id>https://r-statistics.co/caret-rocSummary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret has no rocSummary() function; use twoClassSummary() to score binary models on ROC AUC, Sensitivity, and Specificity per fold inside trainControl().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret rfe() in R: Recursive Feature Elimination</title>
    <link href="https://r-statistics.co/caret-rfe-in-R.html"/>
    <id>https://r-statistics.co/caret-rfe-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret rfe() in R for recursive feature elimination. Covers rfeControl, sizes, the rfFuncs and lmFuncs backends, and a worked variable selection example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret resamples() in R: Compare Cross-Validated Models</title>
    <link href="https://r-statistics.co/caret-resamples-in-R.html"/>
    <id>https://r-statistics.co/caret-resamples-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret resamples() in R to compare cross-validated models. Build a resamples object from multiple train fits, then summarize, plot, and diff metrics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret predict.train() in R: Score New Data From Models</title>
    <link href="https://r-statistics.co/caret-predict-train-in-R.html"/>
    <id>https://r-statistics.co/caret-predict-train-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score new data with caret predict() on a train object. Covers type=raw vs type=prob, factor level handling, NA behavior, and predict.train versus predict().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret preProcess() in R: Scale, Center and Impute Data</title>
    <link href="https://r-statistics.co/caret-preProcess-in-R.html"/>
    <id>https://r-statistics.co/caret-preProcess-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret preProcess() in R centers, scales, transforms, and imputes predictors. Examples, the predict() two-step pattern, method options, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret prSummary() in R: Precision and Recall Summary Metrics</title>
    <link href="https://r-statistics.co/caret-prSummary-in-R.html"/>
    <id>https://r-statistics.co/caret-prSummary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret prSummary() in R as the trainControl summaryFunction for imbalanced binary classification. Returns PR-AUC, Precision, Recall, and the F1 score.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret postResample() in R: Score Model Predictions</title>
    <link href="https://r-statistics.co/caret-postResample-in-R.html"/>
    <id>https://r-statistics.co/caret-postResample-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret postResample() in R to score predictions. Get RMSE, R-squared, MAE for regression and Accuracy, Kappa for classification with a single call.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret plsda() in R: PLS Discriminant Analysis</title>
    <link href="https://r-statistics.co/caret-plsda-in-R.html"/>
    <id>https://r-statistics.co/caret-plsda-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret plsda() in R fits a PLS discriminant model. Formula and matrix forms, predict() with softmax probabilities, choosing ncomp, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret pickSizeTolerance() in R: Parsimonious RFE Picks</title>
    <link href="https://r-statistics.co/caret-pickSizeTolerance-in-R.html"/>
    <id>https://r-statistics.co/caret-pickSizeTolerance-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret pickSizeTolerance() in R picks the smallest rfe subset within tol percent of the best metric. Covers signature, tol tuning, pickSizeBest comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret pickSizeBest() in R: Pick the Top RFE Subset Size</title>
    <link href="https://r-statistics.co/caret-pickSizeBest-in-R.html"/>
    <id>https://r-statistics.co/caret-pickSizeBest-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret pickSizeBest() in R picks the rfe subset size with the best resampled metric value. Covers signature, rfeControl wiring, pickSizeTolerance comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret nearZeroVar() in R: Drop Near-Constant Predictors</title>
    <link href="https://r-statistics.co/caret-nearZeroVar-in-R.html"/>
    <id>https://r-statistics.co/caret-nearZeroVar-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret nearZeroVar() in R to find and drop near-zero variance predictors before modeling. Covers freqCut, uniqueCut, saveMetrics, and worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret multiClassSummary() in R: Multi-Class Metrics</title>
    <link href="https://r-statistics.co/caret-multiClassSummary-in-R.html"/>
    <id>https://r-statistics.co/caret-multiClassSummary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret multiClassSummary() in R as the multi-class summaryFunction in trainControl. Tune on AUC, logLoss, or Mean_F1 across 14 macro-averaged metrics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret modelLookup() in R: Find Tuning Parameters</title>
    <link href="https://r-statistics.co/caret-modelLookup-in-R.html"/>
    <id>https://r-statistics.co/caret-modelLookup-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret modelLookup() in R to find the tuning parameters, model type, and probability support for any of caret's 230+ models. Examples with output included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret mnLogLoss() in R: Multinomial Log Loss Metric</title>
    <link href="https://r-statistics.co/caret-mnLogLoss-in-R.html"/>
    <id>https://r-statistics.co/caret-mnLogLoss-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret mnLogLoss() in R as the lightweight summaryFunction in trainControl to tune classification models on log loss for calibrated class probabilities.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret knn3() in R: k-Nearest Neighbors Classification</title>
    <link href="https://r-statistics.co/caret-knn3-in-R.html"/>
    <id>https://r-statistics.co/caret-knn3-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret knn3() in R fits a k-nearest neighbors classifier. Formula and matrix interfaces, predict() probabilities, tuning k, and pitfalls explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret icr() in R: Independent Component Regression Models</title>
    <link href="https://r-statistics.co/caret-icr-in-R.html"/>
    <id>https://r-statistics.co/caret-icr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret icr() in R fits Independent Component Regression. Formula and matrix interfaces, predict() options, tuning n.comp, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret getModelInfo() in R: Inspect Tuning Grids and Code</title>
    <link href="https://r-statistics.co/caret-getModelInfo-in-R.html"/>
    <id>https://r-statistics.co/caret-getModelInfo-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret getModelInfo() in R to fetch tuning grids, fit code, library deps, and class probability support for any of caret's 230+ models. Worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret gamScores() in R: GAM-Based Filter Scoring</title>
    <link href="https://r-statistics.co/caret-gamScores-in-R.html"/>
    <id>https://r-statistics.co/caret-gamScores-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score a numeric predictor against a numeric outcome with caret gamScores() in R. The default regression filter inside sbf(), backed by an mgcv GAM term p-value.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret gafs() in R: Genetic Algorithm Feature Selection</title>
    <link href="https://r-statistics.co/caret-gafs-in-R.html"/>
    <id>https://r-statistics.co/caret-gafs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret gafs() in R for genetic algorithm feature selection. Covers gafsControl, the rfGA and treebagGA backends, and a worked variable selection example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret findLinearCombos() in R: Detect Linear Dependencies</title>
    <link href="https://r-statistics.co/caret-findLinearCombos-in-R.html"/>
    <id>https://r-statistics.co/caret-findLinearCombos-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret findLinearCombos() in R to detect and remove linearly dependent predictor columns. Covers QR-based detection, the dummy variable trap, and fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret findCorrelation() in R: Drop Collinear Predictors</title>
    <link href="https://r-statistics.co/caret-findCorrelation-in-R.html"/>
    <id>https://r-statistics.co/caret-findCorrelation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret findCorrelation() in R to detect and drop highly correlated predictors before modeling. Covers the cutoff argument, names, and worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret dummyVars() in R: One-Hot Encode Categorical Data</title>
    <link href="https://r-statistics.co/caret-dummyVars-in-R.html"/>
    <id>https://r-statistics.co/caret-dummyVars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn caret dummyVars() in R to one-hot encode categorical predictors. Covers syntax, fullRank, applying the encoder to new data, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret downSample() in R: Balance Classes by Undersampling</title>
    <link href="https://r-statistics.co/caret-downSample-in-R.html"/>
    <id>https://r-statistics.co/caret-downSample-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret downSample() in R undersamples the majority class to match the minority count, balancing classification training data. Syntax, examples, pitfalls, FAQ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret dotplot.resamples() in R: Compare CV Model Scores</title>
    <link href="https://r-statistics.co/caret-dotplot-resamples-in-R.html"/>
    <id>https://r-statistics.co/caret-dotplot-resamples-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use dotplot.resamples() to compare caret cross-validated models as mean dots with confidence intervals. Subset metrics, models, and customize the layout.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret defaultSummary() in R: Regression Resample Metrics</title>
    <link href="https://r-statistics.co/caret-defaultSummary-in-R.html"/>
    <id>https://r-statistics.co/caret-defaultSummary-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret defaultSummary() in R as the default regression summaryFunction in trainControl. Score resamples with RMSE, R-squared, and MAE from obs and pred.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret createTimeSlices() in R: Time-Series CV Folds</title>
    <link href="https://r-statistics.co/caret-createTimeSlices-in-R.html"/>
    <id>https://r-statistics.co/caret-createTimeSlices-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret createTimeSlices() in R builds rolling and expanding time-series CV folds. Syntax, fixedWindow, horizon, skip, examples, pitfalls, and FAQ covered.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret createResample() in R: Bootstrap Sample Indexes</title>
    <link href="https://r-statistics.co/caret-createResample-in-R.html"/>
    <id>https://r-statistics.co/caret-createResample-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret createResample() in R draws stratified bootstrap samples with replacement. Syntax, times argument, examples, OOB rows, pitfalls, and FAQ covered.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret createMultiFolds() in R: Repeated K-Fold CV Indices</title>
    <link href="https://r-statistics.co/caret-createMultiFolds-in-R.html"/>
    <id>https://r-statistics.co/caret-createMultiFolds-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret createMultiFolds() in R returns repeated stratified k-fold training indices. Syntax, times, repeatedcv with train(), examples, pitfalls, and FAQ inside.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret createFolds() in R: K-Fold Cross-Validation Indices</title>
    <link href="https://r-statistics.co/caret-createFolds-in-R.html"/>
    <id>https://r-statistics.co/caret-createFolds-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret createFolds() in R builds stratified k-fold cross-validation indices. Syntax, returnTrain, examples, custom CV loops, pitfalls, and FAQ covered.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret createDataPartition() in R: Stratified Train Splits</title>
    <link href="https://r-statistics.co/caret-createDataPartition-in-R.html"/>
    <id>https://r-statistics.co/caret-createDataPartition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret createDataPartition() in R creates stratified train/test splits for machine learning models. Syntax, arguments, examples, pitfalls, and FAQ covered.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret confusionMatrix() in R: Evaluate Classification Models</title>
    <link href="https://r-statistics.co/caret-confusionMatrix-in-R.html"/>
    <id>https://r-statistics.co/caret-confusionMatrix-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret confusionMatrix() in R to score classifiers. Accuracy, Kappa, sensitivity, specificity, F1, positive class, multi-class, and yardstick comparisons.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret classDist() in R: Distance to Class Centroids</title>
    <link href="https://r-statistics.co/caret-classDist-in-R.html"/>
    <id>https://r-statistics.co/caret-classDist-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret classDist() in R computes Mahalanobis distances from each sample to class centroids, turning class structure into model-ready features.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret bwplot.resamples() in R: Plot CV Resampling Results</title>
    <link href="https://r-statistics.co/caret-bwplot-resamples-in-R.html"/>
    <id>https://r-statistics.co/caret-bwplot-resamples-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use bwplot.resamples() to visualize caret resamples objects as box-whisker plots. Compare cross-validated models across metrics, customize panels and scales.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret bagEarth() in R: Bagged MARS Ensemble Models</title>
    <link href="https://r-statistics.co/caret-bagEarth-in-R.html"/>
    <id>https://r-statistics.co/caret-bagEarth-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how caret bagEarth() in R fits a bagged MARS ensemble. Formula and matrix interfaces, predict() options, tuning B, and common pitfalls explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret anovaScores() in R: ANOVA-Based Filter Scoring</title>
    <link href="https://r-statistics.co/caret-anovaScores-in-R.html"/>
    <id>https://r-statistics.co/caret-anovaScores-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Score a numeric predictor against a factor outcome with caret anovaScores() in R using ANOVA or t-test p-values. The default classification filter inside sbf().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret RMSE() in R: Root Mean Squared Error for Regression</title>
    <link href="https://r-statistics.co/caret-RMSE-in-R.html"/>
    <id>https://r-statistics.co/caret-RMSE-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret RMSE() in R to compute root mean squared error between predicted and observed values. Outlier-sensitive regression score, same units as outcome.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret R2() in R: R-Squared for Regression Predictions</title>
    <link href="https://r-statistics.co/caret-R2-in-R.html"/>
    <id>https://r-statistics.co/caret-R2-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret R2() in R to compute R-squared between predictions and truth. Variance-explained regression score with two formulas: corr default and traditional.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret MAE() in R: Mean Absolute Error for Regression</title>
    <link href="https://r-statistics.co/caret-MAE-in-R.html"/>
    <id>https://r-statistics.co/caret-MAE-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use caret MAE() in R to compute mean absolute error between predicted and observed values. Outlier-robust regression score in the same units as your outcome.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>caret Exercises in R: 21 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/caret-Exercises-in-R.html"/>
    <id>https://r-statistics.co/caret-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>caret R exercises: 21 hands-on practice problems on train(), trainControl, preProcess pipelines, tuning grids, ROC, varImp, and resample comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for lme4 in R: Tidy Mixed-Effects Models</title>
    <link href="https://r-statistics.co/broommixed-tidy-lme4-in-R.html"/>
    <id>https://r-statistics.co/broommixed-tidy-lme4-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy lme4 lmer and glmer fits with broom.mixed::tidy(). Extract fixed effects, random-effect SDs, group deviations, and confidence intervals in one call.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for Survival Models in R: coxph and survfit</title>
    <link href="https://r-statistics.co/broom-tidy-survival-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-survival-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy survival models in R using broom::tidy(). Get clean data frames of coefficients, hazard ratios, and KM curves from coxph, survfit, and survreg fits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for rstanarm in R: Tidy Bayesian Fits</title>
    <link href="https://r-statistics.co/broom-tidy-rstanarm-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-rstanarm-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy rstanarm Bayesian fits with broom.mixed::tidy(). Extract posterior medians, credible intervals, and random-effect SDs from stan_glm and stan_glmer.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for prcomp in R: PCA Loadings and Scores</title>
    <link href="https://r-statistics.co/broom-tidy-prcomp-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-prcomp-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy prcomp PCA output in R with broom::tidy(). Extract loadings, scores, and variance per PC as tidy tibbles ready for dplyr piping and ggplot2 plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for kmeans in R: Cluster Centers and Sizes</title>
    <link href="https://r-statistics.co/broom-tidy-kmeans-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-kmeans-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy kmeans clustering output in R with broom::tidy(). Get a clean data frame of cluster centers, sizes, and within-cluster sums of squares in one call.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for htest in R: Tidy Hypothesis Test Results</title>
    <link href="https://r-statistics.co/broom-tidy-htest-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-htest-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy htest objects in R using broom::tidy(). Convert t.test, cor.test, chisq.test, prop.test, and wilcox.test results to one-row tibbles for analysis.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for glm in R: Logistic and Poisson Output</title>
    <link href="https://r-statistics.co/broom-tidy-glm-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-glm-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy glm models in R with broom::tidy(). Extract coefficients, odds ratios, IRRs, and confidence intervals from logistic and Poisson fits in a single call.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom tidy() for aov in R: Convert ANOVA Tables to Tibbles</title>
    <link href="https://r-statistics.co/broom-tidy-aov-in-R.html"/>
    <id>https://r-statistics.co/broom-tidy-aov-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy any aov fit in R with broom::tidy(). Convert one-way, two-way, and TukeyHSD ANOVA tables into one-row-per-term tibbles for dplyr, ggplot2, and reports.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom fix_data_frame() in R: Rownames to Term Column</title>
    <link href="https://r-statistics.co/broom-fix_data_frame-in-R.html"/>
    <id>https://r-statistics.co/broom-fix_data_frame-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use broom::fix_data_frame() in R to convert a coefficient matrix into a tidy data frame, renaming the columns and lifting the rownames into a term column.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom confint_tidy() in R: Tidy Model Confidence Intervals</title>
    <link href="https://r-statistics.co/broom-confint_tidy-in-R.html"/>
    <id>https://r-statistics.co/broom-confint_tidy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use broom::confint_tidy() in R to build a tidy tibble of conf.low and conf.high columns for any model whose confint() method works, ready for joining.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom Bootstrap in R: Tidy Resampled Estimates</title>
    <link href="https://r-statistics.co/broom-bootstrap-in-R.html"/>
    <id>https://r-statistics.co/broom-bootstrap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run bootstrap resampling in R and tidy the output with broom. Get tidy data frames of resampled coefficients ready for confidence intervals and ggplot.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom augment() in R: Add Predictions and Residuals</title>
    <link href="https://r-statistics.co/broom-augment-in-R.html"/>
    <id>https://r-statistics.co/broom-augment-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use broom::augment() in R to add fitted values, residuals, leverage, and cluster assignments to your data. Works on lm, glm, kmeans, and survival models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>broom Exercises in R: 20 Tidy Model Practice Problems</title>
    <link href="https://r-statistics.co/broom-Exercises-in-R.html"/>
    <id>https://r-statistics.co/broom-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 broom R exercises: tidy(), glance(), augment() for lm, glm, k-means, t.test, chisq.test. Real workflows, hidden solutions, verified outputs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>brms vs Stan vs JAGS in R: Which Bayesian Package Should You Use?</title>
    <link href="https://r-statistics.co/brms-vs-Stan-vs-JAGS-in-R.html"/>
    <id>https://r-statistics.co/brms-vs-Stan-vs-JAGS-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>brms vs Stan vs JAGS in R compared: how each specifies a Bayesian model, which sampler it runs, and a clear decision guide for choosing the right one.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>brms in R: Bayesian Regression Without Raw Stan</title>
    <link href="https://r-statistics.co/brms-in-R.html"/>
    <id>https://r-statistics.co/brms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>brms compiles R formula syntax into Stan code automatically. Fit Bayesian linear, logistic, and hierarchical regressions with lme4 syntax plus diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>brms Exercises in R: 8 Bayesian Regression Problems</title>
    <link href="https://r-statistics.co/brms-Exercises-in-R.html"/>
    <id>https://r-statistics.co/brms-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eight brms exercises in R with worked solutions: fit Bayesian regressions, set priors, read credible intervals, predict, and build hierarchical models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>var() in R: Sample Variance With NA and Covariance Handling</title>
    <link href="https://r-statistics.co/base-var-in-R.html"/>
    <id>https://r-statistics.co/base-var-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute sample variance with base R var(). Covers the n-1 denominator, na.rm, covariance matrices, population variance, pitfalls, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>vapply() in R: Type-Safe Apply With Guaranteed Output</title>
    <link href="https://r-statistics.co/base-vapply-in-R.html"/>
    <id>https://r-statistics.co/base-vapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R vapply() to apply a function with a type-safe output template. Covers FUN.VALUE, NA handling, vapply vs sapply, pitfalls, and five real examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>tapply() in R: Apply a Function by Grouping Factor</title>
    <link href="https://r-statistics.co/base-tapply-in-R.html"/>
    <id>https://r-statistics.co/base-tapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn tapply() in R to compute grouped summaries from a vector and one or more factors. See five patterns, comparisons to aggregate, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>sum() in R: Add Vector Elements With NA Handling</title>
    <link href="https://r-statistics.co/base-sum-in-R.html"/>
    <id>https://r-statistics.co/base-sum-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R sum() to add up the elements of one or more numeric vectors. Covers na.rm, integer overflow, the colSums alternative, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>strsplit() in R: Split Strings by a Delimiter</title>
    <link href="https://r-statistics.co/base-strsplit-in-R.html"/>
    <id>https://r-statistics.co/base-strsplit-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R strsplit() to split character vectors by a delimiter or regex. Covers list output, fixed = TRUE, unlist, stringr str_split alternative, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>sapply() in R: Apply a Function and Simplify the Result</title>
    <link href="https://r-statistics.co/base-sapply-in-R.html"/>
    <id>https://r-statistics.co/base-sapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R sapply() to apply a function to a list or vector and simplify the result. Covers vs lapply, simplify rules, USE.NAMES, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>rapply() in R: Recursively Apply Functions to Nested Lists</title>
    <link href="https://r-statistics.co/base-rapply-in-R.html"/>
    <id>https://r-statistics.co/base-rapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R rapply() to apply a function recursively to nested lists. Covers how arguments (replace, list, unlist), classes filter, and 5 real examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>range() in R: Find Min and Max in One Call</title>
    <link href="https://r-statistics.co/base-range-in-R.html"/>
    <id>https://r-statistics.co/base-range-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R range() to return min and max in one call. Covers na.rm, multi-vector input, plot axis limits, dates, normalization, and 3 common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>prod() in R: Multiply Vector Elements Into a Single Product</title>
    <link href="https://r-statistics.co/base-prod-in-R.html"/>
    <id>https://r-statistics.co/base-prod-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R prod() to multiply the elements of one or more numeric vectors. Covers na.rm, underflow, factorials, the cumprod alternative, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>paste() and paste0() in R: Concatenate Strings</title>
    <link href="https://r-statistics.co/base-paste-in-R.html"/>
    <id>https://r-statistics.co/base-paste-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R paste() and paste0() to concatenate strings or vectors in R. Covers sep, collapse, vectorized behavior, sprintf alternative, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mode in R: Find the Most Common Value With Base R</title>
    <link href="https://r-statistics.co/base-mode-in-R.html"/>
    <id>https://r-statistics.co/base-mode-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Find the statistical mode in R using base R. tabulate() with which.max() returns the most common value. Covers ties, factors, NA handling, 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>min() in R: Find the Smallest Value With NA Handling</title>
    <link href="https://r-statistics.co/base-min-in-R.html"/>
    <id>https://r-statistics.co/base-min-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R min() to find the smallest value of a numeric vector. Covers na.rm, pmin() for element-wise minima, which.min() for the index, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>median() in R: Find the Middle Value of a Numeric Vector</title>
    <link href="https://r-statistics.co/base-median-in-R.html"/>
    <id>https://r-statistics.co/base-median-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R median() to find the middle value of a numeric vector. Covers na.rm handling, even and odd length, outlier robustness, group medians, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>mean() in R: Arithmetic Mean With Trim and NA Handling</title>
    <link href="https://r-statistics.co/base-mean-in-R.html"/>
    <id>https://r-statistics.co/base-mean-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R mean() to compute the arithmetic average of a numeric vector. Covers na.rm, trim for trimmed means, weighted alternatives, pitfalls, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>max() in R: Find the Largest Value With NA Handling</title>
    <link href="https://r-statistics.co/base-max-in-R.html"/>
    <id>https://r-statistics.co/base-max-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R max() to find the largest value of a numeric vector. Covers na.rm, pmax() for element-wise maxima, which.max() for the index, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>mapply() in R: Apply a Function Over Multiple Arguments</title>
    <link href="https://r-statistics.co/base-mapply-in-R.html"/>
    <id>https://r-statistics.co/base-mapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R mapply() to apply a function in parallel across multiple vectors or lists. Covers syntax, 5 examples, mapply vs Map, SIMPLIFY, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lapply() in R: Apply a Function to a List or Vector</title>
    <link href="https://r-statistics.co/base-lapply-in-R.html"/>
    <id>https://r-statistics.co/base-lapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R lapply() to apply a function to every element of a list or vector and get a list back. Covers vs sapply, vs map, FUN argument, 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ifelse() in R: Vectorized Conditional</title>
    <link href="https://r-statistics.co/base-ifelse-in-R.html"/>
    <id>https://r-statistics.co/base-ifelse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R ifelse() to apply a vectorized conditional across a vector. Covers syntax, NA handling, dplyr if_else, case_when alternatives, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>gsub() in R: Replace All Pattern Matches</title>
    <link href="https://r-statistics.co/base-gsub-in-R.html"/>
    <id>https://r-statistics.co/base-gsub-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R gsub() to replace all regex matches in a character vector. Covers gsub vs sub, fixed = TRUE, backreferences, and 5 worked replacement examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>grep() and grepl() in R: Search Strings With Patterns</title>
    <link href="https://r-statistics.co/base-grep-grepl-in-R.html"/>
    <id>https://r-statistics.co/base-grep-grepl-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R grep() and grepl() to search character vectors for regex or literal matches. Covers ignore.case, fixed, perl, value, invert, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>eapply() in R: Apply Functions to Environment Variables</title>
    <link href="https://r-statistics.co/base-eapply-in-R.html"/>
    <id>https://r-statistics.co/base-eapply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R eapply() to apply a function to every variable in an environment. Covers FUN, all.names, USE.NAMES, real examples, and apply-family comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>apply() in R: Apply a Function Over Matrix Rows or Columns</title>
    <link href="https://r-statistics.co/base-apply-in-R.html"/>
    <id>https://r-statistics.co/base-apply-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R apply() to run a function over rows (MARGIN=1) or columns (MARGIN=2) of a matrix or data frame. Covers MARGIN, simplification, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Reduce() in R: Fold a Function Over a List or Vector</title>
    <link href="https://r-statistics.co/base-Reduce-in-R.html"/>
    <id>https://r-statistics.co/base-Reduce-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R Reduce() to fold a function across a list or vector. Covers accumulate, init, right=TRUE, and purrr::reduce, with six worked code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Recall() in R: Recursion Without the Function Name</title>
    <link href="https://r-statistics.co/base-Recall-in-R.html"/>
    <id>https://r-statistics.co/base-Recall-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R Recall() to make a function call itself without naming it. Covers anonymous recursion, rename-safe factorials, pitfalls, and Recall vs sys.function.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>base Position() in R: Find Index of First Match</title>
    <link href="https://r-statistics.co/base-Position-in-R.html"/>
    <id>https://r-statistics.co/base-Position-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>base Position() in R returns the index of the first vector or list element that satisfies a predicate. Syntax, examples, and which() vs match() vs Find().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>base Map() in R: Zip Lists and Apply a Function in Parallel</title>
    <link href="https://r-statistics.co/base-Map-in-R.html"/>
    <id>https://r-statistics.co/base-Map-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R Map() to apply a function in parallel across multiple lists or vectors and always get a list back. Syntax, 5 examples, Map vs mapply, pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>base Find() in R: Return First Element Matching a Predicate</title>
    <link href="https://r-statistics.co/base-Find-in-R.html"/>
    <id>https://r-statistics.co/base-Find-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>base R Find() returns the first list or vector element matching a predicate. See syntax, six patterns, Find vs Filter vs Position, and common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Filter() in R: Keep List Elements That Match a Predicate</title>
    <link href="https://r-statistics.co/base-Filter-in-R.html"/>
    <id>https://r-statistics.co/base-Filter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use base R Filter() to keep list or vector elements where a predicate returns TRUE. Covers Negate, Find, Position, subset, purrr::keep with 6 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>auto.arima() in R: How It Works and When to Override It</title>
    <link href="https://r-statistics.co/auto-arima-in-R.html"/>
    <id>https://r-statistics.co/auto-arima-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>See how auto.arima() in R uses KPSS tests and AICc to pick an ARIMA model, how its stepwise search works, and the four cases where you should override it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>arrow write_parquet() in R: Save Data Frames to Parquet</title>
    <link href="https://r-statistics.co/arrow-write_parquet-in-R.html"/>
    <id>https://r-statistics.co/arrow-write_parquet-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn arrow write_parquet() in R to save data frames as Parquet files. Covers syntax, compression codecs, type preservation, and write_csv differences.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>arrow read_parquet() in R: Read Parquet Files Fast</title>
    <link href="https://r-statistics.co/arrow-read_parquet-in-R.html"/>
    <id>https://r-statistics.co/arrow-read_parquet-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn arrow read_parquet() in R to load Parquet files fast. Covers syntax, col_select for column pruning, type preservation, read_csv differences, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>arrow read_feather() in R: Read Feather Files Fast</title>
    <link href="https://r-statistics.co/arrow-read_feather-in-R.html"/>
    <id>https://r-statistics.co/arrow-read_feather-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn arrow read_feather() in R to load Feather and Arrow IPC files fast. Covers syntax, col_select, type preservation, Feather vs Parquet, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>arrow open_dataset() in R: Query Multi-File Datasets</title>
    <link href="https://r-statistics.co/arrow-open_dataset-in-R.html"/>
    <id>https://r-statistics.co/arrow-open_dataset-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn arrow open_dataset() in R to query large multi-file Parquet and CSV datasets lazily. Covers syntax, partitioning, dplyr queries, collect(), and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Zero-Inflation in Peer Review</title>
    <link href="https://r-statistics.co/Zero-Inflation-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Zero-Inflation-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your count outcome has too many zeros or needs a zero-inflated model. Check whether the zeros exceed what your model expects, then reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Zero-Inflated and Hurdle Models in R With pscl</title>
    <link href="https://r-statistics.co/Zero-Inflated-and-Hurdle-Models-in-R.html"/>
    <id>https://r-statistics.co/Zero-Inflated-and-Hurdle-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit zero-inflated and hurdle models in R with the pscl package. Diagnose excess zeros, interpret zeroinfl() and hurdle() output, and choose between them.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Zero-Inflated Models in R: ZIP &amp; ZINB with pscl Package</title>
    <link href="https://r-statistics.co/Zero-Inflated-Models-in-R.html"/>
    <id>https://r-statistics.co/Zero-Inflated-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit zero-inflated Poisson and negative binomial regression in R with pscl::zeroinfl(). Model excess zeros, compare ZIP vs ZINB vs hurdle, predict counts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Zero-Inflated and Hurdle Models in R</title>
    <link href="https://r-statistics.co/Zero-Inflated-Hurdle-Models-in-R.html"/>
    <id>https://r-statistics.co/Zero-Inflated-Hurdle-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to model count data with too many zeros in R. Fit zero-inflated (ZIP, ZINB) and hurdle models with pscl, interpret both parts, and pick the best.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Zero-Inflated Distributions in R: Excess Zeros</title>
    <link href="https://r-statistics.co/Zero-Inflated-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Zero-Inflated-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Count data with excess zeros? Fit zero-inflated Poisson and negative binomial models in R with pscl::zeroinfl(). Diagnose, interpret, and compare models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Z-Scores and Percentiles in R</title>
    <link href="https://r-statistics.co/Z-Scores-and-Percentiles-in-R.html"/>
    <id>https://r-statistics.co/Z-Scores-and-Percentiles-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn z-scores and percentiles in R from scratch: standardize data with scale(), rank values using quantile() and ecdf(), and convert z-scores to percentiles.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Gradient Boosting for Time Series in R: xgboost vs the Classics</title>
    <link href="https://r-statistics.co/XGBoost-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/XGBoost-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit gradient boosted trees to a time series in R, see why they flat-line on a trend, fix it with a growth target, and score them honestly against ETS and ARIMA.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>XGBoost Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/XGBoost-Exercises-in-R.html"/>
    <id>https://r-statistics.co/XGBoost-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty XGBoost in R exercises with hidden solutions: regression, classification, early stopping, tuning, regularization, feature importance, SHAP, deployment.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Composable R Code: Design Functions That Chain Together Like Unix Pipes</title>
    <link href="https://r-statistics.co/Writing-Composable-R-Code.html"/>
    <id>https://r-statistics.co/Writing-Composable-R-Code.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to design composable R functions: small, single-purpose, data-first, type-stable, side-effect free. Chain them with pipes and purrr beautifully.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Write Your Own ggplot2 Geom and Stat</title>
    <link href="https://r-statistics.co/Write-a-ggplot2-Extension-in-R.html"/>
    <id>https://r-statistics.co/Write-a-ggplot2-Extension-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to build custom ggplot2 layers by writing your own geom and stat with ggproto. A step-by-step R guide from the layer pipeline to a working extension.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Wilcoxon Signed-Rank Test in R (Worked Example)</title>
    <link href="https://r-statistics.co/Wilcoxon-Signed-Rank-Test-in-R.html"/>
    <id>https://r-statistics.co/Wilcoxon-Signed-Rank-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a Wilcoxon signed-rank test in R for paired or one-sample data without normality. Code, output interpretation, effect size, ties, and reporting tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Wilcoxon vs Mann-Whitney vs Kruskal-Wallis in R</title>
    <link href="https://r-statistics.co/Wilcoxon-Mann-Whitney-and-Kruskal-Wallis-in-R.html"/>
    <id>https://r-statistics.co/Wilcoxon-Mann-Whitney-and-Kruskal-Wallis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>When data is skewed or your sample is too small to trust normality, rank-based tests give valid p-values. Learn which non-parametric test to use in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Which Statistical Test in R? A Decision Flowchart That Answers in 5 Questions</title>
    <link href="https://r-statistics.co/Which-Statistical-Test-in-R.html"/>
    <id>https://r-statistics.co/Which-Statistical-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Answer 5 questions about your data and this decision flowchart maps you to the correct R statistical test, with runnable code and effect-size guidance.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Which Regression Model in R? A Decision Framework From Data Type to Final Choice</title>
    <link href="https://r-statistics.co/Which-Regression-Model-in-R.html"/>
    <id>https://r-statistics.co/Which-Regression-Model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Outcome type, distribution, and research question jointly determine the right regression. This guide maps every combination to its R function and assumptions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Which Effect Size to Report, and When</title>
    <link href="https://r-statistics.co/Which-Effect-Size-to-Report-and-When.html"/>
    <id>https://r-statistics.co/Which-Effect-Size-to-Report-and-When.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Effect size is a family, not one number. How to choose between a raw difference, Cohen's d, an odds ratio or a standardized beta, and report the right one.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Which Distribution When: A Field Guide in R</title>
    <link href="https://r-statistics.co/Which-Distribution-When-in-R.html"/>
    <id>https://r-statistics.co/Which-Distribution-When-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A field guide to choosing the right probability distribution in R. Answer 3 questions, then match your data to the Normal, Poisson, Gamma, Beta and more.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>When to Use Nonparametric Tests in R: Decision Guide with Flowchart</title>
    <link href="https://r-statistics.co/When-to-Use-Nonparametric-Tests-in-R.html"/>
    <id>https://r-statistics.co/When-to-Use-Nonparametric-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A practical decision guide for choosing nonparametric tests in R: when to use them, the flowchart, and runnable code for Wilcoxon, Kruskal-Wallis, and more.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>What p-Values Mean (and What They Never Meant)</title>
    <link href="https://r-statistics.co/What-p-Values-Mean.html"/>
    <id>https://r-statistics.co/What-p-Values-Mean.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A plain-English guide to what a p-value really means, built from scratch in R by simulation, plus the misconceptions it never meant and what to report instead.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>What Statistics Is For: Questions, Evidence, Decisions</title>
    <link href="https://r-statistics.co/What-Statistics-Is-For.html"/>
    <id>https://r-statistics.co/What-Statistics-Is-For.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Statistics turns questions into decisions using evidence. Learn what statistics is for with beginner-friendly, runnable R examples on data and uncertainty.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probability in R: Build Genuine Intuition Through Simulation, Before Any Formula</title>
    <link href="https://r-statistics.co/What-Is-Probability-Simulation-First-Intuition-in-R-Before-the-Formulas.html"/>
    <id>https://r-statistics.co/What-Is-Probability-Simulation-First-Intuition-in-R-Before-the-Formulas.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn probability in R through simulation: roll dice, flip coins, watch frequencies converge to true probabilities. Build genuine intuition before any formula.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Welch's ANOVA in R: When Group Variances Are Unequal</title>
    <link href="https://r-statistics.co/Welchs-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Welchs-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run Welch's ANOVA in R with oneway.test() when group variances are unequal. Learn when to use it, verify assumptions, and run Games-Howell post-hoc tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Weighted Least Squares in R: When and How (Example)</title>
    <link href="https://r-statistics.co/Weighted-Least-Squares-in-R.html"/>
    <id>https://r-statistics.co/Weighted-Least-Squares-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use weighted least squares (WLS) in R to fix heteroscedasticity. Three weighting strategies with lm() weights, plus before/after residual diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Weibull, Log-Normal &amp; Uniform Distributions in R: Survival &amp; Reliability</title>
    <link href="https://r-statistics.co/Weibull-Log-Normal-and-Uniform-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Weibull-Log-Normal-and-Uniform-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Weibull, log-normal, and uniform distributions in R for survival, reliability, and simulation, with practical d/p/q/r examples and clear intuition.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Web Scraping in R With rvest, in 10 Minutes</title>
    <link href="https://r-statistics.co/Web-Scraping-in-R-with-rvest.html"/>
    <id>https://r-statistics.co/Web-Scraping-in-R-with-rvest.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Scrape websites in R with rvest: read_html(), html_elements(), html_table(), CSS selectors, pagination, and polite scraping with robotstxt.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Web Scraping Exercises in R: 16 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Web-Scraping-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Web-Scraping-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sixteen practice problems on web scraping in R with rvest: CSS selectors, tables, attributes, forms, pagination, polite scraping. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Waffle Chart in R: Display Proportions as a Grid of Squares</title>
    <link href="https://r-statistics.co/Waffle-Chart-in-R.html"/>
    <id>https://r-statistics.co/Waffle-Chart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create waffle charts in R with the waffle package and geom_waffle(). Learn to encode proportions as unit squares, customize colors, create icon arrays, and use facets for comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Volatility Modeling with ARCH and GARCH in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Volatility-Modeling-ARCH-and-GARCH-Course.html"/>
    <id>https://r-statistics.co/Volatility-Modeling-ARCH-and-GARCH-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn volatility modeling in R across six interactive lessons: volatility clustering, ARCH models, the GARCH family, fitting GARCH with tseries and fGarch, forecasting volatility and Value at Risk, and multivariate DCC-GARCH.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Visualizing Uncertainty in R: Intervals, Bands and ggdist</title>
    <link href="https://r-statistics.co/Visualizing-Uncertainty-in-R.html"/>
    <id>https://r-statistics.co/Visualizing-Uncertainty-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Show uncertainty in R the right way: error bars, point-intervals, confidence bands and ggdist. A clear ggplot2 guide with runnable examples from scratch.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Visualize Time Series in R: autoplot(), Seasonal, Lag Plots</title>
    <link href="https://r-statistics.co/Visualize-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Visualize-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Visualize time series in R with autoplot(), season and subseries plots, lag plots and ACF. See trend, seasonality and autocorrelation before you model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Violin Plot in R: Draw, Customize, and Combine with Boxplots</title>
    <link href="https://r-statistics.co/Violin-Plot-in-R.html"/>
    <id>https://r-statistics.co/Violin-Plot-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create violin plots in R with ggplot2's geom_violin(). Learn to show distribution shape, embed boxplots, adjust bandwidth, split violins, and choose when to use them over boxplots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Variational Bayes in R: Fast Approximate Inference</title>
    <link href="https://r-statistics.co/Variational-Bayes-in-R.html"/>
    <id>https://r-statistics.co/Variational-Bayes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Variational Bayes in R swaps MCMC sampling for optimization to approximate a posterior fast. Build CAVI from scratch, then fit variational models with rstanarm.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>VAR Models in R: Multivariate Time Series Forecasting</title>
    <link href="https://r-statistics.co/VAR-Models-in-R.html"/>
    <id>https://r-statistics.co/VAR-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit VAR models in R: check stationarity, pick the lag order with VARselect, test Granger causality, read impulse responses, and forecast several series.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>UpSet Plot in R: Set Intersections Beyond Venn</title>
    <link href="https://r-statistics.co/UpSet-Plot-in-R.html"/>
    <id>https://r-statistics.co/UpSet-Plot-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create UpSet plots in R with the UpSetR package. Learn to visualize set intersections for many groups, read the intersection matrix, sort by frequency, and when UpSet beats Venn diagrams.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Unplanned Subgroup Analyses in Peer Review</title>
    <link href="https://r-statistics.co/Unplanned-Subgroup-Analyses-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Unplanned-Subgroup-Analyses-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your subgroup analysis was not pre-specified. What the objection means, how to test a subgroup difference in R, and how to word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Univariate EDA in R: Check Every Variable First</title>
    <link href="https://r-statistics.co/Univariate-EDA-in-R.html"/>
    <id>https://r-statistics.co/Univariate-EDA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Analyze each variable before modelling: check distribution shape, spot outliers, assess missing data, and choose transformations. Interactive R code included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Unequal Variance in Peer Review</title>
    <link href="https://r-statistics.co/Unequal-Variance-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Unequal-Variance-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your groups have unequal variances. How to test homogeneity of variance in R, decide whether it threatens your result, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Unadjusted Confounding in Peer Review</title>
    <link href="https://r-statistics.co/Unadjusted-Confounding-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Unadjusted-Confounding-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says you did not adjust for confounding. How to check whether a confounder actually moved your estimate in R, fix it if it did, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>UMVUE in R: Rao-Blackwell Theorem &amp; Lehmann-Scheffé Theorem</title>
    <link href="https://r-statistics.co/UMVUE-in-R.html"/>
    <id>https://r-statistics.co/UMVUE-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn UMVUE in R: use the Rao-Blackwell theorem to sharpen unbiased estimators via conditional expectation, then Lehmann-Scheffé to prove one is best.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>UMVUE Explained Step by Step (Worked Examples in R)</title>
    <link href="https://r-statistics.co/UMVUE-in-R-2.html"/>
    <id>https://r-statistics.co/UMVUE-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The UMVUE explained with worked solutions: the UMVUE of mu^2 for a normal mean is xbar^2 - s^2/n, via Rao-Blackwell and Lehmann-Scheffe, checked in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Types of Data in Statistics: Categorical to Continuous</title>
    <link href="https://r-statistics.co/Types-of-Data-in-Statistics.html"/>
    <id>https://r-statistics.co/Types-of-Data-in-Statistics.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the types of data in statistics, from categorical and ordinal to discrete and continuous, with clear examples and runnable R code you try in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Type I vs Type II Errors: See the Trade-Off in R</title>
    <link href="https://r-statistics.co/Type-I-and-Type-II-Errors-in-R.html"/>
    <id>https://r-statistics.co/Type-I-and-Type-II-Errors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Every hypothesis test trades Type I errors (α) against Type II errors (β). Visualise both in R, and see how α, sample size, and effect size shape power.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Two-Way ANOVA in R: Interactions, Interpreted</title>
    <link href="https://r-statistics.co/Two-Way-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Two-Way-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit two-way ANOVA in R with aov(y ~ A * B). Interpret main effects, the interaction, Type I/II/III SS, and plot results using interaction.plot and emmeans.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Trending Toward Significance in Peer Review</title>
    <link href="https://r-statistics.co/Trending-Toward-Significance-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Trending-Toward-Significance-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your result is not a trend, just a non-significant p-value. How to tell a real trend from a trend toward significance in R and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Treemap in R with treemapify and ggplot2</title>
    <link href="https://r-statistics.co/Treemap-in-R.html"/>
    <id>https://r-statistics.co/Treemap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create treemaps in R using the treemapify package with ggplot2. Learn geom_treemap(), text labels, subgroup hierarchies, color encoding, and when treemaps beat bar charts for proportional data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Top 25 Regression Problems to Solve in R</title>
    <link href="https://r-statistics.co/Top-25-Regression-Problems-in-R.html"/>
    <id>https://r-statistics.co/Top-25-Regression-Problems-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Regression practice problems in R: 25 worked exercises on lm fitting, coefficient interpretation, residual diagnostics, prediction intervals and model comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Top 20 Time Series Problems to Solve in R</title>
    <link href="https://r-statistics.co/Top-20-Time-Series-Problems-in-R.html"/>
    <id>https://r-statistics.co/Top-20-Time-Series-Problems-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty time series problems in R with base stats: ts objects, decomposition, ACF/PACF, differencing, naive and drift forecasts, and reading an ARIMA fit.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Top 20 Bayesian Problems to Solve in R</title>
    <link href="https://r-statistics.co/Top-20-Bayesian-Problems-in-R.html"/>
    <id>https://r-statistics.co/Top-20-Bayesian-Problems-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bayesian statistics problems in R: 20 worked exercises on prior-to-posterior updating, Beta-Binomial conjugacy, credible intervals and Monte Carlo sampling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Too Many Predictors in Peer Review</title>
    <link href="https://r-statistics.co/Too-Many-Predictors-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Too-Many-Predictors-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your model has too many predictors for the sample size and is overfit. Count the coefficients, measure the optimism gap, then word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Tobit Regression in R: AER Package for Censored Outcomes</title>
    <link href="https://r-statistics.co/Tobit-Regression-in-R.html"/>
    <id>https://r-statistics.co/Tobit-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Tobit regression in R with the AER package: fit censored models, interpret coefficients, compare OLS vs Tobit, and handle left or right censoring.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series in R Exercises: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Time-Series-in-R-Exercises.html"/>
    <id>https://r-statistics.co/Time-Series-in-R-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fifty time series in R exercises covering ts objects, decomposition, stationarity, ACF, ARIMA, smoothing and forecast backtesting. Hidden solutions included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Box-Cox and Transformations for Time Series in R</title>
    <link href="https://r-statistics.co/Time-Series-Transformations-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Transformations-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Box-Cox and log transformations for time series in R. Choose lambda with guerrero, forecast on the transformed scale, and back-transform without bias.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Regression in R: TSLM and Spurious Regression</title>
    <link href="https://r-statistics.co/Time-Series-Regression-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit time series regression in R with TSLM, trend() and season(). See why two unrelated trending series look correlated, how to detect it, and how to fix it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Regression in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Time-Series-Regression-Course.html"/>
    <id>https://r-statistics.co/Time-Series-Regression-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn time series regression in R across six interactive lessons: TSLM(), trend and seasonal dummies, Fourier terms, useful predictors, predictor selection, and spurious regression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Objects in R: ts, xts, zoo, or tsibble?</title>
    <link href="https://r-statistics.co/Time-Series-Objects-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Objects-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R has four time series classes: ts, xts, zoo and tsibble. See how each one stores time, why ts silently mis-dates gapped data, and which to choose.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Foundations in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Time-Series-Foundations-Course.html"/>
    <id>https://r-statistics.co/Time-Series-Foundations-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn time series foundations in R across eight interactive lessons: tsibble, decomposition, seasonal plots, the ACF, train/test splits, and benchmark forecasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Features with feasts: Fingerprint Thousands of Series</title>
    <link href="https://r-statistics.co/Time-Series-Features-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Features-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Time series features in R with feasts: collapse thousands of series into one tidy table, read trend and seasonal strength, and route each series to a model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Exercises in R: 30 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Time-Series-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Thirty time series exercises in R covering ts objects, decomposition, ARIMA, ETS, stationarity, and forecast evaluation. Hidden solutions, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series EDA in R: Trend, Seasonality, Autocorrelation</title>
    <link href="https://r-statistics.co/Time-Series-EDA-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-EDA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A hands-on time series EDA workflow in R: plot it, measure the trend, detect seasonality, decompose with stl(), and read the ACF for leftover structure.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Decomposition in R: STL vs Classical</title>
    <link href="https://r-statistics.co/Time-Series-Decomposition-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Decomposition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Decomposition splits a time series into trend, seasonal and remainder. Compare STL and classical decomposition in R on real data, and see which to use.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Decomposition Exercises in R: 50 Problems</title>
    <link href="https://r-statistics.co/Time-Series-Decomposition-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Decomposition-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fifty time series decomposition exercises in R covering decompose(), STL, moving-average trends, seasonal adjustment and remainder diagnostics. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Decomposition in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Time-Series-Decomposition-Course.html"/>
    <id>https://r-statistics.co/Time-Series-Decomposition-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn time series decomposition in R across six interactive lessons: moving averages, classical and STL decomposition, seasonal adjustment, Box-Cox transforms, calendar adjustments and feature extraction with feasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Cross-Validation in R with tsCV()</title>
    <link href="https://r-statistics.co/Time-Series-Cross-Validation-in-R.html"/>
    <id>https://r-statistics.co/Time-Series-Cross-Validation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Ordinary cross-validation leaks the future into forecast tests. Learn how tsCV() in R uses a rolling forecast origin to score any model at any horizon.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Tidy Data: The One Rule That Makes R Code Readable, Reusable, and Debuggable</title>
    <link href="https://r-statistics.co/Tidy-Data-in-R.html"/>
    <id>https://r-statistics.co/Tidy-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tidy data has one observation per row, one variable per column, one observation type per table. Learn the three rules and how to fix untidy data in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>TAR and STAR Models in R: Threshold Autoregression</title>
    <link href="https://r-statistics.co/Threshold-ARMA-TARSTAR-in-R.html"/>
    <id>https://r-statistics.co/Threshold-ARMA-TARSTAR-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>TAR and STAR models in R from scratch: grid search the threshold, bootstrap the linearity test, fit SETAR and LSTAR, then forecast by simulation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Three-Way ANOVA in R: Higher-Order Factorial Designs</title>
    <link href="https://r-statistics.co/Three-Way-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Three-Way-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit three-way ANOVA in R with aov(y ~ A*B*C). Interpret the three-way interaction, decompose it via simple two-way effects, and handle factorial designs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The p-Value Controversy in R: What's Wrong with NHST &amp; What to Do Instead</title>
    <link href="https://r-statistics.co/The-p-Value-Controversy.html"/>
    <id>https://r-statistics.co/The-p-Value-Controversy.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Unpack the p-value controversy in R: common NHST misinterpretations, sample-size traps, and practical alternatives, effect sizes, CIs, and Bayes factors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Normal Distribution in R: Where It Comes From</title>
    <link href="https://r-statistics.co/The-Normal-Distribution-Explained-in-R.html"/>
    <id>https://r-statistics.co/The-Normal-Distribution-Explained-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand the normal distribution in R from scratch: see where the bell curve comes from, then use dnorm, pnorm, qnorm, rnorm and the 68-95-99.7 rule.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Exponential Distribution in R, Explained</title>
    <link href="https://r-statistics.co/The-Exponential-Distribution-in-R.html"/>
    <id>https://r-statistics.co/The-Exponential-Distribution-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The exponential distribution in R: use dexp, pexp, qexp, rexp to model waiting times. Master the memoryless property and the link to survival analysis.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Expert Edge in Forecasting Like a Pro: An Interactive Course</title>
    <link href="https://r-statistics.co/The-Expert-Edge-Forecasting-Like-a-Pro-Course.html"/>
    <id>https://r-statistics.co/The-Expert-Edge-Forecasting-Like-a-Pro-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to test and trust a forecasting process in R across seven interactive lessons: rolling-origin backtests without leakage, conformal prediction intervals, intermittent demand, forecast value added, scaled error metrics, judgmental adjustments, and prediction interval coverage.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Text Mining Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Text-Mining-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Text-Mining-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty text mining exercises in R: tokenization, regex extraction, stop-words, n-grams, tf-idf, sentiment. Hidden solutions, real datasets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Test Stationarity in R: ADF, KPSS, and Differencing</title>
    <link href="https://r-statistics.co/Test-Stationarity-in-R.html"/>
    <id>https://r-statistics.co/Test-Stationarity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Most time series models require stationarity. Run the ADF and KPSS tests in R, pick the right number of differences with ndiffs(), and verify the result.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Take-Home Assignment Simulator: One Dataset, 15 Graded Steps</title>
    <link href="https://r-statistics.co/Take-Home-Assignment-Simulator.html"/>
    <id>https://r-statistics.co/Take-Home-Assignment-Simulator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A data science take-home assignment practiced in R: clean one messy orders dataset across 15 graded steps, from type fixes to a regression and headline metrics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Tail Call Optimization in R: Recursive Functions Without Stack Overflow</title>
    <link href="https://r-statistics.co/Tail-Call-Optimization-in-R.html"/>
    <id>https://r-statistics.co/Tail-Call-Optimization-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how tail call optimization works in R using Tailcall(), trampolines, and accumulators. Write deep recursive functions that never hit stack overflow.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>TBATS in R: Forecast Multiple Seasonalities</title>
    <link href="https://r-statistics.co/TBATS-Model-in-R.html"/>
    <id>https://r-statistics.co/TBATS-Model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit TBATS models in R with the forecast package. Handle daily, weekly and non-integer seasonal cycles, decode the model string, and benchmark against ARIMA.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The t-test in R: A Hands-On Interactive Lesson</title>
    <link href="https://r-statistics.co/T-Test-Course.html"/>
    <id>https://r-statistics.co/T-Test-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the t-test from scratch in one interactive lesson: why sample means wobble, the standard error, the t-statistic, p-values, effect size, and t.test() in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Synthetic Data Generation in R: Protect Privacy While Testing Models</title>
    <link href="https://r-statistics.co/Synthetic-Data-in-R.html"/>
    <id>https://r-statistics.co/Synthetic-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Generate synthetic data in R using synthpop, simulated distributions, and GANs. Protect privacy while preserving statistical properties for testing.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Survival Analysis Exercises in R: 18 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Survival-Analysis-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Survival-Analysis-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eighteen survival analysis practice problems in R: Kaplan-Meier curves, log-rank tests, Cox proportional hazards, residual diagnostics, and parametric models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Survey Package R Exercises: 20 Complex-Survey Practice Problems</title>
    <link href="https://r-statistics.co/Survey-Analysis-in-R-Exercises.html"/>
    <id>https://r-statistics.co/Survey-Analysis-in-R-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty survey package R exercises: svydesign, svymean, svyby, svyglm, post-stratification, raking, replicate weights. Hidden solutions, real output.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Capstone: A Survey Analysis End to End in R</title>
    <link href="https://r-statistics.co/Survey-Analysis-Capstone-in-R.html"/>
    <id>https://r-statistics.co/Survey-Analysis-Capstone-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Analyze survey data end to end in R: post-stratification weighting, Likert diverging bars, Cronbach's alpha, group tests with effect sizes, and the report.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>stat_summary in ggplot2: Means and CIs on the Plot</title>
    <link href="https://r-statistics.co/Summary-Statistics-on-Plots-in-R.html"/>
    <id>https://r-statistics.co/Summary-Statistics-on-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ggplot2 stat_summary() to layer group means, standard errors, and confidence intervals onto any plot, with runnable R code and clear, plain-English stats.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sufficient Statistics in R: Worked Examples</title>
    <link href="https://r-statistics.co/Sufficient-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Sufficient-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sufficient statistics in R explained with the Fisher-Neyman factorization theorem. Worked R examples for Bernoulli, Poisson, normal, exponential, uniform.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sufficient Statistics Explained: Fisher-Neyman in R</title>
    <link href="https://r-statistics.co/Sufficiency-in-Statistics.html"/>
    <id>https://r-statistics.co/Sufficiency-in-Statistics.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sufficient statistics explained: the factorization theorem, why (xbar, s^2) is complete sufficient for the normal, and the multinomial counts vector.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Study Design Types: RCT, Cohort, Case-Control</title>
    <link href="https://r-statistics.co/Study-Design-Types-RCT-Cohort-Case-Control.html"/>
    <id>https://r-statistics.co/Study-Design-Types-RCT-Cohort-Case-Control.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Choosing between an RCT, cohort, or case-control study? How each study design fixes the effect measure you can report, what reviewers ask, and how to report it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Structural Time Series in R with bsts</title>
    <link href="https://r-statistics.co/Structural-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Structural-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn structural time series in R: split a series into level, trend and seasonal states, fit them with StructTS and bsts, and forecast with real uncertainty.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Statistics Interview Questions in R: 25 Solved Problems</title>
    <link href="https://r-statistics.co/Statistics-Interview-Questions.html"/>
    <id>https://r-statistics.co/Statistics-Interview-Questions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Statistics interview questions solved in R: p-values, confidence intervals, power, A/B testing pitfalls, and regression, framed the way data science interviews ask them.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Statistical vs Practical Significance in R</title>
    <link href="https://r-statistics.co/Statistical-vs-Practical-Significance.html"/>
    <id>https://r-statistics.co/Statistical-vs-Practical-Significance.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Statistical significance says an effect is real; practical significance asks if it matters. Tell them apart in R with effect size and confidence intervals.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Significance Brackets on ggplot2 Charts: ggsignif, ggpubr</title>
    <link href="https://r-statistics.co/Statistical-Significance-on-Plots-in-R.html"/>
    <id>https://r-statistics.co/Statistical-Significance-on-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add significance brackets and p-values to ggplot2 charts in R with ggsignif and ggpubr. Compare groups, pick the right test, and show adjusted p-values.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Write Statistical Reports in R That Non-Statisticians Actually Understand</title>
    <link href="https://r-statistics.co/Statistical-Report-Writing-in-R.html"/>
    <id>https://r-statistics.co/Statistical-Report-Writing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to translate R output into clear prose -- report effect sizes not just p-values, build tables that show uncertainty, and write reproducible methods.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Power Analysis in R: Find the Sample Size You Need</title>
    <link href="https://r-statistics.co/Statistical-Power-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Statistical-Power-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Power analysis shows how many observations you need to detect an effect of a given size. Use the pwr package for t-tests, ANOVA, correlation, and regression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Statistical Consulting in R: A Problem-Solving Framework That Works Every Time</title>
    <link href="https://r-statistics.co/Statistical-Consulting-in-R.html"/>
    <id>https://r-statistics.co/Statistical-Consulting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Translate a client's vague question into a well-posed statistical problem. Learn the PPDAC cycle, scoping, expectation management, and clear reports in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>State Space Models and the Kalman Filter in R: An Interactive Course</title>
    <link href="https://r-statistics.co/State-Space-Models-and-the-Kalman-Filter-Course.html"/>
    <id>https://r-statistics.co/State-Space-Models-and-the-Kalman-Filter-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn state space models and the Kalman filter in R across seven interactive lessons: the observation and state equations, filtering and smoothing, local level and local linear trend models, structural time series, Bayesian structural models, dynamic linear models, and time-varying parameters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Standardized vs Unstandardized Coefficients: A Guide</title>
    <link href="https://r-statistics.co/Standardized-vs-Unstandardized-Coefficients-in-R.html"/>
    <id>https://r-statistics.co/Standardized-vs-Unstandardized-Coefficients-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn when to use standardized vs unstandardized regression coefficients in R, with lm(), scale(), lm.beta(), clear examples, decision rules, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Stan in R: Your First Bayesian Model With cmdstanr</title>
    <link href="https://r-statistics.co/Stan-in-R.html"/>
    <id>https://r-statistics.co/Stan-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Install cmdstanr, write a Bayesian model in the Stan language, compile it, sample from it, and verify convergence end to end. The recommended Stan path for R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spectral and Frequency Domain Analysis in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Spectral-and-Frequency-Domain-Analysis-Course.html"/>
    <id>https://r-statistics.co/Spectral-and-Frequency-Domain-Analysis-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn frequency-domain time series analysis in R across five interactive lessons: the periodogram, spectral density estimation, low-pass, high-pass and band-pass filters, hidden periodicities and wavelets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spectral Decomposition in R: eigen() in Action</title>
    <link href="https://r-statistics.co/Spectral-Decomposition-in-R.html"/>
    <id>https://r-statistics.co/Spectral-Decomposition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn spectral decomposition in R: diagonalise a symmetric matrix with eigen(), reconstruct A = QΛQᵀ, and compute matrix powers like A^10 in seconds.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spectral Analysis in R: Periodogram and Power Spectrum</title>
    <link href="https://r-statistics.co/Spectral-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Spectral-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn spectral analysis in R: read a periodogram, find the dominant cycle with fft() and spec.pgram(), smooth the power spectrum, and remove a seasonal cycle.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spearman and Kendall Correlation in R: When and How</title>
    <link href="https://r-statistics.co/Spearman-and-Kendall-Correlation-in-R.html"/>
    <id>https://r-statistics.co/Spearman-and-Kendall-Correlation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Spearman rho and Kendall tau in R with cor.test(): rank mechanics, concordant pair counting, ties handling, p-values, bootstrap CIs, and how to choose.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spatial Data in R With sf: Maps From Shapefiles</title>
    <link href="https://r-statistics.co/Spatial-Data-in-R-with-sf.html"/>
    <id>https://r-statistics.co/Spatial-Data-in-R-with-sf.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The sf package brings tidy spatial data to R. Read shapefiles with st_read(), transform CRS with st_transform(), and plot maps with geom_sf() in ggplot2.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Spatial Analysis Exercises in R: 15 Practice Problems</title>
    <link href="https://r-statistics.co/Spatial-Analysis-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Spatial-Analysis-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice spatial analysis in R with 15 hands-on problems: sf I/O, CRS reprojection, geometry ops, spatial joins, choropleth maps. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Solve Linear Systems in R: solve() and qr()</title>
    <link href="https://r-statistics.co/Solving-Linear-Systems-in-R.html"/>
    <id>https://r-statistics.co/Solving-Linear-Systems-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Solve linear systems in R with solve(), qr(), and least squares. Square, singular, and overdetermined Ax = b problems with runnable code and the lm() bridge.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Small Multiples in R: the 40-Tiny-Plots Workflow</title>
    <link href="https://r-statistics.co/Small-Multiples-in-R.html"/>
    <id>https://r-statistics.co/Small-Multiples-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build small multiples in R: turn one long table into dozens of tiny, comparable ggplot2 panels. Share scales, order panels, highlight one, and paginate cleanly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Singular Value Decomposition in R: svd() Explained</title>
    <link href="https://r-statistics.co/Singular-Value-Decomposition-in-R.html"/>
    <id>https://r-statistics.co/Singular-Value-Decomposition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master singular value decomposition in R with svd(): factor any matrix into U D V', then use SVD for PCA, low-rank approximation, and image compression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Simple Linear Regression in R: Your First lm()</title>
    <link href="https://r-statistics.co/Simple-Linear-Regression-in-R.html"/>
    <id>https://r-statistics.co/Simple-Linear-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit a linear model with lm() in R and interpret every number in summary(): coefficients, R-squared, F-statistic, residual SE, and t-values, step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sign Test in R: The Simplest One-Sample Nonparametric Test</title>
    <link href="https://r-statistics.co/Sign-Test-in-R.html"/>
    <id>https://r-statistics.co/Sign-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run the sign test in R with binom.test(). Learn the simplest one-sample nonparametric test, when to use it over Wilcoxon, and how to handle ties.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Shiny Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Shiny-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Shiny-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty-five hands-on Shiny exercises in R covering UI, reactivity, modules, downloads, plotly, DT, themes and deployment polish. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sensitivity Analysis in R: How Robust Are Your Statistical Conclusions?</title>
    <link href="https://r-statistics.co/Sensitivity-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Sensitivity-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sensitivity analysis tests whether your conclusions change when you alter assumptions, exclude outliers, or use different models. Learn 5 approaches in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Selection Bias in Peer Review</title>
    <link href="https://r-statistics.co/Selection-Bias-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Selection-Bias-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says you did not discuss selection bias or non-response. How to check whether your sample represents the population in R, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Segmented Regression in R: Find the Breakpoints</title>
    <link href="https://r-statistics.co/Segmented-Regression-in-R.html"/>
    <id>https://r-statistics.co/Segmented-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit segmented regression in R with the segmented package. Estimate breakpoints, piecewise linear slopes, test threshold effects with davies.test and selgmented.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Seemingly Unrelated Regression (SUR) in R: systemfit Package</title>
    <link href="https://r-statistics.co/Seemingly-Unrelated-Regression-in-R.html"/>
    <id>https://r-statistics.co/Seemingly-Unrelated-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit seemingly unrelated regression (SUR) in R with systemfit. Estimate multiple equations jointly for efficiency gains over OLS, plus cross-equation tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sankey and Alluvial Charts in R with ggalluvial</title>
    <link href="https://r-statistics.co/Sankey-Alluvial-Chart-in-R.html"/>
    <id>https://r-statistics.co/Sankey-Alluvial-Chart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create alluvial and Sankey charts in R with ggalluvial. Learn geom_alluvium(), geom_stratum(), color flows, and when to use Sankey vs alluvial charts for categorical flow data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sampling Methods in R: Random, Stratified, Cluster</title>
    <link href="https://r-statistics.co/Sampling-Methods-in-R.html"/>
    <id>https://r-statistics.co/Sampling-Methods-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn simple random, systematic, stratified, and cluster sampling in R with runnable code, and see how stratifying makes your sample estimates more precise.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sampling Methods Exercises in R: 20 Real Practice Problems</title>
    <link href="https://r-statistics.co/Sampling-Methods-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Sampling-Methods-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice sampling methods in R with 20 hands-on exercises: simple random, stratified, cluster, bootstrap, permutation, jackknife, weighted designs. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sampling Distributions in R: What Really Varies</title>
    <link href="https://r-statistics.co/Sampling-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Sampling-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A sampling distribution shows how a statistic varies across repeated samples. Simulate the sampling distributions of the mean, proportion, and variance in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probability Axioms in R: Prove the Rules of Probability via Monte Carlo Simulation</title>
    <link href="https://r-statistics.co/Sample-Spaces-Events-and-Probability-Axioms-in-R-With-Monte-Carlo-Proof.html"/>
    <id>https://r-statistics.co/Sample-Spaces-Events-and-Probability-Axioms-in-R-With-Monte-Carlo-Proof.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The three Kolmogorov axioms underpin all of probability. Verify each one via Monte Carlo simulation in R, counting outcomes, complements, and additivity.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sample Size in R: Plan Your N the Right Way</title>
    <link href="https://r-statistics.co/Sample-Size-Planning-in-R.html"/>
    <id>https://r-statistics.co/Sample-Size-Planning-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Underpowered studies waste effort. Learn pwr Package power analysis in R, simulation-based power for complex designs, and how to defend your N.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SQL to dplyr: 30 Translations Every Analyst Needs</title>
    <link href="https://r-statistics.co/SQL-to-dplyr-Translations.html"/>
    <id>https://r-statistics.co/SQL-to-dplyr-Translations.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>SQL to dplyr: 30 worked translations for analysts moving from SQL to R. SELECT, WHERE, GROUP BY, HAVING, joins, window functions and CASE WHEN, solved.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SEM Fit Indices: CFI, RMSEA and SRMR Cutoffs Explained</title>
    <link href="https://r-statistics.co/SEM-Fit-Indices-in-R.html"/>
    <id>https://r-statistics.co/SEM-Fit-Indices-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>CFI, RMSEA, SRMR and TLI defined with Hu and Bentler cutoffs, a decision table for good fit, and lavaan output you can reproduce in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SEM Exercises in R: 16 lavaan Practice Problems</title>
    <link href="https://r-statistics.co/SEM-Exercises-in-R.html"/>
    <id>https://r-statistics.co/SEM-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>16 structural equation modeling exercises in R with worked lavaan solutions: path models, CFA, fit indices, mediation, bootstrap, multi-group invariance, and ordered-categorical SEM.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SARIMA in fable: Seasonal ARIMA in the tidyverse</title>
    <link href="https://r-statistics.co/SARIMA-in-fable.html"/>
    <id>https://r-statistics.co/SARIMA-in-fable.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>SARIMA in fable fits seasonal ARIMA the tidyverse way: build a tsibble, fit with ARIMA(), set orders with pdq() and PDQ(), then check and forecast the model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SARIMA in R: How to Fit Seasonal ARIMA Models</title>
    <link href="https://r-statistics.co/SARIMA-in-R.html"/>
    <id>https://r-statistics.co/SARIMA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn seasonal ARIMA (SARIMA) in R: what the (P,D,Q)[m] terms mean, how seasonal differencing works, and how to fit and forecast with Arima() and auto.arima().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>S4 Multiple Dispatch in R: How and When to Use It</title>
    <link href="https://r-statistics.co/S4-Methods-in-R.html"/>
    <id>https://r-statistics.co/S4-Methods-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>S4 multiple dispatch lets methods specialise on the combination of two argument types, a capability S3 lacks. Learn setMethod(), showMethods(), and real use cases.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>S4 Classes in R: Formal OOP, Explained Simply</title>
    <link href="https://r-statistics.co/S4-Classes-in-R.html"/>
    <id>https://r-statistics.co/S4-Classes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>S4 adds formal class definitions, validity checking, and multiple dispatch to R. Master setClass(), setGeneric(), and setMethod() with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>S3 Method Dispatch in R: How Methods Get Chosen</title>
    <link href="https://r-statistics.co/S3-Method-Dispatch-in-R.html"/>
    <id>https://r-statistics.co/S3-Method-Dispatch-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>When you call print(x), R uses UseMethod() to find the right method. Learn how S3 dispatch works, use NextMethod() for inheritance, and debug method lookup.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>S3 Classes in R: Custom Objects in 20 Lines</title>
    <link href="https://r-statistics.co/S3-Classes-in-R.html"/>
    <id>https://r-statistics.co/S3-Classes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>S3 is R's simplest OOP system, conventions, not declarations. Learn to create S3 classes, write generic methods, and implement inheritance with clear examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Runs Test in R: Test Whether a Sequence Is Random</title>
    <link href="https://r-statistics.co/Runs-Test-in-R.html"/>
    <id>https://r-statistics.co/Runs-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run the Wald-Wolfowitz Runs Test in R with tseries. Worked binary and continuous examples, the Z formula, p-value rules, and when the test misleads.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Robust Regression in R: rlm() When Outliers Bite</title>
    <link href="https://r-statistics.co/Robust-Regression-in-R.html"/>
    <id>https://r-statistics.co/Robust-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>One outlier can shift your OLS coefficients dramatically. MASS::rlm() downweights outliers using M-estimators. Compare Huber and bisquare to lm() in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ridgeline Plot in R: Compare Many Distributions</title>
    <link href="https://r-statistics.co/Ridgeline-Plot-in-R.html"/>
    <id>https://r-statistics.co/Ridgeline-Plot-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create ridgeline plots in R with the ggridges package. Learn geom_density_ridges(), gradient fills, jitter points, stat_density_ridges(), and when to use them over violin plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ridge and Lasso Regression in R, Explained Simply</title>
    <link href="https://r-statistics.co/Ridge-and-Lasso-Regression-in-R.html"/>
    <id>https://r-statistics.co/Ridge-and-Lasso-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Ridge shrinks coefficients smoothly; Lasso forces some to exactly zero. Fit glmnet, tune lambda with cross-validation, pick the right penalty for your data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ridge and Lasso Exercises in R (18 Solved)</title>
    <link href="https://r-statistics.co/Ridge-and-Lasso-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Ridge-and-Lasso-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice ridge, lasso, and elastic net regression in R with 18 hands-on glmnet problems. Cross-validated lambda selection, sparse recovery, and tuning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Retail Demand Forecasting in R: an End-to-End Case Study</title>
    <link href="https://r-statistics.co/Retail-Demand-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Retail-Demand-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A full retail demand forecasting case study in R: audit the data, run EDA, fit five models, backtest with rolling-origin CV, and ship an order-book forecast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Response Surface Methodology in R (rsm Package)</title>
    <link href="https://r-statistics.co/Response-Surface-Methodology-in-R.html"/>
    <id>https://r-statistics.co/Response-Surface-Methodology-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn response surface methodology in R with the rsm package. Build CCD and Box-Behnken designs, fit second-order models, and locate optimum settings fast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Resampling 15: Bootstrap and Permutation Problems in R</title>
    <link href="https://r-statistics.co/Resampling-Problems-in-R.html"/>
    <id>https://r-statistics.co/Resampling-Problems-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bootstrap and permutation exercises in R: 15 base R drills covering resampled means, medians, correlations, percentile confidence intervals, and the jackknife.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R and the Reproducibility Crisis: 5 Habits That Make Your Research Replicable</title>
    <link href="https://r-statistics.co/Reproducibility-Crisis.html"/>
    <id>https://r-statistics.co/Reproducibility-Crisis.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Most published research doesn't replicate. Learn 5 R habits, seeds, renv, targets, pre-specified plans, sessionInfo, that make your analysis verifiable.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Report Statistics in R: The Numbers to Include and the Words to Use</title>
    <link href="https://r-statistics.co/Reporting-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Reporting-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Report results with p-values, CIs, and effect sizes in APA format. Automate reporting with papaja, report(), and gtsummary, and avoid common mistakes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Report-Ready Tables in R: Interactive Course</title>
    <link href="https://r-statistics.co/Report-Tables-Course.html"/>
    <id>https://r-statistics.co/Report-Tables-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn report-ready tables in R: turn a data frame into a polished table with gt, flextable and kableExtra, then build summary tables and format numbers cleanly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Repeated Measures Exercises in R: 17 Within-Subjects Practice Problems</title>
    <link href="https://r-statistics.co/Repeated-Measures-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Repeated-Measures-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice repeated measures ANOVA in R with 17 within-subjects exercises: aov Error, Mauchly, Greenhouse-Geisser, post-hoc, lme4. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Repeated Measures ANOVA in R: A Step-by-Step Guide</title>
    <link href="https://r-statistics.co/Repeated-Measures-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Repeated-Measures-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Repeated measures ANOVA blocks on subjects to shrink error SE. Run it in R with aov() or ezANOVA, check Mauchly sphericity, and apply Greenhouse-Geisser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Through the Origin in R: When and Why</title>
    <link href="https://r-statistics.co/Regression-Through-the-Origin-in-R.html"/>
    <id>https://r-statistics.co/Regression-Through-the-Origin-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn when to force a zero intercept in R regression, how to fit lm(y ~ -1 + x), and why R-squared misleads when you drop the intercept. With examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Tables in R: modelsummary vs stargazer</title>
    <link href="https://r-statistics.co/Regression-Tables-in-R.html"/>
    <id>https://r-statistics.co/Regression-Tables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare modelsummary, stargazer, and gtsummary for R regression tables. Side-by-side examples, output formats for PDF, Word, HTML, plus a decision framework.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Discontinuity in R With rdrobust</title>
    <link href="https://r-statistics.co/Regression-Discontinuity-in-R.html"/>
    <id>https://r-statistics.co/Regression-Discontinuity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn regression discontinuity in R with the rdrobust package. Run sharp and fuzzy RD designs, choose bandwidths, and interpret causal effects with clear code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Diagnostics in R: The 5 Plots to Check</title>
    <link href="https://r-statistics.co/Regression-Diagnostics-in-R.html"/>
    <id>https://r-statistics.co/Regression-Diagnostics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use plot(lm_model) to diagnose linearity, normality, homoscedasticity, and influence with residuals vs fitted, Q-Q, scale-location, and Cook's distance plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Diagnostics Exercises in R: 25 OLS Assumption-Check Problems</title>
    <link href="https://r-statistics.co/Regression-Diagnostics-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Regression-Diagnostics-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>25 hands-on regression diagnostics in R exercises: residual plots, normality, homoscedasticity, multicollinearity, Cook's distance, influence, and remediation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regex Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Regex-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Regex-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>25 regex in R practice problems with stringr: anchors, character classes, quantifiers, capture groups, lookarounds, and real-world text cleaning workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Regex 20: Text Wrangling Drills in R</title>
    <link href="https://r-statistics.co/Regex-Drills-in-R.html"/>
    <id>https://r-statistics.co/Regex-Drills-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Regex practice in R: 20 real regular expressions drills, from grepl and anchors to str_extract, gsub backreferences, capture groups, lookarounds and log cleanup.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Reduce(), Filter(), Map() in Base R, Explained</title>
    <link href="https://r-statistics.co/Reduce-Filter-Map-in-R.html"/>
    <id>https://r-statistics.co/Reduce-Filter-Map-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Before purrr, base R had Reduce(), Filter(), and Map(). Learn how they work, compare to purrr equivalents, and when base R's versions are the right choice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Recreating Three Professional Charts in R: a Case Study</title>
    <link href="https://r-statistics.co/Recreating-Professional-Charts-in-R.html"/>
    <id>https://r-statistics.co/Recreating-Professional-Charts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Recreate three professional-grade charts in R with ggplot2: a small-multiples panel, an annotated line chart and a diverging bar chart, built step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Read ggplot2 Code: 10 Real Plots Deconstructed</title>
    <link href="https://r-statistics.co/Reading-ggplot2-Code-in-R.html"/>
    <id>https://r-statistics.co/Reading-ggplot2-Code-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to read ggplot2 code with confidence. We deconstruct 10 real plots layer by layer and decode the geom_, scale_, facet_ and theme_ prefixes, step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Read lm() Output in R Line by Line</title>
    <link href="https://r-statistics.co/Read-lm-Output-in-R.html"/>
    <id>https://r-statistics.co/Read-lm-Output-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Confused by lm() output in R? This beginner guide reads every line of the summary(), from residuals and coefficients to R-squared, p-values, and the F-test.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Read Logistic Regression Output in R</title>
    <link href="https://r-statistics.co/Read-Logistic-Output-in-R.html"/>
    <id>https://r-statistics.co/Read-Logistic-Output-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Confused by glm() output in R? This beginner guide reads every line of a logistic regression summary: coefficients, z-values, odds ratios, deviance, and AIC.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Rank-Based Regression in R: Rfit Package for Robust Linear Models</title>
    <link href="https://r-statistics.co/Rank-Based-Regression-in-R.html"/>
    <id>https://r-statistics.co/Rank-Based-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit rank-based robust regression in R with the Rfit package. Outlier-resistant alternative to lm() using Wilcoxon scores. Code, output, and interpretation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Randomized Complete Block Design in R (RCBD)</title>
    <link href="https://r-statistics.co/Randomized-Complete-Block-Design-in-R.html"/>
    <id>https://r-statistics.co/Randomized-Complete-Block-Design-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master Randomized Complete Block Design (RCBD) in R with aov(): blocking strategy, ANOVA setup, model diagnostics, post-hoc tests, and efficiency vs CRD.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Random Variables in R: PMF, PDF and CDF Explained</title>
    <link href="https://r-statistics.co/Random-Variables-in-R.html"/>
    <id>https://r-statistics.co/Random-Variables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A random variable maps outcomes to numbers. Learn discrete PMFs and continuous PDFs in R, how CDFs unify both, and master R's d/p/q/r function pattern.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Random Intercepts and Slopes with lme4 in R</title>
    <link href="https://r-statistics.co/Random-Intercepts-and-Slopes-in-R.html"/>
    <id>https://r-statistics.co/Random-Intercepts-and-Slopes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn random intercepts and slopes in R with lme4. Fit lmer models on grouped data, read the random-effects table, get p-values, and understand partial pooling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Random Forest Exercises in R: 20 Real Practice Problems</title>
    <link href="https://r-statistics.co/Random-Forest-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Random-Forest-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice random forest in R with 20 hands-on exercises: classification, regression, tuning, variable importance, ranger, evaluation. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Random Forests in R: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/Random-Forest-Course.html"/>
    <id>https://r-statistics.co/Random-Forest-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn random forests from the ground up in three interactive lessons: decision trees, bagging and decorrelation, and tuning a real forest in R with out-of-bag error.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Raincloud Plots in R: Distribution Comparisons that Work</title>
    <link href="https://r-statistics.co/Raincloud-Plots-in-R.html"/>
    <id>https://r-statistics.co/Raincloud-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to build raincloud plots in R with ggplot2, layer by layer. Combine a half-violin, boxplot, and raw points to compare distributions boxplots hide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>RStudio vs VS Code vs Positron: Best R IDE</title>
    <link href="https://r-statistics.co/RStudio-vs-VSCode-vs-Positron.html"/>
    <id>https://r-statistics.co/RStudio-vs-VSCode-vs-Positron.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>RStudio vs VS Code vs Positron compared for R users on debugging, Quarto, remote dev, data panes, and extensions. Find the best R IDE for your workflow.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>RStudio in 15 Minutes: The Only IDE Tour You'll Ever Need</title>
    <link href="https://r-statistics.co/RStudio-IDE-Tour.html"/>
    <id>https://r-statistics.co/RStudio-IDE-Tour.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master RStudio's four panels, essential keyboard shortcuts, and workflow in 15 minutes. Interactive examples you can run in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>RStan vs brms vs BayesFactor: Which to Use in R?</title>
    <link href="https://r-statistics.co/RStan-vs-brms-vs-BayesFactor-in-R.html"/>
    <id>https://r-statistics.co/RStan-vs-brms-vs-BayesFactor-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>brms fits most Bayesian regression from one formula, RStan gives full control for custom models, and BayesFactor returns Bayes factors for hypothesis tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>REST APIs in R With httr2: GET, POST and OAuth</title>
    <link href="https://r-statistics.co/REST-APIs-in-R-with-httr2.html"/>
    <id>https://r-statistics.co/REST-APIs-in-R-with-httr2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>httr2 is the modern R package for HTTP. Learn request(), req_perform(), Bearer auth, JSON parsing, rate limiting with req_throttle(), and pagination.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R6 Classes in R: When You Need Objects That Mutate In Place</title>
    <link href="https://r-statistics.co/R6-Classes-in-R.html"/>
    <id>https://r-statistics.co/R6-Classes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Unlike S3 and S4, R6 objects are modified in place, no copies. Learn to build R6 classes with public/private fields, active bindings, and finalizers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Advanced R6 in R: Inheritance, Private Fields, and Computed Properties</title>
    <link href="https://r-statistics.co/R6-Advanced.html"/>
    <id>https://r-statistics.co/R6-Advanced.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Go beyond basic R6 with inheritance chains, private methods, and active bindings that compute values on the fly. Includes a complete data pipeline class hierarchy.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R5 Reference Classes in R: setRefClass(), Legacy OOP</title>
    <link href="https://r-statistics.co/R5-Reference-Classes.html"/>
    <id>https://r-statistics.co/R5-Reference-Classes.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R5 Reference Classes (setRefClass) are base R's first mutable OOP system. Learn the syntax, the &lt;&lt;- rule, why R6 superseded it, and how to migrate code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs Stata: Which Tool Do Economists Actually Use? (2026 Job Market Data)</title>
    <link href="https://r-statistics.co/R-vs-Stata.html"/>
    <id>https://r-statistics.co/R-vs-Stata.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare R vs Stata for economists: causal inference, panel data, IV regression, fixest vs reghdfe benchmarks, and which tool the 2026 job market rewards.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs SPSS: An Honest Guide for Switchers</title>
    <link href="https://r-statistics.co/R-vs-SPSS.html"/>
    <id>https://r-statistics.co/R-vs-SPSS.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>SPSS is expensive and shrinking; R is free, reproducible, and growing. Compare R vs SPSS feature-by-feature with R equivalents for every SPSS procedure.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs SAS: An Honest Comparison for Teams</title>
    <link href="https://r-statistics.co/R-vs-SAS.html"/>
    <id>https://r-statistics.co/R-vs-SAS.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>SAS still rules pharma and banking, but R is closing the gap fast. Compare licence costs, 2026 job demand, statistical depth, and ecosystem maturity.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs Python for Data Science: The Actual Data</title>
    <link href="https://r-statistics.co/R-vs-Python.html"/>
    <id>https://r-statistics.co/R-vs-Python.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Kaggle surveys, TIOBE rankings, GitHub stars, job listings, and benchmark numbers settle the R vs Python debate for data science in 2026. Let the data decide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs Julia for Statistics: An Honest Comparison</title>
    <link href="https://r-statistics.co/R-vs-Julia.html"/>
    <id>https://r-statistics.co/R-vs-Julia.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Julia benchmarks faster than R on tight loops, but R ships 21,000+ statistical packages and a huge community. Honest trade-offs with real benchmark code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R vs Excel: 7 Signs Your Analysis Has Outgrown Spreadsheets</title>
    <link href="https://r-statistics.co/R-vs-Excel.html"/>
    <id>https://r-statistics.co/R-vs-Excel.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Excel's formula-based approach breaks down at scale. Here are 7 signs you've outgrown spreadsheets, and how to replicate every Excel task in R, reproducibly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R tmap Package: Thematic Maps with ggplot2-Style Grammar</title>
    <link href="https://r-statistics.co/R-tmap-Package.html"/>
    <id>https://r-statistics.co/R-tmap-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R's tmap package for thematic maps. Build choropleths, bubble maps, and interactive views with tm_shape(), fewer lines than raw ggplot2.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Stata Users: The Command-by-Command Translation Guide</title>
    <link href="https://r-statistics.co/R-for-Stata-Users.html"/>
    <id>https://r-statistics.co/R-for-Stata-Users.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Complete Stata-to-R translation: regression, panel data, t-tests, and data manipulation. Every Stata command shown beside its R equivalent with output.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sports Analytics R Exercises: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Sports-Analytics-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Sports-Analytics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sports analytics R exercises: box scores, ELO, Pythagorean wins, win probability, scouting workflows. 20 hands-on problems with hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for SPSS Users: Translate Every SPSS Procedure to R in One Guide</title>
    <link href="https://r-statistics.co/R-for-SPSS-Users.html"/>
    <id>https://r-statistics.co/R-for-SPSS-Users.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A complete SPSS-to-R translation: t-tests, ANOVA, regression, factor analysis, and reliability, with runnable R code that mirrors SPSS output line by line.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for SAS Users: MAP Every SAS Procedure to Its R Equivalent</title>
    <link href="https://r-statistics.co/R-for-SAS-Users.html"/>
    <id>https://r-statistics.co/R-for-SAS-Users.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Translate SAS to R: every common PROC mapped to base R + dplyr. Side-by-side runnable code for DATA step, MEANS, FREQ, REG, LOGISTIC, SORT, and 15+ more.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Marketing Analytics Exercises: 20 Real-World Problems</title>
    <link href="https://r-statistics.co/R-for-Marketing-Analytics-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Marketing-Analytics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty marketing analytics exercises in R: RFM scoring, A/B testing, attribution, cohort retention, churn, CLV, funnel analysis. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Healthcare Exercises: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Healthcare-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Healthcare-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty real healthcare analytics practice problems in R: ICD code rollups, diagnostic test metrics, survival analysis, longitudinal labs, and clinical risk scores.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Genomics Exercises: 19 Bioconductor Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Genomics-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Genomics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Nineteen realistic R genomics drills: Biostrings, GRanges intervals, RNA-seq counts, DESeq2 differential expression, volcano plots, GO enrichment.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Finance Exercises: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Finance-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Finance-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R for finance exercises: 25 hands-on problems on returns, vol, VaR, drawdown, portfolios, Sharpe, CAPM, Fama-French, risk reports. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Excel Users: Your Entire Excel Workflow, Translated to R</title>
    <link href="https://r-statistics.co/R-for-Excel-Users.html"/>
    <id>https://r-statistics.co/R-for-Excel-Users.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Every common Excel operation, VLOOKUP, pivot tables, IF formulas, filters, and charts, mapped to its exact R equivalent with runnable side-by-side code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Data Science Exercises: 50 R4DS Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Data-Science-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Data-Science-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>50 hands-on R for data science exercises covering import, tidy, transform, visualize, model, and communicate. Hidden solutions, real R4DS workflow.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R for Biostatistics Exercises: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-for-Biostatistics-Exercises.html"/>
    <id>https://r-statistics.co/R-for-Biostatistics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty clinical and biostatistics exercises in R: trial baselines, survival models, mixed models, dose response, power. Hidden solutions and reasoning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Vector Recycling Warning: When R Silently Gives You the Wrong Answer</title>
    <link href="https://r-statistics.co/R-Warning-Object-Length.html"/>
    <id>https://r-statistics.co/R-Warning-Object-Length.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R warns 'longer object length is not a multiple of shorter object length' when recycling hits uneven lengths. Learn when it is safe and how to fix it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Warning 'NAs Introduced by Coercion' [Solved]</title>
    <link href="https://r-statistics.co/R-Warning-NAs-Coercion.html"/>
    <id>https://r-statistics.co/R-Warning-NAs-Coercion.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R warning 'NAs introduced by coercion' means as.numeric() hit unparseable values. Find the exact culprits, $, %, commas, spaces, and fix them fast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Visualization Project: 50 Real-World Chart Reproduction Exercises</title>
    <link href="https://r-statistics.co/R-Visualization-Project.html"/>
    <id>https://r-statistics.co/R-Visualization-Project.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Reproduce 50 publication-grade chart styles in R with ggplot2: Economist, FiveThirtyEight, BBC, scientific journals, Bloomberg, NYT. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Vectors Explained: The Foundation of R</title>
    <link href="https://r-statistics.co/R-Vectors.html"/>
    <id>https://r-statistics.co/R-Vectors.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R vectors, create with c(), index with [], name elements, recycle, vectorize. The core data structure every R user must understand before anything else.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Vectors Exercises: 18 Hands-On Problems with Worked Solutions</title>
    <link href="https://r-statistics.co/R-Vectors-Exercises.html"/>
    <id>https://r-statistics.co/R-Vectors-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 interactive R vector exercises with worked answers: creation, coercion, indexing, named vectors, recycling, NA handling, z-scoring, and binning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Unsupervised Learning in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Unsupervised-Learning-Course.html"/>
    <id>https://r-statistics.co/R-Unsupervised-Learning-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn unsupervised learning in R across eight interactive lessons: PCA, factor analysis, k-means, hierarchical and density clustering, mixture models, cluster validation, t-SNE and UMAP, and association rules.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Uncertainty Quantification in R: A Course</title>
    <link href="https://r-statistics.co/R-Uncertainty-Course.html"/>
    <id>https://r-statistics.co/R-Uncertainty-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Seven interactive R lessons on turning a point prediction into an honest range: prediction intervals, split and classification conformal, quantile regression, calibration, the bootstrap and jackknife+.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Type Coercion: The Hidden Rules That Change Your Data</title>
    <link href="https://r-statistics.co/R-Type-Coercion.html"/>
    <id>https://r-statistics.co/R-Type-Coercion.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>How R silently converts types, the exact coercion hierarchy, and how to catch it before it corrupts a column. With runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Syntax 101: Write Your First Working Script in 10 Minutes</title>
    <link href="https://r-statistics.co/R-Syntax-101.html"/>
    <id>https://r-statistics.co/R-Syntax-101.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn R's core syntax: arithmetic operators, variable assignment with &lt;-, comments, and how to write and run your first script, with every line explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Survival Analysis in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Survival-Analysis-Course.html"/>
    <id>https://r-statistics.co/R-Survival-Analysis-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn survival analysis in R across seven interactive lessons: censoring, Kaplan-Meier curves, the log-rank test, Cox models, competing risks, and survival ML.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Subsetting: One Definitive Rule for [], [[]], $, and @, No More Guessing</title>
    <link href="https://r-statistics.co/R-Subsetting.html"/>
    <id>https://r-statistics.co/R-Subsetting.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's four subsetting operators confuse almost everyone. Learn when to use [, [[, $, and @ with memory aids, common mistakes, and the one unifying rule.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Subsetting Exercises: 20 Practice Problems for Vectors, Lists, and Data Frames</title>
    <link href="https://r-statistics.co/R-Subsetting-Exercises.html"/>
    <id>https://r-statistics.co/R-Subsetting-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice R subsetting with 20 hands-on exercises covering vectors, lists, data frames, and matrices. Hidden solutions and explanations included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R String Exercises: 18 stringr Practice Problems Solved</title>
    <link href="https://r-statistics.co/R-String-Exercises.html"/>
    <id>https://r-statistics.co/R-String-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eighteen stringr exercises with worked solutions: detect, extract, replace, split, pad, case, regex anchors, lookarounds, plus end-to-end cleanup workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>NA vs NULL vs NaN vs Inf in R: What Each Means</title>
    <link href="https://r-statistics.co/R-Special-Values.html"/>
    <id>https://r-statistics.co/R-Special-Values.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>What's the difference between NA, NULL, NaN, and Inf in R? How to test each with is.na(), is.null(), is.nan(), is.finite(), and clean them without breaking your code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Robustness, Drift and Distribution Shift in R: A Course</title>
    <link href="https://r-statistics.co/R-Robustness-and-Drift-Course.html"/>
    <id>https://r-statistics.co/R-Robustness-and-Drift-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Seven interactive R lessons on keeping a deployed model honest: distribution shift, PSI drift detection, novelty detection, worst-group accuracy, DRO, and adversarial robustness.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Skills on Your Resume: What Actually Gets You Interviews</title>
    <link href="https://r-statistics.co/R-Resume-Skills.html"/>
    <id>https://r-statistics.co/R-Resume-Skills.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Proficient in R' kills applications. Learn which R packages employers screen for, how to quantify your impact, and what portfolio evidence wins interviews.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Regression Modeling in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Regression-Modeling-Course.html"/>
    <id>https://r-statistics.co/R-Regression-Modeling-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master regression in R from scratch in eight interactive lessons: least squares and lm(), residuals and assumptions, multicollinearity, logistic regression, and GLMs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Regex With stringr: 20 Pattern-Matching Examples</title>
    <link href="https://r-statistics.co/R-Regex-stringr-Pattern-Matching.html"/>
    <id>https://r-statistics.co/R-Regex-stringr-Pattern-Matching.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 stringr regex examples in R with str_detect(), str_extract(), str_replace(), str_match(). Covers character classes, quantifiers, anchors, lookarounds, capture groups.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Regex Cheat Sheet: 30 Copy-Paste Patterns</title>
    <link href="https://r-statistics.co/R-Regex-Cheat-Sheet-stringr.html"/>
    <id>https://r-statistics.co/R-Regex-Cheat-Sheet-stringr.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Regex quick reference for R: character classes, quantifiers, anchors, groups, lookaheads with str_detect(), str_extract(), and str_replace() examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Promise Objects: Lazy Evaluation &amp; Force() Explained</title>
    <link href="https://r-statistics.co/R-Promise-Objects.html"/>
    <id>https://r-statistics.co/R-Promise-Objects.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R wraps function arguments in promise objects and evaluates them lazily. Learn promises, force(), substitute(), the closure loop trap, and default-arg scoping.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Project Structure: Never Use setwd() Again</title>
    <link href="https://r-statistics.co/R-Project-Structure.html"/>
    <id>https://r-statistics.co/R-Project-Structure.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A proper RStudio Project with the right folders makes file paths reliable, collaboration easy, and analysis reproducible. Learn the layout professional R devs use.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Probability Distributions Exercises: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-Probability-Distributions-Exercises.html"/>
    <id>https://r-statistics.co/R-Probability-Distributions-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 20 R probability distribution problems across normal, binomial, Poisson, t, chi-squared, and F. Each has a starter, hidden solution, and explanation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Pipe Operator: %&gt;% vs |&gt;, The Complete Guide to Both Pipes</title>
    <link href="https://r-statistics.co/R-Pipe-Operator.html"/>
    <id>https://r-statistics.co/R-Pipe-Operator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master both R pipes: magrittr's %&gt;% and the native |&gt; pipe. Learn when to use each, placeholder tricks, common pitfalls, and how they make code dramatically more readable.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Pipe Operator: %&gt;% vs |&gt; (Complete Guide)</title>
    <link href="https://r-statistics.co/R-Pipe-Operator-in-R.html"/>
    <id>https://r-statistics.co/R-Pipe-Operator-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare R's pipe operators: magrittr %&gt;% and native |&gt;. Covers syntax, dot placeholder, when to use each, performance, lambdas, and 6 worked examples in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Performance Optimization Exercises: 20 Practice Problems</title>
    <link href="https://r-statistics.co/R-Performance-Optimization-Exercises.html"/>
    <id>https://r-statistics.co/R-Performance-Optimization-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty R performance practice problems: profiling, vectorization, memory, data.table, byte-compile, algorithmic wins. Hidden solutions, expected outputs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Package Development Exercises: 20 Practice Problems</title>
    <link href="https://r-statistics.co/R-Package-Development-Exercises.html"/>
    <id>https://r-statistics.co/R-Package-Development-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty R package development exercises with hidden solutions: scaffold with usethis, write roxygen2 docs, run devtools check, set up testthat, prep CRAN.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R OOP Exercises: 20 S3, S4 &amp;amp; R6 Practice Problems</title>
    <link href="https://r-statistics.co/R-OOP-Exercises.html"/>
    <id>https://r-statistics.co/R-OOP-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice R object-oriented programming with 20 hands-on exercises covering S3 dispatch, S4 validation, R6 mutation, operator overloading, inheritance and system selection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Namespaces: How Packages Export Functions &amp; Prevent Conflicts</title>
    <link href="https://r-statistics.co/R-Namespaces.html"/>
    <id>https://r-statistics.co/R-Namespaces.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand R namespaces: how NAMESPACE files control exports and imports, the :: and ::: operators, and how packages avoid function name conflicts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Copy-on-Modify in R: How Variables Really Work</title>
    <link href="https://r-statistics.co/R-Names-and-Values.html"/>
    <id>https://r-statistics.co/R-Names-and-Values.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R doesn't copy data on assignment, it waits until modification. Learn R's copy-on-modify rule, when copies happen, and how to inspect memory with lobstr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Mosaic Plots: See Categorical Patterns That Bar Charts Hide</title>
    <link href="https://r-statistics.co/R-Mosaic-Plots.html"/>
    <id>https://r-statistics.co/R-Mosaic-Plots.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R mosaic plots visualize relationships between categorical variables as area-proportional tiles. Build them in R with mosaicplot() and vcd, with worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Model Evaluation and Tuning in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Model-Evaluation-Course.html"/>
    <id>https://r-statistics.co/R-Model-Evaluation-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn model evaluation and tuning in R across seven interactive lessons: cross-validation, leak-free resampling, nested CV, hyperparameter search, scoring rules and model comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Memory Usage: Measure It Exactly With lobstr</title>
    <link href="https://r-statistics.co/R-Memory-lobstr.html"/>
    <id>https://r-statistics.co/R-Memory-lobstr.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>lobstr's obj_size() and ref() give you an X-ray view of R's memory. Measure real object sizes, spot shared references, and diagnose memory-hungry code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Matrices: Fast Linear Algebra, the Basics</title>
    <link href="https://r-statistics.co/R-Matrices.html"/>
    <id>https://r-statistics.co/R-Matrices.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R matrices store homogeneous data and unlock fast linear algebra: matrix multiplication, transpose, inverse, determinants. Learn when to use them instead of data frames.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Markdown Exercises: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-Markdown-Exercises.html"/>
    <id>https://r-statistics.co/R-Markdown-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>25 practice problems on R Markdown: YAML, chunk options, parameters, kable tables, child docs, bookdown refs, Quarto. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Maps for US States &amp; Counties: ggplot2 + tigris Package</title>
    <link href="https://r-statistics.co/R-Maps-for-US-States-and-Counties.html"/>
    <id>https://r-statistics.co/R-Maps-for-US-States-and-Counties.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build US state and county maps in R using the tigris package and ggplot2 geom_sf(). Download Census shapefiles, join data, and color counties by value.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Machine Learning Workflow in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-ML-Workflow-Course.html"/>
    <id>https://r-statistics.co/R-ML-Workflow-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the machine learning workflow in R from scratch in four interactive lessons: frame the problem, the bias-variance tradeoff, honest evaluation without leakage, and your first end-to-end model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Machine Learning in Production with R: A Course</title>
    <link href="https://r-statistics.co/R-ML-Production-Course.html"/>
    <id>https://r-statistics.co/R-ML-Production-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Take an R model from a script to production in six interactive lessons: reproducible pipelines with targets, model versioning, REST APIs, inference patterns, and drift.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Logical Operators: AND, OR, NOT (With Truth Tables)</title>
    <link href="https://r-statistics.co/R-Logical-Operators-in-R.html"/>
    <id>https://r-statistics.co/R-Logical-Operators-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Complete guide to R logical operators: vectorized &amp; |, short-circuit &amp;&amp; ||, NOT (!), xor(). Includes truth tables, NA handling, and 7 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Lists: The Flexible Container, Explained</title>
    <link href="https://r-statistics.co/R-Lists.html"/>
    <id>https://r-statistics.co/R-Lists.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R lists hold any mix of data types, vectors, data frames, even other lists. Learn to create, access with [] vs [[]], modify, and convert lists efficiently.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Lists Exercises: 20 Subsetting, Iteration and Nesting Problems</title>
    <link href="https://r-statistics.co/R-Lists-Exercises.html"/>
    <id>https://r-statistics.co/R-Lists-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty interactive R list exercises covering create, name, single vs double bracket subsetting, modify, lapply, vapply, Map, rapply, nested list flattening, and list to data frame conversion.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Lexical Scoping: Where R Finds Your Variables</title>
    <link href="https://r-statistics.co/R-Lexical-Scoping.html"/>
    <id>https://r-statistics.co/R-Lexical-Scoping.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R uses lexical scoping, functions find variables where they're defined, not where called. Master the rules, search path, masking, and closures with examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Joins With Visual Diagrams: Pick the Right Join Every Time</title>
    <link href="https://r-statistics.co/R-Joins.html"/>
    <id>https://r-statistics.co/R-Joins.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Inner, left, right, full, semi, and anti joins in dplyr with working examples. Learn when each join is correct and how to handle duplicate keys.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>50 R Interview Questions and Answers, Solved (2026)</title>
    <link href="https://r-statistics.co/R-Interview-Questions.html"/>
    <id>https://r-statistics.co/R-Interview-Questions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>50 real R interview questions with worked solutions: data wrangling, statistics, ggplot2 and tricky base-R behavior. Practice every one in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Model Interpretability in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Interpretability-Course.html"/>
    <id>https://r-statistics.co/R-Interpretability-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn model interpretability in R in six interactive lessons: global vs local explanations, permutation importance, SHAP, partial dependence, fairness, and model cards.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Internal Functions: .Internal(), .Call(), .External(), Low Level</title>
    <link href="https://r-statistics.co/R-Internal-Functions.html"/>
    <id>https://r-statistics.co/R-Internal-Functions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Brief guide to R's low-level interfaces: .Primitive(), .Internal(), .Call(), .External(), and how R functions call compiled C code underneath.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Imbalanced Classification in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Imbalanced-Classification-Course.html"/>
    <id>https://r-statistics.co/R-Imbalanced-Classification-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn imbalanced classification in R in six interactive lessons: multiclass metrics, SMOTE resampling, cost-based thresholds, ROC and PR curves, and calibration.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Gradient Boosting in R: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/R-Gradient-Boosting-Course.html"/>
    <id>https://r-statistics.co/R-Gradient-Boosting-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn gradient boosting from scratch in R across six interactive lessons: fit residuals, set the learning rate, use LightGBM and CatBoost, tune the knobs, and build prediction intervals.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Functions: Write Them Well From the Start</title>
    <link href="https://r-statistics.co/R-Functions.html"/>
    <id>https://r-statistics.co/R-Functions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Stop copy-pasting code. Learn to write clean R functions with default arguments, explicit returns, lexical scoping rules, and input validation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Functions Exercises: 18 Default Arg, Closure and Dots Problems</title>
    <link href="https://r-statistics.co/R-Functions-Exercises.html"/>
    <id>https://r-statistics.co/R-Functions-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eighteen interactive R function exercises covering default arguments, match.arg, dots, lazy evaluation, closures, recursion, on.exit and higher-order functions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Functional Programming R Exercises: 18 Practice Problems</title>
    <link href="https://r-statistics.co/R-Functional-Programming-Exercises.html"/>
    <id>https://r-statistics.co/R-Functional-Programming-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Functional programming R exercises with solutions: 18 hands-on problems on higher-order functions, map, reduce, closures, function factories, and purrr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Function Operators: Transform Existing Functions Without Rewriting Them</title>
    <link href="https://r-statistics.co/R-Function-Operators.html"/>
    <id>https://r-statistics.co/R-Function-Operators.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Function operators wrap an existing function and return a transformed version. Learn compose(), negate(), partial(), and memoise() in R, step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Function Factories: How to Build Customisable Functions That Generate Functions</title>
    <link href="https://r-statistics.co/R-Function-Factories.html"/>
    <id>https://r-statistics.co/R-Function-Factories.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>An R function factory returns a new function that remembers its parameters via a closure. Master the pattern with 5 real examples, from power() to MLE.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Foundations: Reproducible Workflow, A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Foundations-Workflow-Course.html"/>
    <id>https://r-statistics.co/R-Foundations-Workflow-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make your R work reproducible in four interactive lessons: RStudio Projects and here, renv and git, the modern R toolchain, and a full capstone analysis.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Foundations: Data Structures, A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/R-Foundations-Structures-Course.html"/>
    <id>https://r-statistics.co/R-Foundations-Structures-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R's data containers in five interactive lessons: lists and nested data, data frames and tibbles, inspecting structure, matrices and arrays, and type conversion.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Foundations: Iteration, A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/R-Foundations-Iteration-Course.html"/>
    <id>https://r-statistics.co/R-Foundations-Iteration-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to repeat work in R the idiomatic way across four interactive lessons: vectorization, the apply family, the purrr map family, and resilient nested iteration.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Foundations: Debugging, A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/R-Foundations-Debugging-Course.html"/>
    <id>https://r-statistics.co/R-Foundations-Debugging-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make R code fail clearly and recover when it does, across three interactive lessons: signal problems with stop and warning, validate inputs with tryCatch, and debug.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Foundations: The Basics, A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/R-Foundations-Basics-Course.html"/>
    <id>https://r-statistics.co/R-Foundations-Basics-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Start R from zero in five interactive lessons: your first session, atomic vectors and types, operators and coercion, missing values, and installing packages.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Feature Engineering in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Feature-Engineering-Course.html"/>
    <id>https://r-statistics.co/R-Feature-Engineering-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn feature engineering in R from scratch in seven interactive lessons: encoding, leak-free target encoding, scaling, interactions, dates, text, imputation, and selection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Factors Explained: Levels, Ordering, and Common Pitfalls</title>
    <link href="https://r-statistics.co/R-Factors.html"/>
    <id>https://r-statistics.co/R-Factors.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>What R factors really are and how levels and ordering work, plus the pitfalls that silently corrupt your data. Runnable examples included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Experimentation in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Experimentation-Course.html"/>
    <id>https://r-statistics.co/R-Experimentation-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn experimentation in R in seven interactive lessons: statistical power and sample size, CUPED, peeking and SRM, switchback designs, and multi-armed bandits.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Execution Stack: sys.call(), parent.frame() &amp; Call Stack Internals</title>
    <link href="https://r-statistics.co/R-Execution-Stack.html"/>
    <id>https://r-statistics.co/R-Execution-Stack.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand R's execution stack: sys.call(), sys.frame(), parent.frame(), sys.nframe(), and how R tracks function calls internally.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>lme4 'Failed to Converge': 5 Fixes in Order [Solved]</title>
    <link href="https://r-statistics.co/R-Error-lme4-Convergence.html"/>
    <id>https://r-statistics.co/R-Error-lme4-Convergence.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix lme4 'Model failed to converge' warning in R mixed models. Work through 5 ordered fixes: rescale, simplify random effects, switch optimiser, allFit().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 'Object Not Found' Error, Fixed [Solved]</title>
    <link href="https://r-statistics.co/R-Error-ggplot2-Object-Not-Found.html"/>
    <id>https://r-statistics.co/R-Error-ggplot2-Object-Not-Found.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ggplot2 looks for aes() names in the data first, then the environment. Learn why bare columns work, outside variables fail, and how to pass each correctly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 'Aesthetics Must Be Length 1' Fix [Solved]</title>
    <link href="https://r-statistics.co/R-Error-ggplot2-Aesthetics.html"/>
    <id>https://r-statistics.co/R-Error-ggplot2-Aesthetics.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ggplot2 throws this when you map a vector whose length doesn't match your data's row count. Learn the 4 patterns that cause it and the exact fix for each.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>dplyr 'Must Return a Single String' Error [Solved]</title>
    <link href="https://r-statistics.co/R-Error-dplyr-Single-String.html"/>
    <id>https://r-statistics.co/R-Error-dplyr-Single-String.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The dplyr 'must return a single string' error appears when you pass a column name programmatically to group_by(). Fix it with .data[[col]] or {{ col }}.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'Undefined Columns Selected' [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Undefined-Columns.html"/>
    <id>https://r-statistics.co/R-Error-Undefined-Columns.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'undefined columns selected' error fast. Learn the 3 mistakes that trigger it, missing comma, column name typos, stale vectors, and the fix for each.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R 'Subscript Out of Bounds' Error: Fixes [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Subscript-Out-of-Bounds.html"/>
    <id>https://r-statistics.co/R-Error-Subscript-Out-of-Bounds.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'subscript out of bounds' error fast. Learn to identify which index is wrong, add bounds checks, and use seq_along() to prevent off-by-one bugs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>RStan 'failed to compile' Error, Every Known Fix in One Place</title>
    <link href="https://r-statistics.co/R-Error-Stan-Compile.html"/>
    <id>https://r-statistics.co/R-Error-Stan-Compile.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>RStan's 'failed to compile' error is almost always a C++ toolchain problem, not your model. Diagnose, fix Rtools/Xcode, align versions, or switch to cmdstanr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R solve() Error: 'singular matrix', Diagnose Multicollinearity and Fix It</title>
    <link href="https://r-statistics.co/R-Error-Singular-Matrix.html"/>
    <id>https://r-statistics.co/R-Error-Singular-Matrix.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's solve() fails on singular matrices when columns are linearly dependent. Diagnose with rcond(), then fix via ridge, variable removal, or MASS::ginv().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'Replacement Has Length Zero' [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Replacement-Length.html"/>
    <id>https://r-statistics.co/R-Error-Replacement-Length.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R error 'replacement has length zero' means the right side of your assignment returned nothing. Diagnose empty filters, missing lookups, and NA indexes fast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'Object Not Found': 7 Causes and Fixes [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Object-Not-Found.html"/>
    <id>https://r-statistics.co/R-Error-Object-Not-Found.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'object not found' error: all 7 causes with exact fixes, including dplyr mutate when a column is missing. Copy-paste solutions included.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R apply() Error: 'argument is not a matrix', Try These Alternatives</title>
    <link href="https://r-statistics.co/R-Error-Not-Matrix.html"/>
    <id>https://r-statistics.co/R-Error-Not-Matrix.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's apply() error when you pass a data frame, list, or vector. Learn correct matrix conversion, when to use lapply/sapply/vapply, and the dplyr fix.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error: 'non-numeric argument to binary operator', Find the Hidden Character</title>
    <link href="https://r-statistics.co/R-Error-Non-Numeric.html"/>
    <id>https://r-statistics.co/R-Error-Non-Numeric.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R is trying to do arithmetic on something that isn't a number. Use class(), str() and is.numeric() to find the hidden character and fix the silent coercion.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error: 'no package called X', Every Possible Cause and Fix</title>
    <link href="https://r-statistics.co/R-Error-No-Package.html"/>
    <id>https://r-statistics.co/R-Error-No-Package.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The package exists but R can't find it, 6 reasons why. Covers failed installs, wrong .libPaths(), Bioconductor &amp; GitHub-only packages, R upgrade fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'Cannot Allocate Vector': 5 Fixes [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Memory.html"/>
    <id>https://r-statistics.co/R-Error-Memory.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R out of memory? Fix 'cannot allocate vector of size' fast: run gc(), drop big objects, switch to data.table, or use DuckDB for out-of-memory queries.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'Could Not Find Function' [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Function-Not-Found.html"/>
    <id>https://r-statistics.co/R-Error-Function-Not-Found.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'could not find function' error: check if the package is loaded, detect masked functions, and use package::function() to resolve namespace conflicts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error: 'cannot open the connection', File Path Checklist That Fixes It</title>
    <link href="https://r-statistics.co/R-Error-Cannot-Open-Connection.html"/>
    <id>https://r-statistics.co/R-Error-Cannot-Open-Connection.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'cannot open the connection' error fast. Walk a 5-step file-path checklist: working directory, typos, Windows backslashes, locks, and permissions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Error 'More Columns Than Column Names' [Solved]</title>
    <link href="https://r-statistics.co/R-Error-CSV-Columns.html"/>
    <id>https://r-statistics.co/R-Error-CSV-Columns.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's read.csv 'more columns than column names' error. Four causes, trailing commas, wrong separator, unclosed quotes, extra columns, with the exact fix.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R hist() 'Breaks Are Not Unique' Error [Solved]</title>
    <link href="https://r-statistics.co/R-Error-Breaks-Not-Unique.html"/>
    <id>https://r-statistics.co/R-Error-Breaks-Not-Unique.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R's 'breaks are not unique' error in hist(). Caused by constant or low-variance data, learn to detect it and use jitter, fewer breaks, or barplot().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Environments: How Scoping Really Works</title>
    <link href="https://r-statistics.co/R-Environments.html"/>
    <id>https://r-statistics.co/R-Environments.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R environments are named bags with parent pointers, they power scoping and closures. Learn globalenv, baseenv, execution frames, and inspect them with rlang.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Debugging in R: traceback() to Breakpoints</title>
    <link href="https://r-statistics.co/R-Debugging.html"/>
    <id>https://r-statistics.co/R-Debugging.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Debug R code systematically: use traceback() to locate errors, browser() to pause mid-function, debug() to step through, and RStudio breakpoints visually.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Debugging Exercises: 18 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-Debugging-Exercises.html"/>
    <id>https://r-statistics.co/R-Debugging-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice R debugging with 18 scenario-based exercises: traceback, browser, debug, tryCatch, withCallingHandlers, custom conditions, restarts, recover.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Date &amp;amp; Time Exercises: 20 lubridate Practice Problems</title>
    <link href="https://r-statistics.co/R-Date-Time-Exercises.html"/>
    <id>https://r-statistics.co/R-Date-Time-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice R dates with 20 lubridate exercises: parse formats, extract components, do period and interval arithmetic, handle timezones, with full solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Data Types Explained: Know What Your Variable Is</title>
    <link href="https://r-statistics.co/R-Data-Types.html"/>
    <id>https://r-statistics.co/R-Data-Types.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn R's 6 data types, numeric, integer, character, logical, complex, raw. How to check types, why coercion causes silent bugs, and when each belongs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Data Scientist Salary &amp; Career Path : Real Numbers, Real Requirements</title>
    <link href="https://r-statistics.co/R-Data-Scientist-Career.html"/>
    <id>https://r-statistics.co/R-Data-Scientist-Career.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Median salaries, skill requirements, and career paths for R-focused data scientists, based on 5,000+ job listings, LinkedIn data, and practitioner surveys.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Data Import Exercises: 17 Practice Problems</title>
    <link href="https://r-statistics.co/R-Data-Import-Exercises.html"/>
    <id>https://r-statistics.co/R-Data-Import-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Seventeen R data import exercises drilling read_csv(), col_types, NA handling, fread(), JSON, and multi-file workflows, each with a worked solution.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Data Frames: Every Operation You'll Need, With 10 Real Examples</title>
    <link href="https://r-statistics.co/R-Data-Frames.html"/>
    <id>https://r-statistics.co/R-Data-Frames.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Data frames are R's spreadsheet equivalent. Learn to create, subset, add columns, filter rows, and reshape data, illustrated with 10 real-world worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Frame Exercises in R: 17 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/R-Data-Frames-Exercises.html"/>
    <id>https://r-statistics.co/R-Data-Frames-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>17 R data frame exercises with hidden solutions: create, subset, add columns, sort, dedupe, and merge using base R on mtcars, iris, airquality.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Currying &amp; Partial Application: purrr::partial() &amp; rlang</title>
    <link href="https://r-statistics.co/R-Currying-and-Partial-Application.html"/>
    <id>https://r-statistics.co/R-Currying-and-Partial-Application.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Partial application pre-fills function arguments so you never repeat them. Learn purrr::partial() with lazy and eager evaluation, the ... trick, and real currying in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Why R Copies Your Data (And How Copy-on-Modify Actually Saves Memory)</title>
    <link href="https://r-statistics.co/R-Copy-on-Modify.html"/>
    <id>https://r-statistics.co/R-Copy-on-Modify.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R uses copy-on-modify: variables share memory until one changes. Use lobstr to see exactly when R makes real copies and when it doesn't.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Control Flow: if/else, for, and while, Stop Avoiding Loops</title>
    <link href="https://r-statistics.co/R-Control-Flow.html"/>
    <id>https://r-statistics.co/R-Control-Flow.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R's control flow: if/else conditionals, for loops with real iteration patterns, while loops, and when to replace all of them with vectorised alternatives.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Control Flow Exercises: 18 if/else, Loop and switch Problems</title>
    <link href="https://r-statistics.co/R-Control-Flow-Exercises.html"/>
    <id>https://r-statistics.co/R-Control-Flow-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eighteen runnable R control flow exercises covering if/else, vectorised ifelse, case_when, for, while, break, next, switch and short-circuit operators.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R's Condition System: Errors and Warnings</title>
    <link href="https://r-statistics.co/R-Conditions-System.html"/>
    <id>https://r-statistics.co/R-Conditions-System.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R's condition system: signal with stop(), warning(), message(); handle via tryCatch() and withCallingHandlers(); design custom condition classes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Comparison Operators: ==, !=, &lt;, &gt;, &lt;=, &gt;= Guide</title>
    <link href="https://r-statistics.co/R-Comparison-Operators-in-R.html"/>
    <id>https://r-statistics.co/R-Comparison-Operators-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn R's comparison operators: ==, !=, &lt;, &gt;, &lt;=, &gt;=. Covers floating-point gotchas, identical(), NA handling, %in% membership, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>50 Common R Errors, Decoded and Fixed [Solved]</title>
    <link href="https://r-statistics.co/R-Common-Errors.html"/>
    <id>https://r-statistics.co/R-Common-Errors.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Every R error decoded: what triggers it, the exact pattern that causes it, and the one-line fix. All 50 errors, runnable examples, diagnostic flowchart.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Color Theory: Choose Palettes, Use ColorBrewer, and Design for Colorblind Readers</title>
    <link href="https://r-statistics.co/R-Color-Theory-ggplot2.html"/>
    <id>https://r-statistics.co/R-Color-Theory-ggplot2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn R color theory for ggplot2: sequential, diverging, and qualitative palettes, RColorBrewer, viridis, and how to test your chart for colorblind accessibility.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Closures: The Pattern Behind Shiny Reactive Logic and ggplot2 Themes</title>
    <link href="https://r-statistics.co/R-Closures.html"/>
    <id>https://r-statistics.co/R-Closures.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A closure is an R function that remembers its defining environment. Learn how closures work, why Shiny and ggplot2 use them, and how to build your own.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Classification in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Classification-Course.html"/>
    <id>https://r-statistics.co/R-Classification-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn classification in R from scratch in six interactive lessons: kNN, Naive Bayes, LDA and QDA, decision trees, decision boundaries, and how to read a classifier.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Cheat Sheet: 200 Essential Functions, Printable</title>
    <link href="https://r-statistics.co/R-Cheat-Sheet.html"/>
    <id>https://r-statistics.co/R-Cheat-Sheet.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The ultimate R cheat sheet: 200 essential functions across dplyr, ggplot2, base R, statistics, strings, and dates, with arguments and runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Certifications : Do They Actually Help You Get Hired? (Honest Review)</title>
    <link href="https://r-statistics.co/R-Certifications-Guide.html"/>
    <id>https://r-statistics.co/R-Certifications-Guide.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Honest review of Coursera, DataCamp, Posit Academy and other R certifications, cost, curriculum, employer value, and whether the time investment pays off.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Causal Inference in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Causal-Inference-Course.html"/>
    <id>https://r-statistics.co/R-Causal-Inference-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn causal inference in R across five interactive lessons: potential outcomes, DAGs and confounding, A/B testing, reading an experiment, and quasi-experiments.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Causal Inference for Decisions in R: A Course</title>
    <link href="https://r-statistics.co/R-Causal-Decisions-Course.html"/>
    <id>https://r-statistics.co/R-Causal-Decisions-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Eleven interactive R lessons on causal methods for real decisions: propensity matching, IPW, difference-in-differences, regression discontinuity, IV, and more.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Beginner Exercises: 30 Hands-on Practice Problems</title>
    <link href="https://r-statistics.co/R-Beginner-Exercises.html"/>
    <id>https://r-statistics.co/R-Beginner-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Thirty beginner R exercises with hidden solutions: vectors, data frames, subsetting, summaries, control flow, functions, and base plots. Runnable in the browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Modeling in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Bayesian-Modeling-Course.html"/>
    <id>https://r-statistics.co/R-Bayesian-Modeling-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Bayesian modeling in R in eight interactive lessons: priors, posteriors, MCMC from scratch, hierarchical models, model checks, and Bayesian regression.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Basics Exercises: 18 Practice Problems with Solutions</title>
    <link href="https://r-statistics.co/R-Basics-Exercises.html"/>
    <id>https://r-statistics.co/R-Basics-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 R basics exercises covering variables, vectors, indexing, logical ops, strings, functions, and control flow. Runnable code, hidden solutions, full explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Base Functions Cheat Sheet: 100 Functions You'll Use in Real Work</title>
    <link href="https://r-statistics.co/R-Base-Functions-Cheat-Sheet.html"/>
    <id>https://r-statistics.co/R-Base-Functions-Cheat-Sheet.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>100 base R functions every analyst reaches for, inspect, subset, apply, math, strings, IO, control flow, each with a runnable example and output.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Attributes: The Hidden Metadata Behind R Objects</title>
    <link href="https://r-statistics.co/R-Attributes.html"/>
    <id>https://r-statistics.co/R-Attributes.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Attributes like names, dim, and class change how R prints, subsets, and dispatches methods. Learn what they are, how to set them, and why they explain strange R output.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Assignment Operators: &lt;- vs = vs &lt;&lt;- (Complete Guide)</title>
    <link href="https://r-statistics.co/R-Assignment-Operators-in-R.html"/>
    <id>https://r-statistics.co/R-Assignment-Operators-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand R's assignment operators: &lt;-, =, and &lt;&lt;-. Learn the differences, when to use each, parent-scope assignment behavior, and 6 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Assignment in R: &lt;- vs = vs &lt;&lt;-, Which One and When</title>
    <link href="https://r-statistics.co/R-Assignment-Deep-Dive.html"/>
    <id>https://r-statistics.co/R-Assignment-Deep-Dive.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R has five assignment operators with distinct behavior. Learn when &lt;- and = are interchangeable, what &lt;&lt;- does to parent environments, and why -&gt; exists.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R apply() Exercises: 20 Problems With Solutions</title>
    <link href="https://r-statistics.co/R-Apply-Exercises.html"/>
    <id>https://r-statistics.co/R-Apply-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice the R apply family with 20 scenario-driven problems on apply, lapply, sapply, vapply, mapply, and tapply. Starter code, hidden solutions, and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R Anonymous Functions: The New Lambda Syntax</title>
    <link href="https://r-statistics.co/R-Anonymous-Functions.html"/>
    <id>https://r-statistics.co/R-Anonymous-Functions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R 4.1's \\(x) lambda syntax replaces function(x) inline. Learn when to use anonymous functions, how they work with purrr, and when they hurt readability.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Anomaly and Outlier Detection in R: A Course</title>
    <link href="https://r-statistics.co/R-Anomaly-Detection-Course.html"/>
    <id>https://r-statistics.co/R-Anomaly-Detection-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Seven interactive R lessons on spotting the point that does not belong: isolation forests, local outlier factor, one-class SVM, autoencoders, and time-series anomaly detection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Advanced Supervised Learning in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Advanced-Supervised-Learning-Course.html"/>
    <id>https://r-statistics.co/R-Advanced-Supervised-Learning-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn advanced supervised learning in R across eight interactive lessons: SVMs and kernels, discriminant analysis, Gaussian processes, stacking, and Bayesian tuning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Advanced Regression and GLMs in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/R-Advanced-Regression-Course.html"/>
    <id>https://r-statistics.co/R-Advanced-Regression-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn advanced regression and GLMs in R across thirteen interactive lessons: robust regression, quantile, ridge and lasso, GAMs, count models, and mixed models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Active Bindings in R: makeActiveBinding() for Computed Variables</title>
    <link href="https://r-statistics.co/R-Active-Bindings.html"/>
    <id>https://r-statistics.co/R-Active-Bindings.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn makeActiveBinding() in R to create variables that run a function on every read or write. Build computed properties, validators, and R6 active fields.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Quantile Regression in R: quantreg Package, Model Beyond the Mean</title>
    <link href="https://r-statistics.co/Quantile-Regression-in-R.html"/>
    <id>https://r-statistics.co/Quantile-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn quantile regression in R with quantreg: fit rq() at any tau, interpret coefficients across quantiles, handle heteroscedasticity, and plot processes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Quantile Regression in R With quantreg (How-To)</title>
    <link href="https://r-statistics.co/Quantile-Regression-in-R-2.html"/>
    <id>https://r-statistics.co/Quantile-Regression-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master quantile regression in R with the quantreg package: fit any tau via rq(), interpret slopes across quantiles, bootstrap SEs, and plot the process.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Quadratic Forms and Chi-Squared: Step-by-Step in R</title>
    <link href="https://r-statistics.co/Quadratic-Forms-in-R.html"/>
    <id>https://r-statistics.co/Quadratic-Forms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The distribution of X'AX for normal X: a weighted sum of chi-squares via the spectral theorem, Cochran's theorem, and the residual sum of squares.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Quadratic Discriminant Analysis in R: QDA vs LDA</title>
    <link href="https://r-statistics.co/Quadratic-Discriminant-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Quadratic-Discriminant-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use QDA in R when LDA fails its equal-covariance assumption. Step-by-step MASS::qda() walkthrough with Box M test, decision boundary, and tuning advice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>QR Decomposition in R: Why lm() Uses qr()</title>
    <link href="https://r-statistics.co/QR-Decomposition-in-R.html"/>
    <id>https://r-statistics.co/QR-Decomposition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master QR decomposition in R with qr(). See how Q and R factor a matrix, why lm() uses it for stable regression, and how Householder beats inverting X'X.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Publication-Ready ggplot2 Figures: The Checklist</title>
    <link href="https://r-statistics.co/Publication-Quality-Figures-in-R.html"/>
    <id>https://r-statistics.co/Publication-Quality-Figures-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master the 12 ggplot2 settings, fonts, line widths, DPI, aspect ratios, and colour palettes, that turn a draft R plot into a journal-accepted figure.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>A Publication Figure System in R: an End-to-End Case Study</title>
    <link href="https://r-statistics.co/Publication-Figure-System-in-R.html"/>
    <id>https://r-statistics.co/Publication-Figure-System-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build a complete publication figure system in R with ggplot2: one reusable theme, palette and scales applied across a full set of journal-ready figures.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Proportional Hazards in Peer Review</title>
    <link href="https://r-statistics.co/Proportional-Hazards-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Proportional-Hazards-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer asked you to test the proportional hazards assumption in your Cox model. Check it in R with cox.zph, decide whether it matters, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Proportion Tests in R: prop.test() vs binom.test()</title>
    <link href="https://r-statistics.co/Proportion-Tests-in-R.html"/>
    <id>https://r-statistics.co/Proportion-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare a proportion to a target or two proportions to each other. Use prop.test() for large samples, binom.test() for exact small-sample p-values and CIs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Prophet in R: Forecast with Trend, Seasonality, Holidays</title>
    <link href="https://r-statistics.co/Prophet-in-R.html"/>
    <id>https://r-statistics.co/Prophet-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Prophet in R splits a series into trend, seasonality, and holidays. Learn prophet(), changepoints, Fourier order, custom seasonalities, and holiday effects.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Hat Matrix in R: OLS Geometry, Explained Visually</title>
    <link href="https://r-statistics.co/Projections-and-the-Hat-Matrix-in-R.html"/>
    <id>https://r-statistics.co/Projections-and-the-Hat-Matrix-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the hat matrix and OLS projection in R. Compute H from scratch, verify idempotency, and see fitted values, residuals, and leverage geometrically.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Profile Analysis in R: Repeated Measures as a Multivariate Problem</title>
    <link href="https://r-statistics.co/Profile-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Profile-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run profile analysis in R to test parallelism, equal levels, and flatness on repeated measures. Worked example with a profile plot and base-R MANOVA code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Production Forecasting in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Production-Forecasting-Course.html"/>
    <id>https://r-statistics.co/Production-Forecasting-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to run a forecasting model in production across six interactive lessons: setting a refit cadence, monitoring accuracy by horizon, diagnosing degradation, calendar and event features, scaling to thousands of series with fable, and deploying a forecasting service.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probit and Cloglog in R: Logit Alternatives</title>
    <link href="https://r-statistics.co/Probit-and-Complementary-Log-Log-in-R.html"/>
    <id>https://r-statistics.co/Probit-and-Complementary-Log-Log-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master probit and complementary log-log regression in R using glm(). Learn when each link beats logistic regression and interpret coefficients correctly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probability in R Exercises: 15 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Probability-in-R-Exercises.html"/>
    <id>https://r-statistics.co/Probability-in-R-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice probability in R with 15 problems: sampling, distributions, conditional probability, Monty Hall, Bayes rule, and the Law of Large Numbers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probability Simulation in R: Dice, Cards &amp; Birthday Problem Solved</title>
    <link href="https://r-statistics.co/Probability-Simulation-in-R.html"/>
    <id>https://r-statistics.co/Probability-Simulation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master probability simulation in R, dice rolls, card draws, and the birthday paradox. Runnable examples, theoretical formula comparisons, convergence plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Top 20 Probability Puzzles for Data Science Interviews</title>
    <link href="https://r-statistics.co/Probability-Puzzles-for-Interviews.html"/>
    <id>https://r-statistics.co/Probability-Puzzles-for-Interviews.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Probability interview questions solved in R: 20 puzzles from birthday and Monty Hall to coupon collector and Bayes, cracked by simulation with exact math.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Probability Distributions Exercises in R: 25 Real-World Problems</title>
    <link href="https://r-statistics.co/Probability-Distributions-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Probability-Distributions-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice probability distributions in R with 25 problems: normal, binomial, Poisson, exponential, t, chi-square, F. d/p/q/r prefixes, hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Prior Sensitivity Analysis in R: Does the Prior Matter?</title>
    <link href="https://r-statistics.co/Prior-Sensitivity-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Prior-Sensitivity-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Prior sensitivity analysis in R: refit a Bayesian model under several priors and check if the conclusion holds. Learn exactly when the prior matters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Prior Predictive Checks in R: Test Priors First</title>
    <link href="https://r-statistics.co/Prior-Predictive-Checks-in-R.html"/>
    <id>https://r-statistics.co/Prior-Predictive-Checks-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Your priors imply predictions about the outcome before any data. Simulating prior predictives in R reveals whether your priors quietly allow impossible values.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Prediction Intervals in R: Quantify Forecast Uncertainty</title>
    <link href="https://r-statistics.co/Prediction-Intervals-in-R.html"/>
    <id>https://r-statistics.co/Prediction-Intervals-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build prediction intervals in R: use predict() for regression, forecast() for time series, see why they widen with horizon, and check their real coverage.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pre-Registration for R Analysis: OSF, AsPredicted &amp; Analysis Plans</title>
    <link href="https://r-statistics.co/Pre-Registration-for-R-Analysis.html"/>
    <id>https://r-statistics.co/Pre-Registration-for-R-Analysis.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Pre-registration commits you to an analysis plan before seeing results. Learn how to write one, where to register (OSF, AsPredicted), and handle deviations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pre-Analysis Plans in R: Commit Before You Analyze</title>
    <link href="https://r-statistics.co/Pre-Analysis-Plans-in-R.html"/>
    <id>https://r-statistics.co/Pre-Analysis-Plans-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Write a pre-analysis plan in R with the preregr and prereg packages. Lock hypotheses, freeze your analysis code, and avoid p-hacking before you see the data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Power Analysis by Simulation in R</title>
    <link href="https://r-statistics.co/Power-by-Simulation-in-R.html"/>
    <id>https://r-statistics.co/Power-by-Simulation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn power analysis by simulation in R. Estimate the statistical power and sample size any study design needs by simulating data and counting significant runs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Power Analysis for ANOVA in R (pwr + Simulation)</title>
    <link href="https://r-statistics.co/Power-Analysis-for-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Power-Analysis-for-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Power analysis for ANOVA in R: use pwr.anova.test() to find sample size, interpret Cohen's f effect size, and validate with a Monte Carlo simulation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Power Analysis Exercises in R: 18 Solved Problems</title>
    <link href="https://r-statistics.co/Power-Analysis-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Power-Analysis-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 18 power analysis problems in R with the pwr package: t-tests, ANOVA, proportions, regression. Sample size and power calculations with full solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Posterior Predictive Checks in R, in 5 Minutes</title>
    <link href="https://r-statistics.co/Posterior-Predictive-Checks-in-R.html"/>
    <id>https://r-statistics.co/Posterior-Predictive-Checks-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Posterior predictive checks simulate fake datasets from the fitted Bayesian model and compare to the observed data. Spot a broken fit in five minutes flat.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Post-Hoc Tests Exercises in R: 18 Tukey &amp;amp; Bonferroni Problems</title>
    <link href="https://r-statistics.co/Post-Hoc-Tests-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Post-Hoc-Tests-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 18 post-hoc tests exercises in R: Tukey HSD, Bonferroni, Holm, p.adjust, two-way interactions, and Kruskal-Wallis follow-ups, with worked solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ANOVA Post-Hoc Tests in R: Tukey vs Bonferroni</title>
    <link href="https://r-statistics.co/Post-Hoc-Tests-After-ANOVA.html"/>
    <id>https://r-statistics.co/Post-Hoc-Tests-After-ANOVA.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Tukey HSD or Bonferroni after ANOVA: which post-hoc test to use and when, with runnable R code and plain readings of every output table.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Positron vs RStudio: Should You Switch? A Verdict</title>
    <link href="https://r-statistics.co/Positron-vs-RStudio.html"/>
    <id>https://r-statistics.co/Positron-vs-RStudio.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Posit's Positron IDE promises a unified R and Python experience. Here is the honest feature-by-feature comparison with RStudio, and when each one is the right choice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Populations, Samples and Sampling Bias in R</title>
    <link href="https://r-statistics.co/Populations-Samples-and-Bias-in-R.html"/>
    <id>https://r-statistics.co/Populations-Samples-and-Bias-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn populations vs samples and parameters vs statistics, and watch how sampling bias distorts estimates, with runnable R code you run in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Population Pyramids and Diverging Bars in ggplot2</title>
    <link href="https://r-statistics.co/Population-Pyramids-and-Diverging-Bars-in-R.html"/>
    <id>https://r-statistics.co/Population-Pyramids-and-Diverging-Bars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build diverging bar charts and population pyramids in R with ggplot2. Center values, color by sign, negate one group, and fix the axis labels step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Polynomial and Spline Regression in R (How-To)</title>
    <link href="https://r-statistics.co/Polynomial-and-Spline-Regression-in-R.html"/>
    <id>https://r-statistics.co/Polynomial-and-Spline-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>When relationships curve, linear regression fails. Learn poly() for polynomials, bs() for B-splines, and mgcv::gam() for smooth curves with data-driven knots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Poisson vs Negative Binomial Regression in R</title>
    <link href="https://r-statistics.co/Poisson-and-Negative-Binomial-Regression.html"/>
    <id>https://r-statistics.co/Poisson-and-Negative-Binomial-Regression.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Step-by-step tutorial on Poisson &amp; negative binomial regression in R. Includes working code examples, interpretation guidance, and common mistakes to avoid.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Poisson Regression in R: Model Count Data Right</title>
    <link href="https://r-statistics.co/Poisson-Regression-in-R.html"/>
    <id>https://r-statistics.co/Poisson-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use Poisson regression in R for count outcomes. Fit with glm(family=poisson), add offsets for exposure, test overdispersion, switch to negative binomial.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Poisson Regression Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/Poisson-Regression-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Poisson-Regression-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty Poisson regression exercises in R covering glm fitting, rate offsets, dispersion checks, quasi-Poisson and negative binomial, with hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Poisson Distribution Exercises in R (16 Problems)</title>
    <link href="https://r-statistics.co/Poisson-Distribution-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Poisson-Distribution-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sixteen Poisson distribution exercises in R covering dpois, ppois, qpois, rpois, fitdistr, and poisson.test with full runnable solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Point Estimation in R: What Makes an Estimator Good? Bias, Variance, and MSE</title>
    <link href="https://r-statistics.co/Point-Estimation-in-R.html"/>
    <id>https://r-statistics.co/Point-Estimation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>What makes a good estimator? Learn how bias, variance, and MSE quantify estimator quality, and simulate sampling distributions in R to see the tradeoff.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Plotting Big Data in R: Overplotting, Binning, scattermore</title>
    <link href="https://r-statistics.co/Plotting-Big-Data-in-R.html"/>
    <id>https://r-statistics.co/Plotting-Big-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Overplotting turns a big scatter plot into a solid blob. Learn to plot millions of points in R with transparency, sampling, hexbin binning and scattermore.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Plot Templates in R: Functions that Return ggplots</title>
    <link href="https://r-statistics.co/Plot-Templates-and-Functions-in-R.html"/>
    <id>https://r-statistics.co/Plot-Templates-and-Functions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to write R functions that build and return ggplot objects. Pass column names with curly-curly and .data, batch-make charts, and reuse one style.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pie Chart and Donut Chart in R with ggplot2</title>
    <link href="https://r-statistics.co/Pie-Donut-Chart-in-R.html"/>
    <id>https://r-statistics.co/Pie-Donut-Chart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create pie and donut charts in R with ggplot2 coord_polar(). Learn to add labels, customize colors, make donut holes, and know when pie charts mislead vs. communicate clearly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pie Charts and Polar Coordinates in ggplot2: When and How</title>
    <link href="https://r-statistics.co/Pie-Charts-and-Polar-Coordinates-in-R.html"/>
    <id>https://r-statistics.co/Pie-Charts-and-Polar-Coordinates-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make pie charts, donut charts and polar plots in ggplot2 with coord_polar and coord_radial. Add percentage labels and know when a pie beats a bar chart.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Permutation Tests in R: Exact p-Values via Randomization</title>
    <link href="https://r-statistics.co/Permutation-Tests-in-R.html"/>
    <id>https://r-statistics.co/Permutation-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run permutation tests in R to compute exact p-values by randomization, covering two-sample, paired, and correlation tests with coin and base R examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>PERMANOVA in R: Permutation ANOVA With vegan</title>
    <link href="https://r-statistics.co/Permutation-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Permutation-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run PERMANOVA in R with vegan's adonis2(): test ecological community differences across groups, check dispersion assumptions, and run pairwise comparisons.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Partial Correlation in R: Control for Confounders</title>
    <link href="https://r-statistics.co/Partial-Correlation-in-R.html"/>
    <id>https://r-statistics.co/Partial-Correlation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn partial correlation in R with the ppcor package. Use pcor() and pcor.test() to control for confounders, with code, output, and practical examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Parallel Computing in R Exercises: 20 Practice Problems</title>
    <link href="https://r-statistics.co/Parallel-Computing-in-R-Exercises.html"/>
    <id>https://r-statistics.co/Parallel-Computing-in-R-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty hands-on parallel computing in R problems with hidden solutions: parallel, future, furrr, doParallel, reproducible seeds, bootstrap workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Paired Designs in R: Before-After and Matched Pairs</title>
    <link href="https://r-statistics.co/Paired-Designs-in-R.html"/>
    <id>https://r-statistics.co/Paired-Designs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paired designs compare the same subjects before and after, or matched pairs. Learn the paired t-test, Wilcoxon signed-rank, effect size, and power in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pair Plots in R With GGally's ggpairs() Function</title>
    <link href="https://r-statistics.co/Pair-Plots-in-R.html"/>
    <id>https://r-statistics.co/Pair-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create pair plots in R with GGally ggpairs() to explore multivariate relationships. Customize panels, add color groups, and interpret correlation matrices.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>PCA in R: prcomp() Explained Step by Step</title>
    <link href="https://r-statistics.co/PCA-in-R.html"/>
    <id>https://r-statistics.co/PCA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run PCA in R with prcomp(): scale your data, read the rotation and sdev outputs, pick components from the scree plot, and interpret a biplot confidently.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>PCA Exercises in R: 20 Problems With Solutions</title>
    <link href="https://r-statistics.co/PCA-Exercises-in-R.html"/>
    <id>https://r-statistics.co/PCA-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practise PCA in R with 20 graded principal component analysis problems covering prcomp, scaling, scree plots, loadings, biplots, scores, regression on PCs, and SVD.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Outlier Removal in Peer Review</title>
    <link href="https://r-statistics.co/Outlier-Removal-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Outlier-Removal-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer said outliers were removed without justification. How to check whether your conclusion depends on the excluded points in R, and how to reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Outlier Detection in R: 4 Methods Compared</title>
    <link href="https://r-statistics.co/Outlier-Detection-in-R.html"/>
    <id>https://r-statistics.co/Outlier-Detection-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Outliers are extreme, erroneous, or interesting, the approach depends on which. Learn IQR fences, Z-scores, Mahalanobis distance, and when to remove.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ordinal Logistic Regression in R With polr()</title>
    <link href="https://r-statistics.co/Ordinal-Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Ordinal-Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit and interpret ordinal logistic regression in R using MASS::polr(). Covers the proportional odds assumption, Brant test, odds ratios, and predictions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ordinal Data in Peer Review</title>
    <link href="https://r-statistics.co/Ordinal-Data-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Ordinal-Data-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says you used a parametric test on ordinal data. How to check in R whether it actually changed your result, decide what to do, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Order Statistics in R: Quantiles From Theory Up</title>
    <link href="https://r-statistics.co/Order-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Order-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand order statistics in R: derive the distribution of the minimum, maximum, and k-th order statistic, then verify every formula through simulation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Optimal Experimental Design in R (AlgDesign)</title>
    <link href="https://r-statistics.co/Optimal-Experimental-Design-in-R.html"/>
    <id>https://r-statistics.co/Optimal-Experimental-Design-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build efficient experiments in R with AlgDesign. Learn D, A, and I-optimal criteria, optFederov(), blocking, and validation with hands-on R code examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Operator Overloading in R: Give Your S3 Objects Intuitive Behaviour</title>
    <link href="https://r-statistics.co/Operator-Overloading-in-R.html"/>
    <id>https://r-statistics.co/Operator-Overloading-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Define custom +, -, ==, [, print, and format methods for S3 objects in R so they behave naturally. Complete worked example building a physical units class.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Open Science with R: OSF Integration, Preprints &amp; Sharing Code</title>
    <link href="https://r-statistics.co/Open-Science-with-R.html"/>
    <id>https://r-statistics.co/Open-Science-with-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make your R research transparent and reusable: use the osfr package to upload data and code to OSF, get citable DOIs, and share preprints with confidence.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>One-Way ANOVA in R: A Complete Walkthrough</title>
    <link href="https://r-statistics.co/One-Way-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/One-Way-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit a one-way ANOVA in R with aov(), check homogeneity via Levene's test, interpret the F-statistic, and run Tukey HSD to find which groups truly differ.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>One-Sample Proportion z-Test in R: Large Sample Inference</title>
    <link href="https://r-statistics.co/One-Sample-Proportion-z-Test-in-R.html"/>
    <id>https://r-statistics.co/One-Sample-Proportion-z-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute a one-sample proportion z-test in R with large-sample inference. Manual z, prop.test(), Wilson CI, Cohen's h, and power in ~150 lines of code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Offsets and Exposure in Poisson Models in R</title>
    <link href="https://r-statistics.co/Offsets-and-Exposure-in-R.html"/>
    <id>https://r-statistics.co/Offsets-and-Exposure-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how offsets and exposure turn Poisson count models into rate models in R. Fit glm() with offset(log(exposure)), read rate ratios, and predict rates.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Odds Ratio vs Relative Risk in R: Which to Report</title>
    <link href="https://r-statistics.co/Odds-Ratios-and-Relative-Risk-in-R.html"/>
    <id>https://r-statistics.co/Odds-Ratios-and-Relative-Risk-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute and interpret odds ratios and relative risk in R with epitools and epiR. Covers 2x2 tables, confidence intervals, method choice, and forest plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>R OOP: S3 vs S4 vs R6, Pick in 3 Questions</title>
    <link href="https://r-statistics.co/OOP-in-R.html"/>
    <id>https://r-statistics.co/OOP-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R has four OOP systems with very different trade-offs. Answer 3 questions to pick the right one, S3, S4, R5, or R6, and start building confidently.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>OOP Design Patterns in R: Factory, Strategy &amp; Observer in R6</title>
    <link href="https://r-statistics.co/OOP-Design-Patterns-in-R.html"/>
    <id>https://r-statistics.co/OOP-Design-Patterns-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Implement Factory, Strategy, Observer, Singleton &amp; Builder design patterns in R using R6. Runnable examples, when to use each, and practical R6 idioms.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Normality and Variance Tests in R: Use With Care</title>
    <link href="https://r-statistics.co/Normality-and-Variance-Tests-in-R.html"/>
    <id>https://r-statistics.co/Normality-and-Variance-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Shapiro-Wilk, K-S, Anderson-Darling test normality; Levene's and Bartlett's test variance. Learn test power, Q-Q plots, when visuals beat formal tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Normal, t, F and Chi-Squared: When Each Arises in R</title>
    <link href="https://r-statistics.co/Normal-t-F-and-Chi-Squared-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Normal-t-F-and-Chi-Squared-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>How t, F and chi-squared arise from the normal, plus the chi-square large deviations rate function (s - 1 - log s)/2 derived step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Nonparametric Tests Exercises in R: 18 Practice Problems</title>
    <link href="https://r-statistics.co/Nonparametric-Tests-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Nonparametric-Tests-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 nonparametric tests exercises in R covering Wilcoxon, Mann-Whitney, Kruskal-Wallis, Friedman, post-hoc tests, and rank-based effect sizes with solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Nonparametric Density Estimation in R: KDE, Bandwidth Selection</title>
    <link href="https://r-statistics.co/Nonparametric-Density-Estimation-in-R.html"/>
    <id>https://r-statistics.co/Nonparametric-Density-Estimation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master nonparametric density estimation in R: KDE with density(), bandwidth selection (bw.nrd0, bw.SJ, bw.ucv), and ggplot2 plotting with full examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Nonlinear Relationships in Peer Review</title>
    <link href="https://r-statistics.co/Nonlinear-Relationships-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Nonlinear-Relationships-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says the relationship in your regression is not linear. How to test linearity in R, decide whether the curvature matters, and word your response.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Non-Normal Residuals in Peer Review</title>
    <link href="https://r-statistics.co/Non-Normal-Residuals-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Non-Normal-Residuals-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer flagged non-normal residuals in your regression. How to check normality in R, decide whether it threatens your p-values, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Non-Independent Observations in Peer Review</title>
    <link href="https://r-statistics.co/Non-Independent-Observations-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Non-Independent-Observations-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your observations are not independent, from clustering or repeated measures. Check the intraclass correlation in R, decide if it matters, reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Reviewer says my control group is not comparable</title>
    <link href="https://r-statistics.co/Non-Comparable-Control-Groups-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Non-Comparable-Control-Groups-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your control group is not comparable to the treatment group. Check covariate overlap in R, decide whether adjustment can fix it, then reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Neyman-Pearson Lemma: Most Powerful Tests in R</title>
    <link href="https://r-statistics.co/Neyman-Pearson-Lemma-in-R.html"/>
    <id>https://r-statistics.co/Neyman-Pearson-Lemma-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master the Neyman-Pearson Lemma in R with runnable simulations. Build most powerful tests, derive UMP tests, and see exactly when UMP tests fail in practice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Neyman-Pearson Lemma, Explained With Examples in R</title>
    <link href="https://r-statistics.co/Neyman-Pearson-Lemma-in-R-2.html"/>
    <id>https://r-statistics.co/Neyman-Pearson-Lemma-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The Neyman-Pearson lemma stated and proved in plain language: the likelihood ratio test is most powerful, with a worked normal example in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Network Analysis Exercises in R: 20 Practice Problems with igraph</title>
    <link href="https://r-statistics.co/Network-Analysis-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Network-Analysis-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 hands-on network analysis exercises in R with igraph: build graphs, centrality, communities, shortest paths, components. Hidden solutions, real workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Negative Binomial Regression in R With glm.nb()</title>
    <link href="https://r-statistics.co/Negative-Binomial-Regression-in-R.html"/>
    <id>https://r-statistics.co/Negative-Binomial-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit negative binomial regression in R with MASS::glm.nb(). Diagnose overdispersion, interpret theta and IRRs, and beat Poisson on overdispersed count data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>NNETAR Model in R: Neural Network Time Series Forecasting</title>
    <link href="https://r-statistics.co/NNETAR-Model-in-R.html"/>
    <id>https://r-statistics.co/NNETAR-Model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit an NNETAR model in R with nnetar(). Learn what NNAR(p,P,k)[m] means, how the network builds a forecast, how to tune it, and when it beats ARIMA and ETS.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multivariate Time Series in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Multivariate-Time-Series-Course.html"/>
    <id>https://r-statistics.co/Multivariate-Time-Series-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn multivariate time series in R across six interactive lessons: fitting a vector autoregression, choosing the lag order, Granger causality, impulse response functions, cointegration and the VECM, and forecasting related series together.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multivariate Statistics in R: Distances and T2</title>
    <link href="https://r-statistics.co/Multivariate-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Multivariate-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn multivariate stats in R: Euclidean vs Mahalanobis distance, Hotelling's T² as the multivariate t-test, and why correlation structure changes answers.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multivariate Outliers in R: Mahalanobis Distance</title>
    <link href="https://r-statistics.co/Multivariate-Outlier-Detection-in-R.html"/>
    <id>https://r-statistics.co/Multivariate-Outlier-Detection-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect multivariate outliers in R with classical &amp; robust Mahalanobis distance, regression influence (Cook's, leverage, DFFITS), and a 4-step workflow.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multivariate Normal in R: Simulate With mvrnorm()</title>
    <link href="https://r-statistics.co/Multivariate-Normal-Distribution-in-R.html"/>
    <id>https://r-statistics.co/Multivariate-Normal-Distribution-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Simulate multivariate normal data in R with MASS::mvrnorm. Build covariance matrices, visualize bivariate contours &amp; ellipses, check empirical moments.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Testing Exercises in R (18 Solved)</title>
    <link href="https://r-statistics.co/Multiple-Testing-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Testing-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 18 multiple testing problems in R: Bonferroni, Holm, BH, BY, pairwise.t.test, and simulation-based FDR with worked solutions, runnable inline.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Sub-Daily Forecasting in R: the Multiple-Seasonality Playbook</title>
    <link href="https://r-statistics.co/Multiple-Seasonality-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Seasonality-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast half-hourly and hourly data in R. Model daily and weekly seasonality together with msts, MSTL, Fourier terms and TBATS, then score the winner.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Regression in R: How to Build, Interpret, and Refine a Real Model</title>
    <link href="https://r-statistics.co/Multiple-Regression-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build, interpret, and refine a multiple regression in R. Add predictors, read partial coefficients, test significance, and drop weak variables step by step.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Regression Exercises in R: 17 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Multiple-Regression-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Regression-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>17 multiple regression exercises in R with runnable solutions: fit models, interpret partial slopes, run anova(), check VIF, diagnose residuals, predict.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Run Multiple R Versions Side by Side, Safely</title>
    <link href="https://r-statistics.co/Multiple-R-Versions.html"/>
    <id>https://r-statistics.co/Multiple-R-Versions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Install multiple R versions on one machine and switch between them cleanly using rig and renv. Keep projects isolated so old code and new code both keep working.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Imputation with mice in R</title>
    <link href="https://r-statistics.co/Multiple-Imputation-mice-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Imputation-mice-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Handle missing data in R with the mice package: impute, analyze, and pool with Rubin's rules. Runnable examples plus MAR/MCAR/MNAR and diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Correspondence Analysis in R (MCA)</title>
    <link href="https://r-statistics.co/Multiple-Correspondence-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Correspondence-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run multiple correspondence analysis in R with FactoMineR. Build a factor map of many categorical variables, read it, and pick how many dimensions matter.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Testing in R: Control False Discoveries</title>
    <link href="https://r-statistics.co/Multiple-Comparisons-in-R.html"/>
    <id>https://r-statistics.co/Multiple-Comparisons-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Running 20 tests at alpha=0.05 expects 1 false positive by chance. Learn Bonferroni, Benjamini-Hochberg FDR, and Storey q-value in R with p.adjust() examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multiple Comparisons in Peer Review</title>
    <link href="https://r-statistics.co/Multiple-Comparisons-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Multiple-Comparisons-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer asked you to correct for multiple comparisons. What the objection means, how to check it in R with p.adjust, and how to word your response.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multinomial and Ordinal Logistic Regression in R</title>
    <link href="https://r-statistics.co/Multinomial-and-Ordinal-Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Multinomial-and-Ordinal-Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Step-by-step tutorial on multinomial and ordinal logistic regression in R using nnet::multinom() and MASS::polr(): fit, interpret, predict probabilities.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multinomial Logistic Regression in R (multinom)</title>
    <link href="https://r-statistics.co/Multinomial-Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Multinomial-Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit multinomial logistic regression in R with nnet::multinom(). Set reference level, compute Wald p-values, relative risk ratios, and predict classes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multilevel Models in R With brms, Explained</title>
    <link href="https://r-statistics.co/Multilevel-Models-in-R.html"/>
    <id>https://r-statistics.co/Multilevel-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit nested and crossed multilevel Bayesian models with brms. Split within and between effects, read variance components, and compute the intraclass correlation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multidimensional Scaling (MDS) in R: A How-To</title>
    <link href="https://r-statistics.co/Multidimensional-Scaling-in-R.html"/>
    <id>https://r-statistics.co/Multidimensional-Scaling-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>MDS projects high-dimensional distances to 2D. Learn classical MDS with cmdscale(), NMDS via vegan::metaMDS, plus stress and Shepard plot diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multicollinearity in R: Detect It With VIF</title>
    <link href="https://r-statistics.co/Multicollinearity-in-R.html"/>
    <id>https://r-statistics.co/Multicollinearity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Correlated predictors corrupt lm() coefficients. Detect multicollinearity in R with car::vif(), interpret VIF thresholds, and fix with ridge, PCA, or removal.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multicollinearity in Peer Review</title>
    <link href="https://r-statistics.co/Multicollinearity-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Multicollinearity-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer flagged correlated predictors in your regression. How to check multicollinearity in R, decide whether it actually matters, and word your response.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Multi-Panel Figures in R: a One-Page Brief in ggplot2</title>
    <link href="https://r-statistics.co/Multi-Panel-Figures-in-R.html"/>
    <id>https://r-statistics.co/Multi-Panel-Figures-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build multi-panel figures in R with ggplot2 and patchwork. Learn to compose several plots into one publication-ready page with a shared legend and panel tags.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Moving Averages in R: Simple, Weighted, and Exponential</title>
    <link href="https://r-statistics.co/Moving-Averages-in-R.html"/>
    <id>https://r-statistics.co/Moving-Averages-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to compute simple, weighted, and exponential moving averages in R. Smooth noisy time series, extract trends, and forecast with clear, runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Moore-Penrose Pseudoinverse in R: ginv() Explained</title>
    <link href="https://r-statistics.co/Moore-Penrose-Pseudoinverse-in-R.html"/>
    <id>https://r-statistics.co/Moore-Penrose-Pseudoinverse-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the Moore-Penrose pseudoinverse in R with MASS::ginv(). Solve rank-deficient and least-squares systems where solve() fails, with worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>MGFs vs Characteristic Functions, Explained in R</title>
    <link href="https://r-statistics.co/Moment-Generating-Functions-vs-Characteristic-Functions.html"/>
    <id>https://r-statistics.co/Moment-Generating-Functions-vs-Characteristic-Functions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare moment generating functions vs characteristic functions in R: when each exists, computing moments, sums of independent variables, and CLT proofs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Moment Generating Functions in R: Theory, Computation &amp; Applications</title>
    <link href="https://r-statistics.co/Moment-Generating-Functions-in-R.html"/>
    <id>https://r-statistics.co/Moment-Generating-Functions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn moment generating functions in R: definitions, derivatives for moments, MGFs of common distributions, sums of independent variables, and uniqueness.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Model Fit Statistics in Peer Review</title>
    <link href="https://r-statistics.co/Model-Fit-Statistics-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Model-Fit-Statistics-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says model fit statistics are not reported and asks how much variance the model explains. How to check fit in R and word the reply for each case.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mixed Models in Peer Review</title>
    <link href="https://r-statistics.co/Mixed-Models-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Mixed-Models-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says you should have used a mixed model. Check in R whether the random effect is warranted, decide if it changes your result, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mixed Model Inference in R: p-Values and Bootstrap</title>
    <link href="https://r-statistics.co/Mixed-Model-Inference-in-R.html"/>
    <id>https://r-statistics.co/Mixed-Model-Inference-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Mixed models in R skip p-values by default. Get honest inference with likelihood ratio tests, Satterthwaite and Kenward-Roger df, and the parametric bootstrap.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mixed-Effects Models Exercises in R: 18 Practice Problems</title>
    <link href="https://r-statistics.co/Mixed-Effects-Models-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Mixed-Effects-Models-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice mixed-effects models in R with 18 hands-on problems: lme4 intercepts and slopes, nested designs, GLMM, REML and diagnostics. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mixed ANOVA in R: Between and Within, Combined</title>
    <link href="https://r-statistics.co/Mixed-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Mixed-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a mixed ANOVA in R with ez::ezANOVA(): pick the right error terms for between and within-subject factors, handle sphericity, and follow up interactions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Values in Time Series: Imputation That Keeps the Season</title>
    <link href="https://r-statistics.co/Missing-Values-in-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Missing-Values-in-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fill gaps in an R time series without wrecking its autocorrelation. Profile the gaps, compare locf, spline, na.interp and Kalman, and score them honestly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Values in R: Find, Remove and Impute NA</title>
    <link href="https://r-statistics.co/Missing-Values-in-R-Detect-Count-Remove-Impute-NA.html"/>
    <id>https://r-statistics.co/Missing-Values-in-R-Detect-Count-Remove-Impute-NA.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Handle NA values in R confidently. Use is.na(), complete.cases(), na.omit(), and mice imputation with guidance on which approach each situation calls for.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Power Analysis in Peer Review</title>
    <link href="https://r-statistics.co/Missing-Power-Analysis-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Missing-Power-Analysis-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says no power analysis was done or your sample size is not justified. How to answer honestly in R, without an invalid post-hoc power calculation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Effect Sizes in Peer Review</title>
    <link href="https://r-statistics.co/Missing-Effect-Sizes-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Missing-Effect-Sizes-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says to report effect sizes, not just p-values. How to compute an effect size in R, read whether your result is meaningful, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Data in R Exercises: 18 Real-World NA Practice Problems</title>
    <link href="https://r-statistics.co/Missing-Data-in-R-Exercises.html"/>
    <id>https://r-statistics.co/Missing-Data-in-R-Exercises.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practise missing data handling in R with 18 NA detection, removal, and imputation problems and worked solutions, from is.na audits to grouped imputation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Visualise Missing Data in R With naniar (3 Lines)</title>
    <link href="https://r-statistics.co/Missing-Data-Visualization-in-R-naniar.html"/>
    <id>https://r-statistics.co/Missing-Data-Visualization-in-R-naniar.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>naniar's vis_miss(), gg_miss_var(), and upset plots show where NAs hide, how many exist, and whether they cluster -- guiding your imputation strategy.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Data Types in R: MCAR, MAR, MNAR</title>
    <link href="https://r-statistics.co/Missing-Data-Types-in-R-MCAR-MAR-MNAR.html"/>
    <id>https://r-statistics.co/Missing-Data-Types-in-R-MCAR-MAR-MNAR.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>MCAR, MAR or MNAR? The missing data mechanism you assume decides whether complete-case analysis is safe in R, what a reviewer will ask, and how to report it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Data Reporting in Peer Review</title>
    <link href="https://r-statistics.co/Missing-Data-Reporting-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Missing-Data-Reporting-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your missing data handling is not described. How to count what is missing in R, defend or fix complete-case analysis, and word each reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Missing Confidence Intervals in Peer Review</title>
    <link href="https://r-statistics.co/Missing-Confidence-Intervals-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Missing-Confidence-Intervals-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your confidence intervals are missing. How to add a 95% CI in R for a mean, a proportion or a regression coefficient, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Optimal Forecast Reconciliation in R: MinT with fable</title>
    <link href="https://r-statistics.co/MinT-Reconciliation-in-R.html"/>
    <id>https://r-statistics.co/MinT-Reconciliation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn MinT optimal forecast reconciliation in R with fable. Compare ols, wls_var, wls_struct and mint_shrink, rebuild the G matrix by hand, and see which wins.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Method of Moments in R: Fit Distributions Without Calculus</title>
    <link href="https://r-statistics.co/Method-of-Moments-in-R.html"/>
    <id>https://r-statistics.co/Method-of-Moments-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Match sample moments to theoretical ones to estimate distribution parameters, no calculus required. Fit normal, gamma, beta, and exponential models in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Memoization in R: Cache Expensive Function Calls</title>
    <link href="https://r-statistics.co/Memoization-in-R.html"/>
    <id>https://r-statistics.co/Memoization-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Memoize R functions with memoise(). Cache expensive calls, speed up APIs, web scraping, and Shiny apps. Learn cache_mem, cache_disk, forget, and pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Measures of Association in R: Which One to Use</title>
    <link href="https://r-statistics.co/Measures-of-Association-in-R.html"/>
    <id>https://r-statistics.co/Measures-of-Association-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A hands-on tutorial on measures of association in R: Pearson r, Cramer's V, Phi, Kendall tau-b, Spearman, Goodman-Kruskal gamma, and Yule's Q examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Measurement Reliability in R: Alpha, ICC, Agreement</title>
    <link href="https://r-statistics.co/Measurement-Reliability-in-R.html"/>
    <id>https://r-statistics.co/Measurement-Reliability-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn measurement reliability in R. Compute Cronbach's alpha, the intraclass correlation (ICC), and Cohen's kappa by hand, then verify with psych and irr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mean vs Median, SD vs IQR: Choosing Center and Spread</title>
    <link href="https://r-statistics.co/Mean-vs-Median-SD-vs-IQR.html"/>
    <id>https://r-statistics.co/Mean-vs-Median-SD-vs-IQR.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn when to use the mean vs median and standard deviation vs IQR in R. See how outliers and skew decide your choice of center and spread, with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>McNemar's Test in R: Paired Categorical Data (How-To)</title>
    <link href="https://r-statistics.co/McNemars-Test-in-R.html"/>
    <id>https://r-statistics.co/McNemars-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run McNemar's test in R for paired categorical data and matched case-control studies. Build 2x2 tables, use mcnemar.test(), interpret discordant pairs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Maximum Likelihood in R: Intuition to Real Fits</title>
    <link href="https://r-statistics.co/Maximum-Likelihood-Estimation-in-R.html"/>
    <id>https://r-statistics.co/Maximum-Likelihood-Estimation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>MLE picks parameters that make your data most probable. Build geometric intuition, then fit normal, Poisson, and custom models in R with optim() and mle().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Matrix Operations in R: Multiply, Invert, Transpose</title>
    <link href="https://r-statistics.co/Matrix-Operations-in-R.html"/>
    <id>https://r-statistics.co/Matrix-Operations-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master matrix operations in R: create with matrix(), transpose with t(), multiply with %*%, invert with solve(), plus determinants and rank for stats.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Matrix Derivatives and the Hessian, Explained in R</title>
    <link href="https://r-statistics.co/Matrix-Derivatives-and-the-Hessian-in-R.html"/>
    <id>https://r-statistics.co/Matrix-Derivatives-and-the-Hessian-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute matrix derivatives in R: gradient, Hessian, and Newton-Raphson optimization with deriv(), numDeriv, and a from-scratch update loop verified vs glm().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Margin of Error and Sample Size Planning in R</title>
    <link href="https://r-statistics.co/Margin-of-Error-in-R.html"/>
    <id>https://r-statistics.co/Margin-of-Error-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn what a margin of error means and how to plan the sample size you need in R. Runnable examples for proportions and means, with the formulas explained.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Mann-Whitney U Test in R: When and How to Run It</title>
    <link href="https://r-statistics.co/Mann-Whitney-U-Test-in-R.html"/>
    <id>https://r-statistics.co/Mann-Whitney-U-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a Mann-Whitney U test in R with wilcox.test(): compare two independent groups without normality, plus effect size, ties handling, and reporting tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Machine Learning and Deep Forecasting in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Machine-Learning-and-Deep-Forecasting-Course.html"/>
    <id>https://r-statistics.co/Machine-Learning-and-Deep-Forecasting-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn machine learning and deep forecasting in R across seven interactive lessons: one global model across many series, machine learning with modeltime, boosted trees, neural networks with NNETAR, deep learning architectures, and forecast combinations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Machine Learning Exercises in R: 50 Real Practice Problems</title>
    <link href="https://r-statistics.co/Machine-Learning-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Machine-Learning-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice machine learning in R with 50 hands-on exercises: train/test splits, regression, classification, tuning, feature engineering, and evaluation. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>MSTL in R: Decompose Multiple Seasonalities</title>
    <link href="https://r-statistics.co/MSTL-in-R.html"/>
    <id>https://r-statistics.co/MSTL-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Half-hourly data has a daily and a weekly cycle. MSTL in R pulls both apart at once: build msts objects, run mstl(), tune s.window, and check the result.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ML Interview Questions in R: 25 Solved Problems</title>
    <link href="https://r-statistics.co/ML-Interview-Questions-in-R.html"/>
    <id>https://r-statistics.co/ML-Interview-Questions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Machine learning interview questions in R, solved and runnable: bias-variance, data leakage, cross-validation, regularization, tree tuning, and classification metrics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Build MCMC From Scratch in R: The 50-Line Algorithm Behind brms and Stan</title>
    <link href="https://r-statistics.co/MCMC-in-R.html"/>
    <id>https://r-statistics.co/MCMC-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build MCMC in R from scratch with a 50-line Metropolis-Hastings sampler. See exactly what brms and Stan do under the hood, with runnable code and diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>MCMC Diagnostics in R: 4 Tests for Chain Convergence</title>
    <link href="https://r-statistics.co/MCMC-Diagnostics-in-R.html"/>
    <id>https://r-statistics.co/MCMC-Diagnostics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Check MCMC convergence in R with four diagnostics: R-hat, effective sample size, trace plots, and divergences. Compute each by hand, then with posterior.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>MANOVA in R: Test Multiple Outcomes at Once</title>
    <link href="https://r-statistics.co/MANOVA-in-R.html"/>
    <id>https://r-statistics.co/MANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>MANOVA in R: use manova() to test multiple dependent variables together, choose Pillai vs Wilks vs Roy test statistics, and interpret univariate follow-ups.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>MANOVA Post-Hoc Analysis: Univariate Follow-Up Tests in R</title>
    <link href="https://r-statistics.co/MANOVA-Post-Hoc-Analysis.html"/>
    <id>https://r-statistics.co/MANOVA-Post-Hoc-Analysis.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run univariate ANOVAs after a significant MANOVA in R: apply Bonferroni and Holm corrections, run TukeyHSD pairwise contrasts, and report effect sizes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>What the M Competitions Teach About Forecasting</title>
    <link href="https://r-statistics.co/M-Competition-Lessons-in-R.html"/>
    <id>https://r-statistics.co/M-Competition-Lessons-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The M competitions are the biggest forecasting contests ever run. See their core lessons in R: simple models compete, combining forecasts wins, test honestly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Loops vs Vectorization Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/Loops-vs-Vectorization-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Loops-vs-Vectorization-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R vectorization exercises: 20 scenario-based practice problems on translating loops to vectorized code, apply family, preallocation, and benchmarking.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Lollipop Chart in R: A Cleaner Alternative to Bar Charts</title>
    <link href="https://r-statistics.co/Lollipop-Chart-in-R.html"/>
    <id>https://r-statistics.co/Lollipop-Chart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create lollipop charts in R with ggplot2 using geom_segment() and geom_point(). Learn ordering, horizontal layout, color encoding, diverging lollipops, and when lollipops beat bar charts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ROC, AUC and Odds Ratios for Logistic Models in R</title>
    <link href="https://r-statistics.co/Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit logistic regression in R with glm(family=binomial). Interpret log-odds and odds ratios, evaluate with ROC and AUC via pROC, then check calibration.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Logistic Regression in R: A Complete Guide</title>
    <link href="https://r-statistics.co/Logistic-Regression-in-R-2.html"/>
    <id>https://r-statistics.co/Logistic-Regression-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master logistic regression in R: fit glm() models, interpret odds ratios, run residual and VIF diagnostics, evaluate with ROC/AUC, and avoid common pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Logistic Regression Exercises in R: 25 Practice Problems</title>
    <link href="https://r-statistics.co/Logistic-Regression-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Logistic-Regression-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Logistic regression R exercises: 25 binary classification problems covering glm(), odds ratios, ROC/AUC, threshold tuning, and end-to-end model workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Log-Linear Models in R: Analyze Count Tables</title>
    <link href="https://r-statistics.co/Log-Linear-Models-in-R.html"/>
    <id>https://r-statistics.co/Log-Linear-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit log-linear models in R with glm(poisson). Model contingency tables, test independence vs. association, and pick the simplest adequate model with code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Link Function Choice in Peer Review</title>
    <link href="https://r-statistics.co/Link-Function-Choice-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Link-Function-Choice-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your link function or error distribution is not justified. Check the family and link in R, decide if the result changes, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Linear Regression Exercises in R: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Linear-Regression-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Linear-Regression-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fifty linear regression exercises in R covering fit, diagnostics, transformations, model comparison, and prediction. Hidden solutions, real datasets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Linear Regression Assumptions in R: The 5 Checks</title>
    <link href="https://r-statistics.co/Linear-Regression-Assumptions-in-R.html"/>
    <id>https://r-statistics.co/Linear-Regression-Assumptions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Test all 5 linear regression assumptions in R with plot.lm(), VIF, Breusch-Pagan, and Durbin-Watson, plus the exact base R remedy when one of them fails.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>LDA in R: Linear Discriminant Analysis (How-To)</title>
    <link href="https://r-statistics.co/Linear-Discriminant-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Linear-Discriminant-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn LDA in R with MASS::lda(). Project data to maximise between-group separation, interpret discriminant functions, and evaluate with confusion matrices.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Likelihood Ratio vs Wald vs Score Tests in R</title>
    <link href="https://r-statistics.co/Likelihood-Ratio-Wald-and-Score-Tests-in-R.html"/>
    <id>https://r-statistics.co/Likelihood-Ratio-Wald-and-Score-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare likelihood ratio, Wald, and score tests in R. Run all three on the same GLM, understand when they disagree, and learn which to pick in practice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Likelihood Ratio Tests and Pivotal Methods, Explained</title>
    <link href="https://r-statistics.co/Likelihood-Ratio-Tests-and-Pivotal-Methods.html"/>
    <id>https://r-statistics.co/Likelihood-Ratio-Tests-and-Pivotal-Methods.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Likelihood ratio tests worked in full: the Pareto shape test with unknown scale via Wilks' theorem, and confidence sets by inverting the LRT.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Law of Large Numbers vs CLT: The Real Difference</title>
    <link href="https://r-statistics.co/Law-of-Large-Numbers-vs-CLT-in-R.html"/>
    <id>https://r-statistics.co/Law-of-Large-Numbers-vs-CLT-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>LLN says sample means converge to the population mean. CLT says their distribution becomes normal. Master both with runnable R simulations in this tutorial.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Latin Square Design in R: Two-Way Blocking for Efficient Experiments</title>
    <link href="https://r-statistics.co/Latin-Square-Design-in-R.html"/>
    <id>https://r-statistics.co/Latin-Square-Design-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a Latin Square Design in R with aov(): two-way blocking, ANOVA decomposition, diagnostics, post-hoc tests, and relative efficiency vs RCBD and CRD.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>LLM Agents in R: A Hands-On Interactive Lesson</title>
    <link href="https://r-statistics.co/LLM-Agents-Course.html"/>
    <id>https://r-statistics.co/LLM-Agents-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn LLM agents from scratch in one interactive lesson: tools, the ReAct loop of Thought, Action and Observation, guard rails, and building one in R with ellmer.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Kruskal-Wallis Test in R: How to Run and Report It</title>
    <link href="https://r-statistics.co/Kruskal-Wallis-Test-in-R.html"/>
    <id>https://r-statistics.co/Kruskal-Wallis-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Perform the Kruskal-Wallis test in R when ANOVA assumptions fail. Compute eta-squared-H effect size and run Dunn's post-hoc with Bonferroni correction.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Kruskal-Wallis Test: Nonparametric ANOVA in R</title>
    <link href="https://r-statistics.co/Kruskal-Wallis-Test-in-R-2.html"/>
    <id>https://r-statistics.co/Kruskal-Wallis-Test-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Kruskal-Wallis test in R: nonparametric ANOVA for k independent samples, with Dunn post-hoc, eta-squared effect size, assumptions, and worked example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Kronecker Products in R: Where They Show Up</title>
    <link href="https://r-statistics.co/Kronecker-Products-in-R.html"/>
    <id>https://r-statistics.co/Kronecker-Products-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute Kronecker products in R with %x% and kronecker(). Build block matrices, model repeated-measures covariance, and apply the vec trick to mixed models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Kolmogorov-Smirnov Two-Sample Test in R (How-To)</title>
    <link href="https://r-statistics.co/Kolmogorov-Smirnov-Two-Sample-Test-in-R.html"/>
    <id>https://r-statistics.co/Kolmogorov-Smirnov-Two-Sample-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use the Kolmogorov-Smirnov two-sample test in R with ks.test() to compare two distributions. Visualize ECDFs, interpret D and p-values, handle ties.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Kalman Filter in R: FKF and KFAS for State Space Models</title>
    <link href="https://r-statistics.co/Kalman-Filter-in-R.html"/>
    <id>https://r-statistics.co/Kalman-Filter-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the Kalman filter in R from scratch: state space models, the predict-update cycle, a hand-coded filter, and worked FKF and KFAS forecasting examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Justifying Your Choice of Statistical Test</title>
    <link href="https://r-statistics.co/Justifying-Your-Choice-of-Statistical-Test.html"/>
    <id>https://r-statistics.co/Justifying-Your-Choice-of-Statistical-Test.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer asks why you used this test and not another. How to justify your choice of statistical test from your data, defend it, and report it in the Methods.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Jonckheere-Terpstra Test in R: Ordered Alternatives in k Samples</title>
    <link href="https://r-statistics.co/Jonckheere-Terpstra-Test-in-R.html"/>
    <id>https://r-statistics.co/Jonckheere-Terpstra-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run the Jonckheere-Terpstra test in R to detect ordered trends across k groups. Worked clinfun example, p-value methods, and Kruskal-Wallis comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Join and Reshape Data in R: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/Join-Reshape-Course.html"/>
    <id>https://r-statistics.co/Join-Reshape-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Combine and reshape any dataset in four interactive lessons: every join type, pivoting long and wide, splitting and fuzzy-matching messy columns, and rectangling nested data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Jackknife Resampling in R: Leave-One-Out Bias Correction</title>
    <link href="https://r-statistics.co/Jackknife-Resampling-in-R.html"/>
    <id>https://r-statistics.co/Jackknife-Resampling-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn jackknife resampling in R: leave-one-out bias correction, standard errors, pseudo-values, and t-based confidence intervals with base R examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Is R Worth Learning in 2026? The Honest Answer [Data]</title>
    <link href="https://r-statistics.co/Is-R-Worth-Learning-in-2026.html"/>
    <id>https://r-statistics.co/Is-R-Worth-Learning-in-2026.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Whether R is worth learning in 2026, answered with real job-market and usage data: where R wins, where Python wins, and how to decide for your career.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Intervention, Causal Impact and Anomaly Detection in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Intervention-Causal-Impact-and-Anomaly-Detection-Course.html"/>
    <id>https://r-statistics.co/Intervention-Causal-Impact-and-Anomaly-Detection-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to measure events and spot unusual behaviour in time series across five interactive lessons: intervention analysis, counterfactual forecasts, changepoint detection, anomaly detection and handling outliers in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interpret lm() Output: Every Number Explained</title>
    <link href="https://r-statistics.co/Interpreting-Regression-Output-Completely.html"/>
    <id>https://r-statistics.co/Interpreting-Regression-Output-Completely.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Decode every number in R's lm() summary: residuals, coefficients, Std. Error, t-values, p-values, R-squared, F-statistic. Interactive examples you can run.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interpreting PCA Results: Loadings and Scores in R</title>
    <link href="https://r-statistics.co/Interpreting-PCA-Results-in-R.html"/>
    <id>https://r-statistics.co/Interpreting-PCA-Results-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Confused by prcomp() output? Learn what loadings, scores, and variance explained mean in R, with runnable examples on the classic USArrests dataset.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interactive Maps in R With leaflet (Tutorial)</title>
    <link href="https://r-statistics.co/Interactive-Maps-in-R-with-leaflet.html"/>
    <id>https://r-statistics.co/Interactive-Maps-in-R-with-leaflet.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>leaflet creates interactive web maps in R. Learn addMarkers(), addPolygons(), tile layers, popups with HTML, and addHeatmap() for spatial visualization.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interaction Terms in Peer Review</title>
    <link href="https://r-statistics.co/Interaction-Terms-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Interaction-Terms-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says you claimed an interaction without testing the interaction term. Fit the cross term, test it directly in one model, then word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interaction Effects in R: Test and Interpret Them</title>
    <link href="https://r-statistics.co/Interaction-Effects-in-R.html"/>
    <id>https://r-statistics.co/Interaction-Effects-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>An interaction means X1's slope depends on X2. Add with * or : in lm(), test the term with anova(), plot marginal slopes with emmeans, then report it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Instrumental Variables in R: ivreg Package &amp; Two-Stage Least Squares</title>
    <link href="https://r-statistics.co/Instrumental-Variables-in-R.html"/>
    <id>https://r-statistics.co/Instrumental-Variables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn instrumental variables regression in R with the ivreg package. Run 2SLS estimation and interpret weak instrument, Wu-Hausman, and Sargan diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Install R and RStudio (2026): A Clean First Setup</title>
    <link href="https://r-statistics.co/Install-R-and-RStudio-2026.html"/>
    <id>https://r-statistics.co/Install-R-and-RStudio-2026.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Step-by-step R and RStudio installation for Windows, Mac, and Linux. First-run settings, common errors fixed, and a verify-it-works checklist.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Influential Observations in R: Cook's Distance</title>
    <link href="https://r-statistics.co/Influential-Observations-in-R.html"/>
    <id>https://r-statistics.co/Influential-Observations-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer flags an influential observation with a high Cook's distance. How to decide in R whether to keep, down-weight, or drop the point, and report it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Infix Functions in R: Write Your Own %op% Operators</title>
    <link href="https://r-statistics.co/Infix-Functions-in-R.html"/>
    <id>https://r-statistics.co/Infix-Functions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to create custom infix operators in R with %op% syntax. Covers naming rules, precedence, real-world examples, and best practices with interactive code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Import Data Into R: CSV, Excel, JSON and More</title>
    <link href="https://r-statistics.co/Importing-Data-in-R.html"/>
    <id>https://r-statistics.co/Importing-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Import CSV with read_csv(), Excel with readxl, JSON with jsonlite, and 12 other formats. Learn the arguments that handle encoding, missing values, column types, and malformed files.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hypothesis Testing in R: The Framework, Explained</title>
    <link href="https://r-statistics.co/Hypothesis-Testing-in-R.html"/>
    <id>https://r-statistics.co/Hypothesis-Testing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Hypothesis testing in R as a decision framework: set up H₀ and H₁, compute test statistics, interpret p-values correctly, and make reproducible decisions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hypothesis Testing Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Hypothesis-Testing-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Hypothesis-Testing-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>25 hypothesis testing exercises in R covering t-tests, proportions, chi-square, non-parametric tests, power, multiple-testing correction, and equivalence.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hypergeometric Distribution in R: dhyper() Examples</title>
    <link href="https://r-statistics.co/Hypergeometric-Distribution-in-R.html"/>
    <id>https://r-statistics.co/Hypergeometric-Distribution-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sampling without replacement in R using dhyper(), phyper(), qhyper(), rhyper(). Worked QA, audit, and card examples plus the formula. Includes a free calculator.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Wilcoxon Test in R: Signed-Rank and Rank-Sum With Examples</title>
    <link href="https://r-statistics.co/How-to-do-Wilcoxon-Signed-Rank-Test-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-Wilcoxon-Signed-Rank-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run Wilcoxon tests in R with wilcox.test(): signed-rank for paired samples, rank-sum (Mann-Whitney U) for independent. Includes assumptions and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Shapiro-Wilk Test in R: Test Normality With shapiro.test()</title>
    <link href="https://r-statistics.co/How-to-do-Shapiro-Wilk-Test-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-Shapiro-Wilk-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run the Shapiro-Wilk normality test in R with shapiro.test(). Covers interpretation, sample size limits, Q-Q plot pairing, alternatives, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Pearson Correlation Test in R: cor.test() Guide</title>
    <link href="https://r-statistics.co/How-to-do-Pearson-Correlation-Test-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-Pearson-Correlation-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a Pearson correlation test in R with cor.test() to test linear association between two numeric variables. Covers assumptions, p-value, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>One-Way ANOVA in R: Compare Group Means With aov()</title>
    <link href="https://r-statistics.co/How-to-do-One-Way-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-One-Way-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run one-way ANOVA in R with aov() to compare means across 3+ groups. Covers assumptions, F-statistic, post-hoc Tukey HSD, effect size, and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>One-Sample t-Test in R: Test a Mean Against a Value</title>
    <link href="https://r-statistics.co/How-to-do-One-Sample-t-Test-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-One-Sample-t-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a one-sample t-test in R with t.test() to compare a sample mean to a known value. Covers assumptions, p-value, CI, effect size, and 5 worked examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chi-Square Test of Independence in R: chisq.test() Guide</title>
    <link href="https://r-statistics.co/How-to-do-Chi-Square-Independence-Test-in-R.html"/>
    <id>https://r-statistics.co/How-to-do-Chi-Square-Independence-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a chi-square test of independence in R with chisq.test() to test relationships between two categorical variables. Includes assumptions and 5 examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Report Multiple Imputation in a Paper</title>
    <link href="https://r-statistics.co/How-to-Report-Multiple-Imputation-in-a-Paper.html"/>
    <id>https://r-statistics.co/How-to-Report-Multiple-Imputation-in-a-Paper.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>You ran multiple imputation and a reviewer wants it described. Report the amount missing, the imputation model, the number of imputations, and Rubin's rules.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Report Confidence Intervals in a Paper</title>
    <link href="https://r-statistics.co/How-to-Report-Confidence-Intervals-in-a-Paper.html"/>
    <id>https://r-statistics.co/How-to-Report-Confidence-Intervals-in-a-Paper.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A confidence interval reports how precisely you measured an effect. How to choose its level and method, interpret it honestly, and report it as journals expect.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Learn R: A Week-by-Week 12-Month Roadmap</title>
    <link href="https://r-statistics.co/How-to-Learn-R.html"/>
    <id>https://r-statistics.co/How-to-Learn-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A 12-month week-by-week R learning roadmap: data wrangling, stats, visualization, modeling, and packages, with milestones and projects at each stage.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Document Your Data Cleaning Steps</title>
    <link href="https://r-statistics.co/How-to-Document-Your-Data-Cleaning-Steps.html"/>
    <id>https://r-statistics.co/How-to-Document-Your-Data-Cleaning-Steps.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer never sees your data cleaning, only the analysis dataset. Document each step as a script, account for every dropped row, and report what changed.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Choose ARIMA Order (p,d,q) in R: ACF and PACF</title>
    <link href="https://r-statistics.co/How-to-Choose-ARIMA-Order-in-R.html"/>
    <id>https://r-statistics.co/How-to-Choose-ARIMA-Order-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Choose ARIMA order step by step in R: find d with the ADF and KPSS tests, read p from the PACF, q from the ACF, then confirm the residuals are white noise.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How Statistical Inference Works (No Formulas Yet)</title>
    <link href="https://r-statistics.co/How-Statistical-Inference-Works.html"/>
    <id>https://r-statistics.co/How-Statistical-Inference-Works.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how statistical inference works using plain-English intuition and runnable R simulations. See the leap from a sample to a whole population, no formulas.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Holt's Method in R: Forecast Trend Without Seasonality</title>
    <link href="https://r-statistics.co/Holts-Method-in-R.html"/>
    <id>https://r-statistics.co/Holts-Method-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Holt's method adds a trend term to exponential smoothing, forecasting a sloped line, not a flat one. Learn holt() in R, its two equations, and damped trends.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Holt-Winters in R: Additive or Multiplicative Seasonality?</title>
    <link href="https://r-statistics.co/Holt-Winters-in-R.html"/>
    <id>https://r-statistics.co/Holt-Winters-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Holt-Winters in R to forecast trend and seasonality. Fit HoltWinters(), read alpha, beta, gamma, and choose additive vs multiplicative seasonality.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>High-Frequency Time Series in R: Intraday xts and quantmod</title>
    <link href="https://r-statistics.co/High-Frequency-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/High-Frequency-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Work with intraday, high-frequency time series in R. Use xts and quantmod to build minute bars, slice by clock time, aggregate to OHLC, and compute returns.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hierarchical and Grouped Forecasting in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Hierarchical-and-Grouped-Forecasting-Course.html"/>
    <id>https://r-statistics.co/Hierarchical-and-Grouped-Forecasting-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn hierarchical and grouped forecasting in R across five interactive lessons: declaring a hierarchy, the classic bottom-up and top-down methods, MinT optimal reconciliation, the fable workflow, and coherent forecasts a planning team can use.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hierarchical and Grouped Time Series in R: Reconciliation</title>
    <link href="https://r-statistics.co/Hierarchical-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Hierarchical-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast hierarchical and grouped time series in R with fable. Build the hierarchy with aggregate_key(), then reconcile with bottom-up, top-down and MinT.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Heteroscedasticity in R: Detect It and Fix It</title>
    <link href="https://r-statistics.co/Heteroscedasticity-in-R.html"/>
    <id>https://r-statistics.co/Heteroscedasticity-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect heteroscedasticity in R with the Breusch-Pagan test and fix it using robust standard errors from the sandwich package. With interpretation and code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Heckman Selection Model in R (Worked Example)</title>
    <link href="https://r-statistics.co/Heckman-Selection-Model-in-R.html"/>
    <id>https://r-statistics.co/Heckman-Selection-Model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the Heckman selection model in R: fit two-step and MLE heckit, interpret rho and the inverse Mills ratio, and correct bias from non-random samples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Heatmap in R: Build and Customize with ggplot2 geom_tile()</title>
    <link href="https://r-statistics.co/Heatmap-in-R.html"/>
    <id>https://r-statistics.co/Heatmap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create heatmaps in R with ggplot2's geom_tile(). Learn to reshape data, apply color scales, add text labels, cluster rows and columns, and avoid common heatmap mistakes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Hamiltonian Monte Carlo in R, Explained Simply</title>
    <link href="https://r-statistics.co/Hamiltonian-Monte-Carlo-in-R.html"/>
    <id>https://r-statistics.co/Hamiltonian-Monte-Carlo-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build a Hamiltonian Monte Carlo sampler in R from scratch. Understand why reading the posterior's slope beats random-walk MCMC on correlated unknowns.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Grid Approximation in R: Compute Bayesian Posteriors Without MCMC</title>
    <link href="https://r-statistics.co/Grid-Approximation-in-R.html"/>
    <id>https://r-statistics.co/Grid-Approximation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build Bayesian posteriors in R using grid approximation: define a parameter grid, evaluate likelihood and prior, normalize, sample. Includes 1D and 2D examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Granger Causality and Impulse Responses in R</title>
    <link href="https://r-statistics.co/Granger-Causality-in-R.html"/>
    <id>https://r-statistics.co/Granger-Causality-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a Granger causality test in R with grangertest() and causality() on a VAR, then read impulse responses: lag choice, stationarity traps, Cholesky order.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Google Maps API in R: Basemaps With ggmap</title>
    <link href="https://r-statistics.co/Google-Maps-API-in-R.html"/>
    <id>https://r-statistics.co/Google-Maps-API-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ggmap to fetch Google Maps and Stadia basemaps in R. Covers API key setup, get_googlemap(), map types, geocoding, data overlays, and route calculation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Global Forecasting Models in R: Learn Across Many Series</title>
    <link href="https://r-statistics.co/Global-Forecasting-Models-in-R.html"/>
    <id>https://r-statistics.co/Global-Forecasting-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Train one forecasting model across 152 retail series in R. Build the pooled table, fix the scaling trap, and measure when global beats one per series.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Gibbs Sampling in R From Scratch, Step by Step</title>
    <link href="https://r-statistics.co/Gibbs-Sampling-in-R.html"/>
    <id>https://r-statistics.co/Gibbs-Sampling-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build a Gibbs sampler from scratch in R for the classic mean-and-variance problem. Understand why this trick beats Metropolis on multi-parameter models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Stuck in R? 6 Ways to Get Unstuck Without Wasting Hours</title>
    <link href="https://r-statistics.co/Getting-Help-in-R.html"/>
    <id>https://r-statistics.co/Getting-Help-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master R's built-in help system: ?, help(), example(), vignette(), apropos(), and reprex. Plus a Stack Overflow strategy that gets answers in minutes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Geometric &amp; Negative Binomial Distributions in R: Waiting Time Models</title>
    <link href="https://r-statistics.co/Geometric-and-Negative-Binomial-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Geometric-and-Negative-Binomial-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Model waiting time in R with the geometric and negative binomial distributions. Learn dgeom(), dnbinom(), both parameterizations, and when to pick each.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Gaussian Mixture Models in R With mclust</title>
    <link href="https://r-statistics.co/Gaussian-Mixture-Models-in-R.html"/>
    <id>https://r-statistics.co/Gaussian-Mixture-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master Gaussian mixture models in R with the mclust package. Cover EM algorithm, BIC model selection, soft clustering, and 14 covariance parameterizations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Gamma and Beta Distributions in R, Explained Simply</title>
    <link href="https://r-statistics.co/Gamma-and-Beta-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Gamma-and-Beta-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn gamma and beta distributions in R, shape, scale, rate parameters, conjugate priors, and d/p/q/r functions with runnable examples and clear intuition.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GLM Exercises in R: 20 Problems With Solutions</title>
    <link href="https://r-statistics.co/GLM-Exercises-in-R.html"/>
    <id>https://r-statistics.co/GLM-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>GLM exercises in R: 20 hands-on practice problems on logistic, Poisson, Gamma, negative binomial, multinomial and ordinal models with worked solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GLM Diagnostics in R Beyond Gaussian Models</title>
    <link href="https://r-statistics.co/GLM-Diagnostics-in-R.html"/>
    <id>https://r-statistics.co/GLM-Diagnostics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>GLM diagnostics in R for Poisson and logistic models: residual types, overdispersion, randomized quantile residuals and influence, with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GEE vs Mixed Models in R</title>
    <link href="https://r-statistics.co/GEE-vs-Mixed-Models-in-R.html"/>
    <id>https://r-statistics.co/GEE-vs-Mixed-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>GEE vs mixed models in R, from scratch: population-average vs subject-specific effects, why coefficients differ on binary data, and when to use each.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GEE in R With geepack: Correlated Data (How-To)</title>
    <link href="https://r-statistics.co/GEE-for-Correlated-Categorical-Data-in-R.html"/>
    <id>https://r-statistics.co/GEE-for-Correlated-Categorical-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit GEE models in R with geepack: population-averaged effects on correlated binary outcomes, correlation structures, robust SEs, QIC, and odds ratios.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GARCH Models in R: Volatility Forecasting with rugarch</title>
    <link href="https://r-statistics.co/GARCH-Models-in-R.html"/>
    <id>https://r-statistics.co/GARCH-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit, interpret and forecast GARCH models in R. Learn what alpha and beta mean, test for ARCH effects, handle leverage, and backtest volatility honestly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GAM in R: Generalized Additive Models With mgcv</title>
    <link href="https://r-statistics.co/GAM-in-R.html"/>
    <id>https://r-statistics.co/GAM-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit generalized additive models in R with mgcv. Use s() for smooths, te() for interactions, and learn to interpret edf, plot effects, and check model fit.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>GAM Exercises in R: 16 mgcv Practice Problems with Solutions</title>
    <link href="https://r-statistics.co/GAM-Exercises-in-R.html"/>
    <id>https://r-statistics.co/GAM-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>GAM R exercises with hidden mgcv solutions: 16 practice problems on s(), te(), k, REML, factor-by smooths, logistic, Poisson, Gamma GAMs, prediction.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Functional Programming in R: The Mindset That Makes Your Code 10× Cleaner</title>
    <link href="https://r-statistics.co/Functional-Programming-in-R.html"/>
    <id>https://r-statistics.co/Functional-Programming-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master functional programming in R: treat functions as data, replace loops with map/filter/reduce, and write code that is shorter, safer, and 10x cleaner.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Friedman Test in R: Nonparametric Repeated Measures Analysis</title>
    <link href="https://r-statistics.co/Friedman-Test-in-R.html"/>
    <id>https://r-statistics.co/Friedman-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Friedman test in R: nonparametric alternative to repeated measures ANOVA. Includes friedman.test(), Kendall W effect size, post-hoc Wilcoxon, worked example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>15 Best Free R Courses : Ranked Honestly by Learning Outcome</title>
    <link href="https://r-statistics.co/Free-R-Courses.html"/>
    <id>https://r-statistics.co/Free-R-Courses.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Not all free R courses are equal. We rank 15 of the best free R courses and resources by depth, exercise quality, and real learning outcomes in 2026.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fourier Terms in R: Model Complex Seasonality</title>
    <link href="https://r-statistics.co/Fourier-Terms-in-R.html"/>
    <id>https://r-statistics.co/Fourier-Terms-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Model complex and multiple seasonality in R with Fourier terms: build them with fourier(), fit dynamic harmonic regression via auto.arima(), and forecast ahead.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecasting Toolbox in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Forecasting-Toolbox-Course.html"/>
    <id>https://r-statistics.co/Forecasting-Toolbox-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the forecasting toolbox in R across six interactive lessons: fitted values and residuals, the Ljung-Box test, prediction intervals, point versus distributional forecasts, rolling-origin cross-validation, and accuracy metrics like MASE and pinball loss.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecasting Through Structural Breaks in R</title>
    <link href="https://r-statistics.co/Forecasting-Structural-Breaks-in-R.html"/>
    <id>https://r-statistics.co/Forecasting-Structural-Breaks-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect structural breaks in R with the changepoint and strucchange packages, then build forecasts that survive level shifts, trend changes, and regime shifts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecasting Very Short (and Very Long) Time Series in R</title>
    <link href="https://r-statistics.co/Forecasting-Short-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Forecasting-Short-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast very short and very long time series in R. Count model parameters, use Fourier terms for short seasonal data, and fit recent windows to long series.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Value Added: When Human Judgment Helps</title>
    <link href="https://r-statistics.co/Forecast-Value-Added-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Value-Added-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Forecast Value Added (FVA) in R: measure whether your statistical model and analyst overrides beat a naive baseline, and where human judgment helps.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Scoring Rules in R: CRPS and Pinball Loss</title>
    <link href="https://r-statistics.co/Forecast-Scoring-Rules-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Scoring-Rules-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>RMSE cannot grade a probabilistic forecast. Learn CRPS, pinball loss, the Winkler score and skill scores in R, built from scratch then scored with fable.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Reconciliation in R: Bottom-Up to Middle-Out</title>
    <link href="https://r-statistics.co/Forecast-Reconciliation-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Reconciliation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn forecast reconciliation in R with fable. Compare bottom-up, top-down and middle-out, work the proportions by hand, and see which method wins.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Monitoring Forecast Models in Production With R</title>
    <link href="https://r-statistics.co/Forecast-Monitoring-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Monitoring-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Monitor forecast models in production with R: track rolling accuracy and bias, check interval coverage, flag drift with a CUSUM alarm, and trigger retraining.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Evaluation Exercises in R: 50 Practice Problems</title>
    <link href="https://r-statistics.co/Forecast-Evaluation-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Evaluation-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast accuracy exercises in R: 50 problems on MAE, RMSE, MAPE, MASE, train/test splits, accuracy(), residual diagnostics and rolling-origin CV.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Accuracy in R: MAE, RMSE, MAPE, and MASE</title>
    <link href="https://r-statistics.co/Forecast-Accuracy-in-R.html"/>
    <id>https://r-statistics.co/Forecast-Accuracy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Measure forecast accuracy in R with MAE, RMSE, MAPE, and MASE. Learn what each metric means, compute them by hand, then get them all at once from accuracy().</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fligner-Killeen Test in R: Robust Alternative to Levene's Test</title>
    <link href="https://r-statistics.co/Fligner-Killeen-Test-in-R.html"/>
    <id>https://r-statistics.co/Fligner-Killeen-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fligner-Killeen test in R: the robust nonparametric alternative to Levene's test for homogeneity of variance. Includes code, output, and a decision guide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fit Distributions to Data in R (fitdistrplus)</title>
    <link href="https://r-statistics.co/Fitting-Distributions-to-Data-in-R.html"/>
    <id>https://r-statistics.co/Fitting-Distributions-to-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Step-by-step guide to fitting distributions in R with fitdistrplus: explore data, propose candidates, fit with fitdist(), and compare with diagnostic plots.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fisher's Exact Test in R: When and How (Worked Example)</title>
    <link href="https://r-statistics.co/Fishers-Exact-Test-in-R.html"/>
    <id>https://r-statistics.co/Fishers-Exact-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run Fisher's exact test in R for 2x2 tables and small samples: when to use it over chi-square, how to read the odds ratio, with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Your First Hypothesis Test in R: Three Ways</title>
    <link href="https://r-statistics.co/First-Hypothesis-Test-Three-Ways-in-R.html"/>
    <id>https://r-statistics.co/First-Hypothesis-Test-Three-Ways-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn hypothesis testing in R by running your first t-test three ways: by simulation, by hand, and with t.test(), each built up from scratch for beginners.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Feature Engineering for Time Series Forecasting in R</title>
    <link href="https://r-statistics.co/Feature-Engineering-for-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Feature-Engineering-for-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build lag, rolling, calendar and Fourier features in R, catch the leaks that fake a perfect score, and turn the feature table into a real multi-step forecast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Factorial Designs in R: 2^k Experiments Explained</title>
    <link href="https://r-statistics.co/Factorial-Experiments-in-R.html"/>
    <id>https://r-statistics.co/Factorial-Experiments-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Factorial 2^k designs test all main effects and interactions at once. Learn effect estimation, interaction plots, half-fractions, and confounding in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Export Plots in R: ggsave, Devices, DPI and Journal Specs</title>
    <link href="https://r-statistics.co/Export-Plots-in-R.html"/>
    <id>https://r-statistics.co/Export-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to export plots in R with ggsave: set width, height, units and DPI, pick PNG, PDF, TIFF or SVG, control graphics devices, and hit journal figure specs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exponential Smoothing in R: ses() and the Alpha Parameter</title>
    <link href="https://r-statistics.co/Exponential-Smoothing-in-R.html"/>
    <id>https://r-statistics.co/Exponential-Smoothing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master simple exponential smoothing in R with ses(): how alpha weights recent data, how ses() optimises alpha for you, and when SES beats naive forecasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exponential Smoothing Exercises in R: 50 Practice Problems</title>
    <link href="https://r-statistics.co/Exponential-Smoothing-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Exponential-Smoothing-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fifty exponential smoothing exercises in R covering SES, Holt's trend, Holt-Winters seasonality, ETS selection, residual checks and backtesting. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exponential Smoothing ETS in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Exponential-Smoothing-ETS-Course.html"/>
    <id>https://r-statistics.co/Exponential-Smoothing-ETS-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn exponential smoothing in R across six interactive lessons: simple exponential smoothing, Holt linear and damped trend, Holt-Winters seasonal methods, the ETS taxonomy, automatic model selection and forecasting with fable.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exponential Family Distributions, Explained Simply</title>
    <link href="https://r-statistics.co/Exponential-Family-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Exponential-Family-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Exponential family distributions: canonical form and the canonical parameter, plus a worked completeness proof for the shifted exponential.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exploratory vs Confirmatory Analysis in Peer Review</title>
    <link href="https://r-statistics.co/Exploratory-vs-Confirmatory-Analysis-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Exploratory-vs-Confirmatory-Analysis-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your analysis looks exploratory and asks if it was pre-registered. How to test whether a finding survives your analytic choices in R, and reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exploratory Factor Analysis in R, Step by Step</title>
    <link href="https://r-statistics.co/Exploratory-Factor-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Exploratory-Factor-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Exploratory factor analysis finds latent factors behind observed correlations. Learn KMO, parallel analysis, rotation choice, and reading loadings in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>EDA in R: A 7-Step Framework for Any Dataset</title>
    <link href="https://r-statistics.co/Exploratory-Data-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Exploratory-Data-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Good EDA prevents bad analyses. Follow this 7-step framework, structure, missingness, distributions, outliers, correlations, and more, with R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Experimental Design in R: The Three Principles</title>
    <link href="https://r-statistics.co/Experimental-Design-Principles-in-R.html"/>
    <id>https://r-statistics.co/Experimental-Design-Principles-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Randomisation removes confounding, blocking reduces noise, replication enables inference. Learn CRD, RCBD, and factorial designs in R with aov() examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Experimental Design Exercises in R (20 Solved)</title>
    <link href="https://r-statistics.co/Experimental-Design-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Experimental-Design-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 experimental design exercises in R covering randomization, CRD, RCBD, Latin Squares, factorial designs, sample size, and split-plot analysis with full solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Expected Value and Variance, Explained With R</title>
    <link href="https://r-statistics.co/Expected-Value-and-Variance-in-R.html"/>
    <id>https://r-statistics.co/Expected-Value-and-Variance-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Expected value is the probability-weighted mean; variance measures spread around it. Derive both theoretically, then verify via 10,000-draw R simulations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exact Logistic Regression in R: Fix Separation</title>
    <link href="https://r-statistics.co/Exact-Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Exact-Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn exact logistic regression in R when separation makes glm() fail. Compare glm, Firth (logistf), and exact MCMC (elrm) with runnable, interactive examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Exact Binomial Test in R: binom.test() for Small Samples</title>
    <link href="https://r-statistics.co/Exact-Binomial-Test-in-R.html"/>
    <id>https://r-statistics.co/Exact-Binomial-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use binom.test() in R for exact small-sample proportion inference. Learn syntax, p-values, Clopper-Pearson CIs, one and two-sided tests, and interpretation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Errors-in-Variables Models in R: Measurement Error in Predictors</title>
    <link href="https://r-statistics.co/Errors-in-Variables-Models-in-R.html"/>
    <id>https://r-statistics.co/Errors-in-Variables-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix attenuation bias from measurement error in predictors. Compare OLS, Deming regression, and SIMEX errors-in-variables models in R with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'unused argument' in R</title>
    <link href="https://r-statistics.co/Error-unused-argument-in-R.html"/>
    <id>https://r-statistics.co/Error-unused-argument-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's unused argument error means the function cannot accept an argument you passed. See the 4 causes, from typos to package masking, with runnable fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'unexpected symbol' in R</title>
    <link href="https://r-statistics.co/Error-unexpected-symbol-in-R.html"/>
    <id>https://r-statistics.co/Error-unexpected-symbol-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's unexpected symbol error means the parser hit two pieces of code with nothing joining them. See 5 causes, from missing commas to curly quotes, with fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'object of type closure is not subsettable' in R</title>
    <link href="https://r-statistics.co/Error-object-of-type-closure-is-not-subsettable-in-R.html"/>
    <id>https://r-statistics.co/Error-object-of-type-closure-is-not-subsettable-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's object of type closure is not subsettable error means you subset a function like data. See the 4 causes, from df name clashes to Shiny, with fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'missing value where TRUE/FALSE needed' in R</title>
    <link href="https://r-statistics.co/Error-missing-value-where-TRUE-FALSE-needed-in-R.html"/>
    <id>https://r-statistics.co/Error-missing-value-where-TRUE-FALSE-needed-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's missing value where TRUE/FALSE needed error means if() received NA. See the 4 causes, from NA comparisons to any() without na.rm, with working fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix '$ operator is invalid for atomic vectors' in R</title>
    <link href="https://r-statistics.co/Error-dollar-operator-is-invalid-for-atomic-vectors-in-R.html"/>
    <id>https://r-statistics.co/Error-dollar-operator-is-invalid-for-atomic-vectors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R throws '$ operator is invalid for atomic vectors' when $ is applied to a named vector or matrix. See the four causes and the bracket fix for each one.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'could not find function' in R</title>
    <link href="https://r-statistics.co/Error-could-not-find-function-X-in-R.html"/>
    <id>https://r-statistics.co/Error-could-not-find-function-X-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's could not find function error means no loaded package defines that name. See the 4 causes, from a missing library() call to typos, each with a fix.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Fix 'argument is of length zero' in R</title>
    <link href="https://r-statistics.co/Error-argument-is-of-length-zero-in-R.html"/>
    <id>https://r-statistics.co/Error-argument-is-of-length-zero-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R's argument is of length zero error means if() got a NULL or empty condition. See the 4 causes, from typo'd columns to Shiny inputs, with working fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Error Triage Drills: 20 Broken R Scripts to Fix</title>
    <link href="https://r-statistics.co/Error-Triage-Drills-in-R.html"/>
    <id>https://r-statistics.co/Error-Triage-Drills-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix R errors with 20 broken-script triage drills covering object not found, subscript out of bounds, unused argument, factor traps and more, with hints.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Error Bars in ggplot2: SD, SE or CI, Done Right</title>
    <link href="https://r-statistics.co/Error-Bars-in-R.html"/>
    <id>https://r-statistics.co/Error-Bars-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Add error bars to ggplot2 plots in R using geom_errorbar(), geom_pointrange(), and geom_linerange(). Learn when to use SD vs SE vs 95% CI and how to compute them with dplyr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Equivalence Testing in R: TOST for Non-Inferiority &amp; Bioequivalence</title>
    <link href="https://r-statistics.co/Equivalence-Testing-in-R.html"/>
    <id>https://r-statistics.co/Equivalence-Testing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn equivalence testing in R with TOST. Prove two means are practically the same, run non-inferiority trials, and verify bioequivalence with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Energy Load Forecasting in R: an End-to-End Case Study</title>
    <link href="https://r-statistics.co/Energy-Load-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Energy-Load-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Energy load forecasting in R, end to end: audit hourly demand, model daily and weekly cycles with temperature, backtest five models, ship a day-ahead forecast.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Empirical Bayes in R: James-Stein and Shrinkage</title>
    <link href="https://r-statistics.co/Empirical-Bayes-in-R.html"/>
    <id>https://r-statistics.co/Empirical-Bayes-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Empirical Bayes and James-Stein shrinkage in R, explained from scratch. See why pulling estimates toward the mean beats raw averages, with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Elastic Net in R: Ridge Plus Lasso With glmnet</title>
    <link href="https://r-statistics.co/Elastic-Net-Regression-in-R.html"/>
    <id>https://r-statistics.co/Elastic-Net-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master Elastic Net Regression in R with glmnet: tune alpha to blend Ridge and Lasso, pick optimal lambda via cv.glmnet, and interpret sparse coefficients.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Eigenvalues and Eigenvectors in R: eigen() Guide</title>
    <link href="https://r-statistics.co/Eigenvalues-and-Eigenvectors-in-R.html"/>
    <id>https://r-statistics.co/Eigenvalues-and-Eigenvectors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master eigenvalues and eigenvectors in R with eigen(): the geometry, the math, and how PCA, spectral decomposition, and stability checks rely on them.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Effect Size in R: Cohen's d and Friends, Explained</title>
    <link href="https://r-statistics.co/Effect-Size-in-R.html"/>
    <id>https://r-statistics.co/Effect-Size-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn effect size in R: compute Cohen's d, eta-squared, Cramer's V, and r. Understand why effect size matters more than p-values, with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ETS vs ARIMA in R: Which Forecasting Model Should You Use?</title>
    <link href="https://r-statistics.co/ETS-vs-ARIMA-in-R.html"/>
    <id>https://r-statistics.co/ETS-vs-ARIMA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ETS vs ARIMA in R: see how each forecasting model works, why AICc cannot compare them, and how to pick the winner with a fair train and test accuracy check.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ETS Models in R: Error, Trend, and Seasonal Components</title>
    <link href="https://r-statistics.co/ETS-Models-in-R.html"/>
    <id>https://r-statistics.co/ETS-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ETS models split a forecast into Error, Trend, and Seasonal parts. Learn the ETS taxonomy, fit ets() in R, and let AICc auto-select the best model for you.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>EDA for Time Series in R: Seasonality, Trend &amp; Autocorrelation Plots</title>
    <link href="https://r-statistics.co/EDA-for-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/EDA-for-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Explore time series in R with trend plots, seasonal decomposition, ACF/PACF correlograms, and stationarity tests. Runnable code with built-in datasets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>EDA for Text Data in R: Word Frequency, Length Distribution &amp; Readability</title>
    <link href="https://r-statistics.co/EDA-for-Text-Data-in-R.html"/>
    <id>https://r-statistics.co/EDA-for-Text-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Explore text data in R before modelling: compute word frequencies, visualise string length distributions, score Flesch-Kincaid readability, and spot anomalies.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>EDA for Geospatial Data in R: Spatial Distribution &amp; Clustering</title>
    <link href="https://r-statistics.co/EDA-for-Geospatial-Data-in-R.html"/>
    <id>https://r-statistics.co/EDA-for-Geospatial-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Explore spatial distributions, detect clusters, and measure spatial autocorrelation in R with ggplot2. Interactive code examples using built-in datasets.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>EDA Exercises in R: 50 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/EDA-Exercises-in-R.html"/>
    <id>https://r-statistics.co/EDA-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>50 hands-on EDA exercises in R covering data overview, univariate plots, missingness, outliers, correlations, and end-to-end profiling workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dynamic Regression in R: Regression with ARIMA Errors</title>
    <link href="https://r-statistics.co/Dynamic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Dynamic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Dynamic regression in R pairs linear regression with ARIMA errors to fix spurious results and give honest standard errors. Fit and forecast with auto.arima.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dynamic Regression and Complex Seasonality in R: An Interactive Course</title>
    <link href="https://r-statistics.co/Dynamic-Regression-and-Complex-Seasonality-Course.html"/>
    <id>https://r-statistics.co/Dynamic-Regression-and-Complex-Seasonality-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn dynamic regression and complex seasonality in R across six interactive lessons: regression with ARIMA errors, dynamic harmonic regression, multiple seasonal periods, TBATS, Prophet, and lagged predictors with transfer functions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dummy Variables in R: How lm() Handles Factors</title>
    <link href="https://r-statistics.co/Dummy-Variables-in-R.html"/>
    <id>https://r-statistics.co/Dummy-Variables-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R automatically creates dummy variables for factors in lm(). Learn how the reference category, coefficient interpretation, and interactions really work.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dumbbell and Slope Charts in R for Before-After Stories</title>
    <link href="https://r-statistics.co/Dumbbell-and-Slope-Charts-in-R.html"/>
    <id>https://r-statistics.co/Dumbbell-and-Slope-Charts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build dumbbell and slope charts in R with ggplot2 to show before-after change. Includes runnable code, when to use each, and labeling and color design tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>DuckDB in R: Query 100 Million Rows on Your Laptop in Under 2 Seconds</title>
    <link href="https://r-statistics.co/DuckDB-in-R.html"/>
    <id>https://r-statistics.co/DuckDB-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>DuckDB is an in-process SQL OLAP database that runs inside R. Query CSV, Parquet, and data frames with SQL or dplyr, faster than pandas for most tasks.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>DuckDB + duckplyr in R: Query 100M Rows Faster Than pandas on a Laptop</title>
    <link href="https://r-statistics.co/DuckDB-duckplyr-in-R.html"/>
    <id>https://r-statistics.co/DuckDB-duckplyr-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>DuckDB executes analytical SQL directly on files, no server needed. duckplyr lets you query DuckDB with dplyr syntax. Learn to query Parquet, CSV, and Arrow files from R with benchmarks.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dose-Response Analysis in R With drc (How-To)</title>
    <link href="https://r-statistics.co/Dose-Response-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Dose-Response-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit dose-response curves in R with the drc package: four-parameter log-logistic models, EC50 and ED50 estimation, model selection, and group comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Distributional Forecasts in R with fable</title>
    <link href="https://r-statistics.co/Distributional-Forecasts-in-R.html"/>
    <id>https://r-statistics.co/Distributional-Forecasts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>In fable, a forecast is a probability distribution, not one number. Learn to read the distribution column, pull out any interval or quantile, then score it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dichotomising Continuous Variables in Peer Review</title>
    <link href="https://r-statistics.co/Dichotomising-Continuous-Variables-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Dichotomising-Continuous-Variables-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer asked why you dichotomised a continuous variable or used a median split. How to check what it cost in R, decide if it matters, and word your reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Descriptive Statistics in R: The 8 Key Numbers</title>
    <link href="https://r-statistics.co/Descriptive-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Descriptive-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the 8 essential descriptive statistics in R, mean, median, sd, quantile, skewness and more. Interactive code examples with summary(), psych, and dplyr.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Deep Learning for Forecasting in R: an Honest Guide</title>
    <link href="https://r-statistics.co/Deep-Learning-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Deep-Learning-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build a neural network forecaster from scratch in R, score it honestly against ARIMA and plain regression, and see exactly when deep learning is worth it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Decision Tree Exercises in R: 18 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Decision-Tree-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Decision-Tree-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice decision trees in R with 18 scenario-based exercises: rpart fits, tuning, plotting, predictions, pruning. Hidden solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Decision Theory Explained: Loss, Risk and Bayes</title>
    <link href="https://r-statistics.co/Decision-Theory-in-R.html"/>
    <id>https://r-statistics.co/Decision-Theory-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn statistical decision theory in R: loss functions, risk, Bayes risk, minimax, and admissibility, with simulations comparing estimators end to end.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Dates and Times Drills: 15 R Problems That Trip Everyone Up</title>
    <link href="https://r-statistics.co/Dates-and-Times-Drills-in-R.html"/>
    <id>https://r-statistics.co/Dates-and-Times-Drills-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>15 date and time practice problems in R: parse messy strings, format for reports, difftime and age arithmetic, sequences, binning, and time zone and DST traps.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Date-Time Manipulation Exercises in R: 18 Practice Problems</title>
    <link href="https://r-statistics.co/Date-Time-Manipulation-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Date-Time-Manipulation-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>18 dates in R exercises and POSIXct practice problems covering parsing, components, arithmetic, time zones, aggregation, and real-world date workflows.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Wrangling with dplyr: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/Data-Wrangling-dplyr-Course.html"/>
    <id>https://r-statistics.co/Data-Wrangling-dplyr-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn data wrangling in R from the ground up in three interactive lessons: import and tidy data, the core dplyr verbs, and grouped summaries with honest missing-value handling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Wrangling Exercises in R: 50 Practice Problems</title>
    <link href="https://r-statistics.co/Data-Wrangling-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Data-Wrangling-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fifty data wrangling exercises in R covering import, clean, reshape, join, aggregate. Built-in datasets, hidden solutions, runnable code, real scenarios.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Visualization Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Data-Visualization-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Data-Visualization-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice data viz in R with 25 scenario-based problems: chart types, distributions, themes, facets, annotations, and publication-ready polish. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Quality Checking in R: 10 Things to Verify Before You Analyze</title>
    <link href="https://r-statistics.co/Data-Quality-Checking-in-R.html"/>
    <id>https://r-statistics.co/Data-Quality-Checking-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Before any analysis, check dimensions, types, duplicates, missing values, ranges, and consistency. Here are 10 data quality checks in R with reusable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Privacy in R: Anonymise Datasets and Stay GDPR Compliant</title>
    <link href="https://r-statistics.co/Data-Privacy-in-R.html"/>
    <id>https://r-statistics.co/Data-Privacy-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Anonymise data in R with k-anonymity, l-diversity, and differential privacy. Includes a practical GDPR compliance checklist for working data scientists.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Ethics for R Programmers: The Questions to Ask Before You Analyse</title>
    <link href="https://r-statistics.co/Data-Ethics-in-R.html"/>
    <id>https://r-statistics.co/Data-Ethics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Data ethics isn't abstract philosophy, it shapes how R programmers collect, store, and analyse data. Learn the consent, privacy, and bias principles.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Data Cleaning Gauntlet: 25 Messy Data Problems in R</title>
    <link href="https://r-statistics.co/Data-Cleaning-Gauntlet.html"/>
    <id>https://r-statistics.co/Data-Cleaning-Gauntlet.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Data cleaning in R, drilled: 25 messy problems covering missing values, bad strings, mixed dates, type traps, duplicates, outliers, units. Solutions hidden.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Data Cleaning Exercises in R: 28 Real Practice Problems</title>
    <link href="https://r-statistics.co/Data-Cleaning-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Data-Cleaning-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 28 data cleaning problems in R: missing values, duplicates, type coercion, string fixes, outliers, validation. Solutions hidden, code runnable.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Interactive Dashboards in R: A Hands-On Course</title>
    <link href="https://r-statistics.co/Dashboards-Course.html"/>
    <id>https://r-statistics.co/Dashboards-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build interactive dashboards in R across three lessons: explorable plotly charts and leaflet maps, linked Quarto dashboards with crosstalk, and your first Shiny app.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>DBSCAN Clustering in R: Density-Based Clustering for Non-Convex Shapes</title>
    <link href="https://r-statistics.co/DBSCAN-Clustering-in-R.html"/>
    <id>https://r-statistics.co/DBSCAN-Clustering-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn DBSCAN clustering in R to find non-convex clusters and noise without picking k. Tune eps with kNNdistplot, run dbscan(), and interpret results.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Connect R to Any Database: DBI + RSQLite, RPostgres, and RMySQL</title>
    <link href="https://r-statistics.co/DBI-in-R.html"/>
    <id>https://r-statistics.co/DBI-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>DBI gives R a consistent interface to any SQL database. Learn dbConnect(), dbGetQuery(), dbWriteTable(), parameterised queries, and dbplyr for SQL-free queries.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Custom Fonts in R Plots: systemfonts, ragg and showtext</title>
    <link href="https://r-statistics.co/Custom-Fonts-in-R-Plots.html"/>
    <id>https://r-statistics.co/Custom-Fonts-in-R-Plots.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use any font in your R plots. This guide shows how systemfonts finds installed fonts, ragg renders them at high quality, and showtext adds any Google Font.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Intermittent Demand Forecasting in R: Croston and Friends</title>
    <link href="https://r-statistics.co/Croston-Method-in-R.html"/>
    <id>https://r-statistics.co/Croston-Method-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn intermittent demand forecasting in R. Build Croston's method, SBA, and TSB from scratch, classify demand with ADI and CV squared, and score forecasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Crossed vs Nested Random Effects in R</title>
    <link href="https://r-statistics.co/Crossed-vs-Nested-Effects-in-R.html"/>
    <id>https://r-statistics.co/Crossed-vs-Nested-Effects-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn crossed vs nested random effects in R with lme4. Understand the difference, write the correct (1|a/b) formula, and avoid the implicit-nesting trap.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cross-Validation Exercises in R (20 Problems)</title>
    <link href="https://r-statistics.co/Cross-Validation-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Cross-Validation-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 cross-validation practice problems in R: k-fold, LOOCV, repeated, stratified, group, time-series, nested CV with caret and rsample. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Credible vs Confidence Intervals in R</title>
    <link href="https://r-statistics.co/Credible-Intervals-vs-Confidence-Intervals.html"/>
    <id>https://r-statistics.co/Credible-Intervals-vs-Confidence-Intervals.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Credible interval vs confidence interval in R: what each actually means, how to compute both on the same data, and when the two answers agree or diverge.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cramer's V, Phi and Lambda in R: Table Association</title>
    <link href="https://r-statistics.co/Cramers-V-phi-and-Lambda-in-R.html"/>
    <id>https://r-statistics.co/Cramers-V-phi-and-Lambda-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute Cramér's V, phi, and Goodman-Kruskal's Lambda in R for contingency tables. Formulas, base R code, interpretation thresholds, and a decision guide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cramér-Rao Lower Bound in R: Efficiency &amp; Information Inequality</title>
    <link href="https://r-statistics.co/Cramer-Rao-Lower-Bound-in-R.html"/>
    <id>https://r-statistics.co/Cramer-Rao-Lower-Bound-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute the Cramér-Rao lower bound in R with Fisher information, simulate estimator variance, and verify efficiency for Bernoulli, Normal, Poisson models.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cramer-Rao Lower Bound, Explained With Examples in R</title>
    <link href="https://r-statistics.co/Cramer-Rao-Lower-Bound-in-R-2.html"/>
    <id>https://r-statistics.co/Cramer-Rao-Lower-Bound-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Derive the Cramér-Rao lower bound in R from the score function, compute the Fisher information matrix, verify exponential-family attainment, and check regularity.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Covariance and Correlation in R from First Principles</title>
    <link href="https://r-statistics.co/Covariance-and-Correlation-in-R.html"/>
    <id>https://r-statistics.co/Covariance-and-Correlation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Covariance and correlation in R, built from scratch: derive cov() and cor() by hand, read a correlation matrix, run cor.test(), and avoid the classic pitfalls.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Counting Principles in R: Permutations, Combinations &amp; Birthday Problem</title>
    <link href="https://r-statistics.co/Counting-Principles-in-R.html"/>
    <id>https://r-statistics.co/Counting-Principles-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master counting principles in R: the multiplication rule, permutations, combinations, and the birthday problem, with runnable examples and clear intuition.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Count Time Series in R: INGARCH with tscount</title>
    <link href="https://r-statistics.co/Count-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Count-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to model count time series in R with INGARCH models and the tscount package: fit, compare, diagnose, and forecast integer-valued count data with code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Correspondence Analysis in R: Categories in 2D</title>
    <link href="https://r-statistics.co/Correspondence-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Correspondence-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn correspondence analysis in R with FactoMineR. Build a 2D biplot that reveals which row and column categories co-occur, plus how to interpret it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Correlation Coefficients in R: Choose and Test</title>
    <link href="https://r-statistics.co/Correlation-in-R.html"/>
    <id>https://r-statistics.co/Correlation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute Pearson, Spearman, and Kendall correlation in R with cor() and cor.test(). Visualize matrices with corrplot. See why r never implies causation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Correlation Matrix Plot in R: corrplot and ggplot2</title>
    <link href="https://r-statistics.co/Correlation-Matrix-Plot-in-R.html"/>
    <id>https://r-statistics.co/Correlation-Matrix-Plot-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Visualize correlation matrices in R with corrplot, ggcorrplot, and ggplot2. Learn color scales, reordering, significance masking, and how to build a polished correlation heatmap from scratch.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Correlation Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/Correlation-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Correlation-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty correlation R exercises covering Pearson, Spearman, Kendall, cor.test, partial correlation, bootstrap CIs, and visualization. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Correlation in R: Pearson vs Spearman vs Kendall</title>
    <link href="https://r-statistics.co/Correlation-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Correlation-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Choose the right correlation for your data in R. Pearson for linear, Spearman for ranked, Kendall for small samples, with significance tests and corrplot.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Copulas in R: Model Dependence Beyond Correlation</title>
    <link href="https://r-statistics.co/Copulas-in-R.html"/>
    <id>https://r-statistics.co/Copulas-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master copulas in R: model multivariate dependence beyond correlation with Gaussian, Clayton, Gumbel, and Frank copulas, fitting, GoF tests, and code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Conjugate Priors in R: The Shortcut That Gives Exact Posteriors Without MCMC</title>
    <link href="https://r-statistics.co/Conjugate-Priors-in-R.html"/>
    <id>https://r-statistics.co/Conjugate-Priors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Conjugate priors in R give exact posteriors in closed form. Master Beta-Binomial, Gamma-Poisson, and Normal-Normal updates with worked simulations, no MCMC.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Conformal Prediction in R: Distribution-Free Forecast Intervals</title>
    <link href="https://r-statistics.co/Conformal-Prediction-in-R.html"/>
    <id>https://r-statistics.co/Conformal-Prediction-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build conformal prediction intervals in R from scratch, measure their real coverage on held-out data, and get honest forecast intervals ARIMA cannot promise.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Confidence Intervals in R: What They Really Mean</title>
    <link href="https://r-statistics.co/Confidence-Intervals-in-R.html"/>
    <id>https://r-statistics.co/Confidence-Intervals-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A 95% CI doesn't mean 95% probability the parameter is in this range. Learn what confidence intervals actually mean and how to compute them correctly in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Confidence Interval Exercises in R: 18 Practice Problems</title>
    <link href="https://r-statistics.co/Confidence-Interval-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Confidence-Interval-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 18 confidence interval exercises in R: t.test, prop.test, bootstrap CIs, paired samples, regression intervals, and sample-size width trade-offs.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Conditional Probability in R: P(A|B) Made Concrete</title>
    <link href="https://r-statistics.co/Conditional-Probability-in-R.html"/>
    <id>https://r-statistics.co/Conditional-Probability-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Simulate conditional probability in R, prove independence with dice rolls, and apply Bayes' theorem to medical testing. Runnable code in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Conditional Power &amp; Sample Size Re-Estimation in R</title>
    <link href="https://r-statistics.co/Conditional-Power-and-Sample-Size-Re-Estimation-in-R.html"/>
    <id>https://r-statistics.co/Conditional-Power-and-Sample-Size-Re-Estimation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn conditional power and sample size re-estimation in R with runnable examples, formulas, and practical decision rules for adaptive clinical trial design.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Complete and Ancillary Statistics: Basu's Theorem</title>
    <link href="https://r-statistics.co/Complete-and-Ancillary-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Complete-and-Ancillary-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Complete and ancillary statistics: why (xbar, s^2) is complete sufficient for the normal with unknown mean and variance, plus Basu's theorem in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Compare Bayesian Models in R: LOO and WAIC</title>
    <link href="https://r-statistics.co/Compare-Bayesian-Models-in-R.html"/>
    <id>https://r-statistics.co/Compare-Bayesian-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>LOO-CV estimates out-of-sample predictive accuracy from a single fit. Use loo() and waic() in R to compare Bayesian models with honest standard errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Communicating Uncertainty in R: Visualise Confidence Without Misleading Anyone</title>
    <link href="https://r-statistics.co/Communicating-Uncertainty.html"/>
    <id>https://r-statistics.co/Communicating-Uncertainty.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Error bars and confidence bands can mislead as easily as they inform. Learn to choose the right uncertainty visualisation in R and words to match it honestly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Communicate and Automate with R: A Hands-On Course</title>
    <link href="https://r-statistics.co/Communicate-Automate-Course.html"/>
    <id>https://r-statistics.co/Communicate-Automate-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Communicate results in R across three lessons: reproducible Quarto reports that update themselves, leading with the answer for a busy reader, and AI-assisted analysis you can trust.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ggplot2 to plotly: Interactive Charts in One Line</title>
    <link href="https://r-statistics.co/Combining-ggplot2-with-plotly.html"/>
    <id>https://r-statistics.co/Combining-ggplot2-with-plotly.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ggplotly() wraps any ggplot2 chart in an interactive plotly widget. Learn to customise tooltips, control hover modes, handle geom gotchas, and embed in reports.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Combining Forecasts in R: Ensemble Averaging</title>
    <link href="https://r-statistics.co/Combining-Forecasts-in-R.html"/>
    <id>https://r-statistics.co/Combining-Forecasts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Combine ARIMA, ETS and STL forecasts in R by averaging them. See why it cuts error, when the median beats the mean, and how to build an honest combined interval.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cointegration in R: Engle-Granger and Error Correction</title>
    <link href="https://r-statistics.co/Cointegration-in-R.html"/>
    <id>https://r-statistics.co/Cointegration-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Cointegration in R from scratch: spurious regression, the Engle-Granger two-step test, the right critical values, and error correction models that work.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Coefficient Plots and Marginal Effects in R with broom</title>
    <link href="https://r-statistics.co/Coefficient-Plots-and-Marginal-Effects-in-R.html"/>
    <id>https://r-statistics.co/Coefficient-Plots-and-Marginal-Effects-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build coefficient plots with broom and ggplot2, then read marginal effects that show each predictor's effect on the outcome. A runnable, from-scratch guide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Code and Data Sharing in Peer Review</title>
    <link href="https://r-statistics.co/Code-and-Data-Sharing-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Code-and-Data-Sharing-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your code and data are not available and the analysis is not reproducible. Fix the seed, deposit both, or share a synthetic dataset instead.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Clustering Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Clustering-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Clustering-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 clustering R exercises with hidden solutions: k-means, hierarchical, DBSCAN, silhouette, gap statistic, PAM, ARI, and a customer segmentation walkthrough.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Clustering in R: k-Means, Hierarchical or DBSCAN</title>
    <link href="https://r-statistics.co/Cluster-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Cluster-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compare k-Means, hierarchical, and DBSCAN clustering in R on the same dataset. Choose the right algorithm based on cluster shape, noise, and validation.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cluster Analysis Exercises in R: 17 k-Means, Hierarchical &amp;amp; PAM Problems</title>
    <link href="https://r-statistics.co/Cluster-Analysis-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Cluster-Analysis-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>17 cluster analysis exercises in R covering k-means, scaling, elbow &amp;amp; silhouette diagnostics, hierarchical clustering, linkage choice, PAM, and Rand index.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Clinical Trials Design in R: Randomization, Adaptive Designs &amp; ICC</title>
    <link href="https://r-statistics.co/Clinical-Trials-Design-in-R.html"/>
    <id>https://r-statistics.co/Clinical-Trials-Design-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Design clinical trials in R: permuted block randomization, stratification, adaptive designs with interim analyses, and ICC calculations for cluster trials.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Capstone: A Clinical-Style Group Comparison in R</title>
    <link href="https://r-statistics.co/Clinical-Comparison-Capstone-in-R.html"/>
    <id>https://r-statistics.co/Clinical-Comparison-Capstone-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A two-arm clinical-style comparison in R, end to end: protocol, power, a Table 1 with standardized mean differences, the primary test, ANCOVA, and reporting.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Choropleth Maps in R: ggplot2 and sf, Step by Step</title>
    <link href="https://r-statistics.co/Choropleth-Maps-in-R.html"/>
    <id>https://r-statistics.co/Choropleth-Maps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Choropleth maps shade regions by a data variable. Learn to join data to sf geometry, choose perceptually correct colour scales, and avoid area-size bias.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Which Forecasting Model in R? A Decision Guide</title>
    <link href="https://r-statistics.co/Choosing-a-Forecasting-Model-in-R.html"/>
    <id>https://r-statistics.co/Choosing-a-Forecasting-Model-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>No single forecasting model wins everywhere. Match your trend and seasonality to Holt, ETS, SARIMA, Prophet, VAR or neural nets, then backtest to decide.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Choosing Priors in R: The Decision That Matters</title>
    <link href="https://r-statistics.co/Choosing-Priors-in-R.html"/>
    <id>https://r-statistics.co/Choosing-Priors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Prior choice shapes the posterior, especially with small data. Weakly informative priors are the modern default. When and how to use informative priors instead.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cholesky Decomposition in R: chol(), Explained</title>
    <link href="https://r-statistics.co/Cholesky-Decomposition-in-R.html"/>
    <id>https://r-statistics.co/Cholesky-Decomposition-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master Cholesky decomposition in R using chol(). Factor symmetric positive-definite matrices, solve linear systems faster than LU, simulate correlated MVN data.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chi-Square Tests in R: Which One and How to Run It</title>
    <link href="https://r-statistics.co/Chi-Square-Tests-in-R.html"/>
    <id>https://r-statistics.co/Chi-Square-Tests-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run chi-square tests in R for independence and goodness-of-fit. Check expected-count assumptions, interpret residuals, and report Cramér's V effect size.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chi-Square Test of Independence in R (Worked Example)</title>
    <link href="https://r-statistics.co/Chi-Square-Test-of-Independence-in-R.html"/>
    <id>https://r-statistics.co/Chi-Square-Test-of-Independence-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Chi-square test of independence in R, complete walkthrough: check assumptions, interpret residuals, compute Cramer's V effect size, and run power analysis.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chi-Square Exercises in R: 20 Solved Problems</title>
    <link href="https://r-statistics.co/Chi-Square-Test-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Chi-Square-Test-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Chi-square R exercises: 20 practice problems with runnable solutions, covering goodness-of-fit, independence, residuals, Cramer's V, and Fisher's exact.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chi-Square Goodness-of-Fit Test in R (How-To)</title>
    <link href="https://r-statistics.co/Chi-Square-Goodness-of-Fit-Test-in-R.html"/>
    <id>https://r-statistics.co/Chi-Square-Goodness-of-Fit-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a chi-square goodness-of-fit test in R with chisq.test(). Covers assumptions, manual calculation, residuals, effect size, and a Mendel pea-ratio example.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Checking Model Assumptions in R: One Workflow</title>
    <link href="https://r-statistics.co/Checking-Assumptions-in-R.html"/>
    <id>https://r-statistics.co/Checking-Assumptions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A clear, runnable workflow for checking model assumptions in R: linearity, normality, equal variance, independence, influential points, and collinearity.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Chart Annotation in R: Arrows, Highlights, Direct Labels</title>
    <link href="https://r-statistics.co/Chart-Annotation-Techniques-in-R.html"/>
    <id>https://r-statistics.co/Chart-Annotation-Techniques-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn chart annotation in R with ggplot2: add text, draw arrows to point at key moments, highlight regions and subsets, and label lines without a legend.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Changepoint Detection in R: the changepoint Package and PELT</title>
    <link href="https://r-statistics.co/Changepoint-Detection-in-R.html"/>
    <id>https://r-statistics.co/Changepoint-Detection-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect changepoints in R with the changepoint package: PELT, cpt.mean, cpt.var and cpt.meanvar, choosing a penalty with CROPS, and the traps that fake changes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Central Limit Theorem in R: See It by Simulation</title>
    <link href="https://r-statistics.co/Central-Limit-Theorem-in-R.html"/>
    <id>https://r-statistics.co/Central-Limit-Theorem-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The CLT says sample means become normal no matter the population shape. Simulate it in R from skewed, bimodal, and uniform data and watch normality emerge.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Central Limit Theorem Exercises in R: 16 Simulation Problems</title>
    <link href="https://r-statistics.co/Central-Limit-Theorem-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Central-Limit-Theorem-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>16 central limit theorem exercises in R with full worked solutions. Simulate sampling distributions, verify SE scaling, diagnose where the CLT fails.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>CausalImpact in R: Did the Intervention Move the Series?</title>
    <link href="https://r-statistics.co/CausalImpact-in-R.html"/>
    <id>https://r-statistics.co/CausalImpact-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Estimate what a campaign or launch really did with CausalImpact in R: build the counterfactual by hand, read every summary field, and run the placebo check.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Cauchy &amp; Heavy-Tailed Distributions in R: When the CLT Fails You</title>
    <link href="https://r-statistics.co/Cauchy-and-Heavy-Tailed-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Cauchy-and-Heavy-Tailed-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Cauchy and heavy-tailed distributions break the Central Limit Theorem. Simulate the failure in R and learn practical fixes: medians, Student-t, bootstrap.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Categorical Data in R: Tables and Mosaic Plots</title>
    <link href="https://r-statistics.co/Categorical-Data-in-R.html"/>
    <id>https://r-statistics.co/Categorical-Data-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master categorical data in R: build frequency tables with table(), crosstabs with xtabs() and tabyl(), and mosaic plots that reveal hidden associations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Canonical Correlation Analysis in R (CCA How-To)</title>
    <link href="https://r-statistics.co/Canonical-Correlation-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Canonical-Correlation-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Canonical correlation analysis (CCA) reveals strongest links between two variable sets. Use cancor() in R to compute canonical variates, loadings, and tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Calendar Effects in R: Trading Days, Holidays, Time-Zone Traps</title>
    <link href="https://r-statistics.co/Calendar-Effects-in-R.html"/>
    <id>https://r-statistics.co/Calendar-Effects-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fix calendar effects in R: adjust for trading days, build holiday regressors with lubridate, and avoid DST and time zone traps that corrupt forecasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>SEM and CFA in R With lavaan: A Complete Walkthrough</title>
    <link href="https://r-statistics.co/CFA-and-Structural-Equation-Modeling-in-R.html"/>
    <id>https://r-statistics.co/CFA-and-Structural-Equation-Modeling-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn CFA and structural equation modeling (SEM) in R with lavaan. Master model syntax, path diagrams, fit indices (CFI, RMSEA, SRMR), and respecification.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Capstone: A Business Experiment in R</title>
    <link href="https://r-statistics.co/Business-Experiment-Capstone-in-R.html"/>
    <id>https://r-statistics.co/Business-Experiment-Capstone-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a full A/B test in R end to end: define metrics and guardrails, size the test, catch sample ratio mismatch, apply CUPED, slice segments, and write the memo.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bump Charts in R: Rank Over Time with ggplot2</title>
    <link href="https://r-statistics.co/Bump-Charts-in-R.html"/>
    <id>https://r-statistics.co/Bump-Charts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Build bump charts in R with ggplot2 to show rank over time. Learn to compute ranks, reverse the axis, label lines, and highlight one series, with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Build a Complete ggplot2 Theme from Scratch</title>
    <link href="https://r-statistics.co/Build-a-ggplot2-Theme-in-R.html"/>
    <id>https://r-statistics.co/Build-a-ggplot2-Theme-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn how to build a complete, reusable ggplot2 theme from scratch in R: master the element functions, scale text with base_size, and set it as your default.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bubble and Point Maps in R with ggplot2 and sf</title>
    <link href="https://r-statistics.co/Bubble-Maps-in-R.html"/>
    <id>https://r-statistics.co/Bubble-Maps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to build point maps and bubble maps in R with ggplot2 and sf. Plot longitude and latitude, size bubbles by area not radius, add geom_sf boundaries.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bubble Chart in R: Add a Third Variable to Your Scatter Plot</title>
    <link href="https://r-statistics.co/Bubble-Chart-in-R.html"/>
    <id>https://r-statistics.co/Bubble-Chart-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create bubble charts in R with ggplot2. Learn geom_point() size mapping, scale_size_area(), label overlaps with ggrepel, and when bubble charts communicate clearly vs. mislead.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Borderline p-Values in Peer Review</title>
    <link href="https://r-statistics.co/Borderline-p-Values-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Borderline-p-Values-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your p = 0.049 is being treated as a definitive finding. How to check whether a borderline p-value actually holds up in R, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bootstrap in R: The boot Package, Step by Step</title>
    <link href="https://r-statistics.co/Bootstrap-in-R.html"/>
    <id>https://r-statistics.co/Bootstrap-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bootstrap in R with the boot package: confidence intervals and hypothesis tests without distributional assumptions. Runnable BCa, percentile, basic examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bootstrapping and Bagging Forecasts in R</title>
    <link href="https://r-statistics.co/Bootstrap-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Bootstrap-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bootstrap a time series in R with bld.mbb.bootstrap(), then bag ETS forecasts using baggedETS(). Block resampling, honest intervals and the fable way.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bootstrap Confidence Intervals in R (Any Statistic)</title>
    <link href="https://r-statistics.co/Bootstrap-Confidence-Intervals-in-R.html"/>
    <id>https://r-statistics.co/Bootstrap-Confidence-Intervals-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bootstrap confidence intervals in R without distributional assumptions. Learn percentile, BCa, studentized intervals and boot.ci() with runnable examples.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bivariate EDA in R: Find Relationships Between Variables Before You Model Them</title>
    <link href="https://r-statistics.co/Bivariate-EDA-in-R.html"/>
    <id>https://r-statistics.co/Bivariate-EDA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bivariate EDA reveals correlations, group differences, and associations. Learn scatter plots, grouped boxplots, mosaic plots, and correlation tests in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Binomial vs Poisson in R: Which Fits Your Count Data</title>
    <link href="https://r-statistics.co/Binomial-and-Poisson-Distributions-in-R.html"/>
    <id>https://r-statistics.co/Binomial-and-Poisson-Distributions-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Binomial models fixed-n binary trials; Poisson models rare events in continuous time. Learn the R functions (dbinom, dpois, rbinom) and how to choose.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Binomial Distribution Exercises in R: 17 Practice Problems</title>
    <link href="https://r-statistics.co/Binomial-Distribution-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Binomial-Distribution-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 17 binomial distribution exercises in R covering dbinom, pbinom, qbinom, rbinom and binom.test with full runnable solutions and explanations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bias in Data and Models: Find It With R Before Your Results Mislead Anyone</title>
    <link href="https://r-statistics.co/Bias-in-Data-and-Models.html"/>
    <id>https://r-statistics.co/Bias-in-Data-and-Models.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect sampling, measurement, and algorithmic bias in R using practical tests and fairness metrics designed to keep your data analyses defensibly unbiased.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Beta Regression in R: Model Proportions (betareg)</title>
    <link href="https://r-statistics.co/Beta-Regression-in-R.html"/>
    <id>https://r-statistics.co/Beta-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Beta regression in R models proportions and rates bounded between 0 and 1 using the betareg package. Learn formula syntax, link functions, and diagnostics.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Best R Books: A Curated Reading List (2026)</title>
    <link href="https://r-statistics.co/Best-R-Books.html"/>
    <id>https://r-statistics.co/Best-R-Books.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The definitive ranked reading list, from R for Data Science to Advanced R and Statistical Rethinking. What each book does best, and who should skip it.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Benchmark Forecasts in R: Naive, Seasonal Naive, and Drift</title>
    <link href="https://r-statistics.co/Benchmark-Forecasts-in-R.html"/>
    <id>https://r-statistics.co/Benchmark-Forecasts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the four benchmark forecasts in R: naive, seasonal naive, drift and mean. Fit them with forecast and fable, then test whether a real model beats them.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian t-Test in R with the BayesFactor Package</title>
    <link href="https://r-statistics.co/Bayesian-t-Test-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-t-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn the Bayesian t-test in R with the BayesFactor package: run ttestBF, read the BF10 evidence, set the prior, test direction, and estimate the effect size.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The Bayesian Workflow in R: All 5 Steps Explained</title>
    <link href="https://r-statistics.co/Bayesian-Workflow-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Workflow-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The Bayesian workflow is iterative: set priors, fit, check predictions, then revise. Learn all 5 steps in R with one running example, from prior to report.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Time Series in R: Forecasting with bsts</title>
    <link href="https://r-statistics.co/Bayesian-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast time series in R with the bsts package: build Bayesian state space models with trend and seasonality, and read every forecast as an honest interval.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Survival Analysis in R: rstanarm Package</title>
    <link href="https://r-statistics.co/Bayesian-Survival-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Survival-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit Bayesian survival models in R with rstanarm: turn censored time-to-event data into a Poisson model, set priors, and read hazard ratios from the posterior.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Statistics in R: Intuition First</title>
    <link href="https://r-statistics.co/Bayesian-Statistics-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Statistics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bayesian statistics in R from scratch: simulate the prior-likelihood-posterior update, watch a wrong prior get washed out by data, then bridge to MCMC.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Statistics Exercises in R: 20 Practice Problems</title>
    <link href="https://r-statistics.co/Bayesian-Statistics-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Statistics-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Twenty Bayesian statistics R exercises: conjugate priors, posteriors, rstanarm, brms, MCMC diagnostics, LOO model comparison. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Nonparametrics in R: Dirichlet Process Clustering</title>
    <link href="https://r-statistics.co/Bayesian-Nonparametrics-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Nonparametrics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn Dirichlet process clustering in R: how Bayesian nonparametrics lets the data choose the number of clusters, built from scratch and with a package.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Logistic Regression in R: Why Stakeholders Trust These Odds Ratios More</title>
    <link href="https://r-statistics.co/Bayesian-Logistic-Regression-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Logistic-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit a Bayesian logistic regression with brms. Convert log-odds posteriors to odds ratios and probabilities, with credible intervals stakeholders trust.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Linear Regression in R: Get Uncertainty Estimates lm() Cannot Give You</title>
    <link href="https://r-statistics.co/Bayesian-Linear-Regression-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Linear-Regression-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit a Bayesian linear regression with brms. Set priors, read the posterior over coefficients, and make probability statements that lm() cannot give you.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Hierarchical Models in R, Explained</title>
    <link href="https://r-statistics.co/Bayesian-Hierarchical-Models-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Hierarchical-Models-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Hierarchical Bayesian models fit population-level effects plus per-group deviations jointly. Use brms to borrow strength across groups and stabilise small ones.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian Factor Analysis in R with blavaan</title>
    <link href="https://r-statistics.co/Bayesian-Factor-Analysis-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-Factor-Analysis-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Fit a Bayesian confirmatory factor analysis in R with blavaan: set priors, read posterior factor loadings and credible intervals, and check Rhat convergence.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayesian ANOVA in R With BayesFactor (How-To)</title>
    <link href="https://r-statistics.co/Bayesian-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Bayesian-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run Bayesian ANOVA in R with the BayesFactor package. Bayes factors quantify evidence directly; sample posterior group means and run custom contrasts.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayes' Theorem in R: A Simulation That Makes It Click</title>
    <link href="https://r-statistics.co/Bayes-Theorem-in-R.html"/>
    <id>https://r-statistics.co/Bayes-Theorem-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A 99%-accurate test for a 1-in-1000 disease still returns mostly false positives. See why in R using Bayes theorem on real medical test data and simulations.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Bayes Factors in R: BayesFactor Package as Alternative to p-Values</title>
    <link href="https://r-statistics.co/Bayes-Factors-in-R.html"/>
    <id>https://r-statistics.co/Bayes-Factors-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A Bayes factor quantifies evidence for H1 vs H0 as a ratio. Use R's BayesFactor package for ttestBF, anovaBF, regressionBF with Kass-Raftery guidance.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Forecast Hundreds of Series Automatically in R</title>
    <link href="https://r-statistics.co/Batch-Forecasting-in-R.html"/>
    <id>https://r-statistics.co/Batch-Forecasting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Forecast hundreds of time series at once in R. Fit ETS, ARIMA and naive models to every series in one command, then auto-pick the best model per series.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Baseline Imbalance in Peer Review</title>
    <link href="https://r-statistics.co/Baseline-Imbalance-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Baseline-Imbalance-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your groups differ at baseline. How to check baseline balance in R with standardized differences, decide whether to adjust, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Base R Speed Round: 50 Rapid Drills</title>
    <link href="https://r-statistics.co/Base-R-Speed-Round.html"/>
    <id>https://r-statistics.co/Base-R-Speed-Round.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Base R practice with 50 rapid one-liner drills: vectors, subsetting, the apply family, strings, factors, matrices, and dates, each with a hidden worked solution.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Backtesting Forecast Models in R at Scale</title>
    <link href="https://r-statistics.co/Backtesting-Forecasts-in-R.html"/>
    <id>https://r-statistics.co/Backtesting-Forecasts-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Backtest forecast models in R at scale: build rolling origins with stretch_tsibble, score many models on many series, then prove the winner was not luck.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Automated EDA in R: Get a Full Data Profile in 5 Minutes (3 Packages Compared)</title>
    <link href="https://r-statistics.co/Automated-EDA-in-R.html"/>
    <id>https://r-statistics.co/Automated-EDA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>DataExplorer, skimr, and SmartEDA auto-generate distributions, correlations, and missing data summaries. Learn which to use for quick checks vs reports.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Autocorrelation in Residuals: How to Test and Fix It</title>
    <link href="https://r-statistics.co/Autocorrelation-in-Residuals.html"/>
    <id>https://r-statistics.co/Autocorrelation-in-Residuals.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect autocorrelated residuals in R with the Durbin-Watson and Breusch-Godfrey tests. Includes decision rules, ACF plots, and fixes like HAC standard errors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Autocorrelated Residuals in Peer Review</title>
    <link href="https://r-statistics.co/Autocorrelated-Residuals-in-Peer-Review.html"/>
    <id>https://r-statistics.co/Autocorrelated-Residuals-in-Peer-Review.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A reviewer says your residuals are autocorrelated. Check it in R with the Durbin-Watson test, decide whether it changes your result, and word the reply.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Asymptotic Theory in R: Consistency, Asymptotic Normality &amp; Delta Method</title>
    <link href="https://r-statistics.co/Asymptotic-Theory-in-R.html"/>
    <id>https://r-statistics.co/Asymptotic-Theory-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Understand asymptotic theory in R: what consistency, asymptotic normality, and the delta method mean, with simulations and worked examples you can run live.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Asymptotic Theory in R: Consistency and Normality</title>
    <link href="https://r-statistics.co/Asymptotic-Theory-in-R-2.html"/>
    <id>https://r-statistics.co/Asymptotic-Theory-in-R-2.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn asymptotic theory in R with simulations: consistency via LLN, asymptotic normality via CLT, and the delta method for transformed estimators in practice.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Asymptotic Relative Efficiency, Explained With R</title>
    <link href="https://r-statistics.co/Asymptotic-Relative-Efficiency-in-R.html"/>
    <id>https://r-statistics.co/Asymptotic-Relative-Efficiency-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master asymptotic relative efficiency (ARE) in R with simulations for mean vs median, Wilcoxon vs t-test, and sample-size planning under any distribution.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ABC in R: Bayesian Inference Without a Likelihood</title>
    <link href="https://r-statistics.co/Approximate-Bayesian-Computation-in-R.html"/>
    <id>https://r-statistics.co/Approximate-Bayesian-Computation-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Approximate Bayesian Computation (ABC) in R: Bayesian inference with no likelihood. Build the ABC rejection sampler, tune tolerance, and recover parameters.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Apply Family Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/Apply-Family-Exercises-in-R.html"/>
    <id>https://r-statistics.co/Apply-Family-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice apply, sapply, lapply, vapply, mapply, and tapply with 20 scenario-driven R exercises across matrices, data frames, and grouped vectors.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Apache Arrow in R: Read Parquet Files &amp; Run Fast In-Memory Analytics</title>
    <link href="https://r-statistics.co/Apache-Arrow-in-R.html"/>
    <id>https://r-statistics.co/Apache-Arrow-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Read Parquet files, query datasets bigger than RAM, and run lightning-fast analytics in R with the arrow package, full tutorial with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>How to Answer Statistical Reviewer Comments in R</title>
    <link href="https://r-statistics.co/Answering-Statistical-Reviewer-Comments.html"/>
    <id>https://r-statistics.co/Answering-Statistical-Reviewer-Comments.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The 30 statistical objections peer reviewers actually raise, what each one means, how to check it in R, and how to word your response letter for each outcome.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Time Series Anomaly Detection in R: tsoutliers, anomalize</title>
    <link href="https://r-statistics.co/Anomaly-Detection-in-Time-Series-in-R.html"/>
    <id>https://r-statistics.co/Anomaly-Detection-in-Time-Series-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect anomalies in time series with R. Learn the tsoutliers tso() procedure, the anomalize pipeline, additive outliers vs level shifts, and IQR vs GESD tuning.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Anderson-Darling Test in R: Sharper Normality</title>
    <link href="https://r-statistics.co/Anderson-Darling-Test-in-R.html"/>
    <id>https://r-statistics.co/Anderson-Darling-Test-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run the Anderson-Darling test in R with nortest::ad.test() for normality. More tail-sensitive than Shapiro-Wilk, with clear interpretation of A and p-value.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Ancillary Statistics &amp; Basu's Theorem in R: Advanced Statistical Theory</title>
    <link href="https://r-statistics.co/Ancillary-Statistics-and-Basus-Theorem.html"/>
    <id>https://r-statistics.co/Ancillary-Statistics-and-Basus-Theorem.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ancillary statistics and Basu's theorem with runnable R simulations. Verify the independence of sample mean, variance, and ancillary ratios clearly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Aligned Rank Transform for Factorial Designs in R: ARTool Package</title>
    <link href="https://r-statistics.co/Aligned-Rank-Transform-for-Factorial-Designs-in-R.html"/>
    <id>https://r-statistics.co/Aligned-Rank-Transform-for-Factorial-Designs-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Use ARTool to run nonparametric factorial ANOVA in R. Test main effects and interactions on ranked data with art(), anova(), and art.con() post-hoc.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Aligned Rank Transform ANOVA in R (ART How-To)</title>
    <link href="https://r-statistics.co/Aligned-Rank-Transform-ANOVA-in-R.html"/>
    <id>https://r-statistics.co/Aligned-Rank-Transform-ANOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run factorial nonparametric ANOVA in R with the ARTool package. Align, rank, and test main effects plus interactions when data violate ANOVA assumptions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Algorithmic Fairness in R: fairml &amp; aif360 for Bias Auditing</title>
    <link href="https://r-statistics.co/Algorithmic-Fairness-in-R.html"/>
    <id>https://r-statistics.co/Algorithmic-Fairness-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Audit machine learning models for fairness using R. Learn disparate impact, calibration, and practical bias auditing with fairml and aif360.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Advanced ggplot2: A Hands-On Interactive Course</title>
    <link href="https://r-statistics.co/Advanced-ggplot2-Course.html"/>
    <id>https://r-statistics.co/Advanced-ggplot2-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Take ggplot2 further in three interactive lessons: faceting and scales, themes, colour and accessibility, and annotating and composing publication-ready figures.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Advanced Faceting in R: ggh4x, Nested and Per-Panel Axes</title>
    <link href="https://r-statistics.co/Advanced-Faceting-in-R.html"/>
    <id>https://r-statistics.co/Advanced-Faceting-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn advanced faceting in R: control panel layout and free scales, restyle and move facet strips, then use ggh4x for nested facets and per-panel axes.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Added Variable Plots in R: Partial Regression &amp; Marginal Effects</title>
    <link href="https://r-statistics.co/Added-Variable-Plots-in-R.html"/>
    <id>https://r-statistics.co/Added-Variable-Plots-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Master added variable plots in R: partial regression, marginal effects, and the math behind isolating one predictor's effect from a multiple regression model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Accessible Data Visualization in R: Color Vision and Contrast</title>
    <link href="https://r-statistics.co/Accessible-Data-Visualization-in-R.html"/>
    <id>https://r-statistics.co/Accessible-Data-Visualization-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Make accessible data visualization in R: learn color vision deficiency, colorblind-safe palettes, WCAG contrast ratios, and redundant encoding in ggplot2.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARIMAX in R: ARIMA with External Regressors (xreg)</title>
    <link href="https://r-statistics.co/ARIMAX-in-R.html"/>
    <id>https://r-statistics.co/ARIMAX-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ARIMAX in R: add external regressors to an ARIMA model with the xreg argument, forecast using future predictors, and interpret the coefficients correctly.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARIMA in R: What AR, I, and MA Mean and How to Fit One</title>
    <link href="https://r-statistics.co/ARIMA-in-R.html"/>
    <id>https://r-statistics.co/ARIMA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn what AR, I, and MA mean in an ARIMA model, how differencing and ACF/PACF pick p, d, q, and how to fit and forecast with Arima() and auto.arima() in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARIMA and Seasonal ARIMA in R: An Interactive Course</title>
    <link href="https://r-statistics.co/ARIMA-and-Seasonal-ARIMA-Course.html"/>
    <id>https://r-statistics.co/ARIMA-and-Seasonal-ARIMA-Course.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ARIMA and seasonal ARIMA in R across seven interactive lessons: stationarity and unit-root tests, differencing, reading the ACF and PACF, non-seasonal and seasonal ARIMA, ARIMA versus ETS, and automatic model selection.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARIMA Exercises in R: 25 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/ARIMA-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ARIMA-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice 25 ARIMA exercises in R: stationarity tests, ACF/PACF, auto.arima, seasonal SARIMA, diagnostics, forecasting accuracy. Hidden solutions.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARIMA Diagnostics in R: checkresiduals() and Ljung-Box</title>
    <link href="https://r-statistics.co/ARIMA-Diagnostics-in-R.html"/>
    <id>https://r-statistics.co/ARIMA-Diagnostics-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>A good ARIMA model leaves white noise residuals. Learn to run checkresiduals() and the Ljung-Box test in R, read every output, and fix a failing model.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ARFIMA in R: Long-Memory Models with fracdiff</title>
    <link href="https://r-statistics.co/ARFIMA-in-R.html"/>
    <id>https://r-statistics.co/ARFIMA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Model long-memory time series in R with ARFIMA and the fracdiff package: estimate the fractional difference d, remove persistence, and forecast with real code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>API Calls Exercises in R: 17 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/API-Calls-Exercises-in-R.html"/>
    <id>https://r-statistics.co/API-Calls-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>R API calls exercises with httr2: 17 hands-on problems on GET/POST, headers, JSON parsing, auth, pagination, retries, and rate limit throttling.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ANOVA Exercises in R: 15 One-Way and Two-Way Practice Problems</title>
    <link href="https://r-statistics.co/ANOVA-Exercises-in-R.html"/>
    <id>https://r-statistics.co/ANOVA-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>15 ANOVA R exercises with runnable solutions: one-way, two-way, interactions, Tukey HSD, Levene's, Welch's, effect size, contrasts, and assumption checks.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ANCOVA in R: Control a Covariate, Gain Power</title>
    <link href="https://r-statistics.co/ANCOVA-in-R.html"/>
    <id>https://r-statistics.co/ANCOVA-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn ANCOVA in R: add a continuous covariate to reduce variance, improve power, check the parallel slopes assumption, and report adjusted means with emmeans.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>The ADEMP Framework: Simulation Studies in R</title>
    <link href="https://r-statistics.co/ADEMP-Framework-in-R.html"/>
    <id>https://r-statistics.co/ADEMP-Framework-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>ADEMP (Aims, Data-generating, Estimands, Methods, Performance) gives simulation studies structure. Design, code, and report Monte Carlo simulations in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>ACF and PACF in R: How to Read the Plots for ARIMA Orders</title>
    <link href="https://r-statistics.co/ACF-and-PACF-in-R.html"/>
    <id>https://r-statistics.co/ACF-and-PACF-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Learn to read ACF and PACF plots in R to pick ARIMA p and q orders. See how cutoff vs decay patterns reveal AR, MA, and ARMA models, with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>A/B Testing in R: Plan Your Sample Size, Analyse Correctly, and Know When to Stop</title>
    <link href="https://r-statistics.co/AB-Testing-in-R.html"/>
    <id>https://r-statistics.co/AB-Testing-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Plan A/B tests in R: pick a sample size with pwr, analyse proportions and means correctly, and stop without peeking. End-to-end workflow with runnable code.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>A/B Testing Interview Cases: 20 Solved in R</title>
    <link href="https://r-statistics.co/AB-Testing-Interview-Cases.html"/>
    <id>https://r-statistics.co/AB-Testing-Interview-Cases.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>20 A/B testing interview questions solved in R: sample size and MDE, proportion tests, the peeking problem, ratio-metric variance, CUPED, and reading a readout.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>A/B Testing Exercises in R: 18 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/AB-Testing-Exercises-in-R.html"/>
    <id>https://r-statistics.co/AB-Testing-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Solve 18 A/B testing exercises in R covering sample size, prop.test, Welch t-test, peeking, Bonferroni, dropout inflation, and end-to-end analysis.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>A/B Testing Exercises in R: 20 Real-World Practice Problems</title>
    <link href="https://r-statistics.co/A-B-Testing-Exercises-in-R.html"/>
    <id>https://r-statistics.co/A-B-Testing-Exercises-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Practice A/B testing in R with 20 hands-on exercises covering proportion tests, t-tests, power, sample size, lift, multiple comparisons, SRM, and A/A tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>3D Maps in R: rayshader Package for Terrain Visualization</title>
    <link href="https://r-statistics.co/3D-Maps-in-R.html"/>
    <id>https://r-statistics.co/3D-Maps-in-R.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Create 3D terrain maps in R with the rayshader package. Learn hillshading, elevation rendering, water detection, camera control, and high-quality exports.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>25 Best ggplot2 Extensions in R: ggrepel, ggforce, ggtext &amp; Beyond</title>
    <link href="https://r-statistics.co/25-Best-ggplot2-Extensions.html"/>
    <id>https://r-statistics.co/25-Best-ggplot2-Extensions.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Discover 25 essential ggplot2 extensions in R, from ggrepel labels to patchwork layouts to gganimate animations, with runnable code examples and tips.</summary>
    <author><name>Selva Prabhakaran</name></author>
  </entry>
  <entry>
    <title>Free A/B Test Calculator: Lift, p-Value, Sample Size</title>
    <link href="https://r-statistics.co/tools/ab-test-calculator.html"/>
    <id>https://r-statistics.co/tools/ab-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free A/B test calculator. Sample size planning, two-proportion z-test, Bayesian beta-binomial (BF10), sequential sanity check, and lift CI. No signup required.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free ACF and PACF Calculator with Correlogram Plots</title>
    <link href="https://r-statistics.co/tools/acf-pacf-calculator.html"/>
    <id>https://r-statistics.co/tools/acf-pacf-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free ACF and PACF calculator: paste a time series, get both correlograms with significance bands, every lag's number, and an honest read on the ARIMA order.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free ANOVA Calculator: One-Way and Two-Way in R</title>
    <link href="https://r-statistics.co/tools/anova-calculator.html"/>
    <id>https://r-statistics.co/tools/anova-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free ANOVA calculator: paste raw group data for a full one-way or two-way ANOVA table with SS, df, F, p, eta-squared, group means and R code. Matches R's aov().</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free ANOVA Output Interpreter: Read aov() in R</title>
    <link href="https://r-statistics.co/tools/anova-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/anova-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste R aov() or car::Anova() output. Recomputes each F and p-value from the sums of squares, adds eta-squared, omega-squared and Cohen's f, plus a plain-English read.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Bayes Factor Calculator</title>
    <link href="https://r-statistics.co/tools/bayes-factor-calculator.html"/>
    <id>https://r-statistics.co/tools/bayes-factor-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bayes factor calculator (BF10, BF01) for t-tests, proportions, and correlations. JZS Cauchy prior with sensitivity plot, posterior P(H1). Free online, no signup.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Bayes' Theorem Calculator: PPV, NPV &amp; Base Rates</title>
    <link href="https://r-statistics.co/tools/bayes-theorem-calculator.html"/>
    <id>https://r-statistics.co/tools/bayes-theorem-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Update P(H|D) from prior, sensitivity, and specificity. Step-by-step derivation, PPV/NPV, false-positive paradox, spam classifier, and two-test chaining. Free online.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Bayesian A/B Test Calculator: When to Stop</title>
    <link href="https://r-statistics.co/tools/bayesian-ab-test-calculator.html"/>
    <id>https://r-statistics.co/tools/bayesian-ab-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bayesian A/B test from conversions and visitors: P(B beats A), expected loss both ways, a credible interval for the lift, and whether you can stop the test now.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Bayesian Output Interpreter: Read brms and rstanarm</title>
    <link href="https://r-statistics.co/tools/bayesian-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/bayesian-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste a brms or rstanarm summary() and get every line explained: posterior estimates, credible intervals, Rhat, Bulk_ESS and Tail_ESS, divergent transitions, and whether the fit is safe to report.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Beta Distribution Calculator: PDF, CDF and Quantiles</title>
    <link href="https://r-statistics.co/tools/beta-distribution-calculator.html"/>
    <id>https://r-statistics.co/tools/beta-distribution-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Beta distribution probabilities for any alpha and beta: density, P(X≤x), upper tail, quantiles and credible intervals, with a shaded curve and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Binomial Probability Calculator: Exact and Cumulative</title>
    <link href="https://r-statistics.co/tools/binomial-probability-calculator.html"/>
    <id>https://r-statistics.co/tools/binomial-probability-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Binomial probability for n trials at success probability p: exactly k, at most k, at least k, a range, or the inverse, with a shaded bar chart and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Binomial Table: Exact and Cumulative Probability Lookup</title>
    <link href="https://r-statistics.co/tools/binomial-table.html"/>
    <id>https://r-statistics.co/tools/binomial-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive binomial table: set n, p and k to light up the exact cell and read P(X=k), P(X≤k), P(X≥k). Printable tables for n = 1 to 20.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Bootstrap Confidence Interval Calculator (BCa)</title>
    <link href="https://r-statistics.co/tools/bootstrap-ci-calculator.html"/>
    <id>https://r-statistics.co/tools/bootstrap-ci-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Bootstrap confidence interval calculator: percentile, basic, and BCa for mean, median, SD, IQR, quantile, or any custom statistic. 10K+ resamples in your browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Box Plot Calculator and Five-Number Summary</title>
    <link href="https://r-statistics.co/tools/box-plot-calculator.html"/>
    <id>https://r-statistics.co/tools/box-plot-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free box plot calculator: paste one group or named groups for the five-number summary, quartiles, IQR, whiskers and outliers on a labeled boxplot. Matches R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Chi-Square Test Calculator (Independence, GoF)</title>
    <link href="https://r-statistics.co/tools/chi-square-calculator.html"/>
    <id>https://r-statistics.co/tools/chi-square-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free chi-square test calculator: independence, goodness-of-fit, and homogeneity. Standardized residuals, Cramer’s V, mosaic plot, and Fisher’s exact handoff.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Chi-Square Table (Critical Values): Interactive Lookup</title>
    <link href="https://r-statistics.co/tools/chi-square-table.html"/>
    <id>https://r-statistics.co/tools/chi-square-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive chi-square table: set df and alpha to highlight the critical value. Printable chi-square table, shaded curve, statistic-to-p reverse, qchisq() code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Cohen's Kappa Calculator: Rater Agreement &amp; CI</title>
    <link href="https://r-statistics.co/tools/cohens-kappa-calculator.html"/>
    <id>https://r-statistics.co/tools/cohens-kappa-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free Cohen's kappa calculator: paste a confusion matrix or two rating columns for observed and expected agreement, unweighted, linear- and quadratic-weighted kappa, SE, 95% CI and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Confidence Interval Calculator: 8 Interval Types</title>
    <link href="https://r-statistics.co/tools/confidence-interval-calculator.html"/>
    <id>https://r-statistics.co/tools/confidence-interval-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free confidence interval calculator: mean, proportion (Wilson and exact), differences, Poisson rate, variance, correlation and regression slope. Steps + R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Confusion Matrix Calculator: Precision, Recall, F1, MCC</title>
    <link href="https://r-statistics.co/tools/confusion-matrix-interpreter.html"/>
    <id>https://r-statistics.co/tools/confusion-matrix-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste a confusion matrix for accuracy with exact CI, precision, recall, F1, MCC and kappa, plus which metric to trust when classes are imbalanced.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Correlation Calculator: Pearson, Spearman, Kendall</title>
    <link href="https://r-statistics.co/tools/correlation-calculator.html"/>
    <id>https://r-statistics.co/tools/correlation-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free correlation calculator: paste two columns for Pearson r, Spearman rho or Kendall tau-b with CI, p-value, scatter plot and R code. Matches cor.test().</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Correlation Matrix Calculator with p-Values</title>
    <link href="https://r-statistics.co/tools/correlation-matrix-calculator.html"/>
    <id>https://r-statistics.co/tools/correlation-matrix-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free correlation matrix calculator: paste columns, get every Pearson or Spearman r with the p-value and the n behind each cell, colour coded. Matches R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free coxph Output Interpreter: Read a Cox Model</title>
    <link href="https://r-statistics.co/tools/coxph-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/coxph-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste a survival::coxph summary and get every number decoded: hazard ratios in plain English, what an interval crossing 1 means, concordance, and the three global tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Cronbach's Alpha Calculator: Reliability &amp; CI</title>
    <link href="https://r-statistics.co/tools/cronbachs-alpha-calculator.html"/>
    <id>https://r-statistics.co/tools/cronbachs-alpha-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free Cronbach's alpha calculator: paste item responses for raw and standardized alpha, a 95% Feldt confidence interval, item analysis with alpha-if-dropped, and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free DAG Confounder Picker: Adjustment Sets in R</title>
    <link href="https://r-statistics.co/tools/dag-confounder-picker.html"/>
    <id>https://r-statistics.co/tools/dag-confounder-picker.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Draw a causal DAG; the picker finds the minimum sufficient adjustment set via Pearl's back-door criterion, flags colliders, and exports a clean DAG diagram.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Descriptive Statistics Calculator: Mean, SD, Quartiles</title>
    <link href="https://r-statistics.co/tools/descriptive-statistics-calculator.html"/>
    <id>https://r-statistics.co/tools/descriptive-statistics-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free descriptive statistics calculator: paste numbers to get the mean, median, mode, SD, quartiles, IQR, skewness, kurtosis, a 95% CI, a histogram and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Regression Diagnostic Plot Calculator: plot.lm in R</title>
    <link href="https://r-statistics.co/tools/diagnostic-plot.html"/>
    <id>https://r-statistics.co/tools/diagnostic-plot.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Read R's four plot(lm) diagnostic panels: residuals vs fitted, Q-Q, scale-location and leverage. Recomputed statistics, plain-English reads, and fixes.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Effect Size Converter: Cohen's d, r, OR, η²</title>
    <link href="https://r-statistics.co/tools/effect-size-converter.html"/>
    <id>https://r-statistics.co/tools/effect-size-converter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Convert between Cohen's d, r, odds ratio, eta-squared and more, with the formulas shown and R code to reproduce every conversion. Free, runs in the browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Empirical Rule Calculator: 68-95-99.7 Rule</title>
    <link href="https://r-statistics.co/tools/empirical-rule-calculator.html"/>
    <id>https://r-statistics.co/tools/empirical-rule-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>The 68-95-99.7 rule for any mean and SD: see the three bands and their ranges, find which band a value falls in, or reverse a percentage back to a range.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Equivalence &amp; Non-Inferiority Test Calculator (TOST)</title>
    <link href="https://r-statistics.co/tools/equivalence-noninferiority-calculator.html"/>
    <id>https://r-statistics.co/tools/equivalence-noninferiority-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>TOST equivalence and non-inferiority testing for means and proportions: set margins, get the two one-sided tests, a decision, and matching R code. Free.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>F Distribution Table: Critical F Values and Lookup</title>
    <link href="https://r-statistics.co/tools/f-table.html"/>
    <id>https://r-statistics.co/tools/f-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive F distribution table: set df1, df2, alpha to highlight the critical F value. Printable F tables, shaded curve, F-to-p reverse mode, and qf() code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Fisher's Exact Test Calculator: 2x2 p and OR</title>
    <link href="https://r-statistics.co/tools/fisher-exact-test-calculator.html"/>
    <id>https://r-statistics.co/tools/fisher-exact-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free Fisher's exact test calculator for a 2x2 table: one- and two-sided p-values, odds ratio with an exact confidence interval and mid-p, plus runnable R code. Matches fisher.test().</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free glm() Output Interpreter: Read Your R GLM</title>
    <link href="https://r-statistics.co/tools/glm-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/glm-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste summary(glm(...)) output: coefficients read as odds or rate ratios, deviance and AIC explained, overdispersion checked, models compared with LR tests.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free ICC Calculator: Intraclass Correlation &amp; Agreement</title>
    <link href="https://r-statistics.co/tools/icc-calculator.html"/>
    <id>https://r-statistics.co/tools/icc-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free ICC calculator: paste a rater table for ICC(1,1), ICC(2,1), ICC(3,1) and the average-measure forms with F, 95% CI, plus a guided picker for which ICC to report.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Statistical Calculators &amp; R Interpreters</title>
    <link href="https://r-statistics.co/tools/index.html"/>
    <id>https://r-statistics.co/tools/index.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free in-browser statistical calculators and R output interpreters: t-test, chi-square, power analysis, lm and glm readers, ROC/AUC and more, verified against R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free IQR Calculator: Quartiles and Outlier Fences</title>
    <link href="https://r-statistics.co/tools/iqr-calculator.html"/>
    <id>https://r-statistics.co/tools/iqr-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free IQR calculator: paste data for Q1, median, Q3 and the interquartile range, plus 1.5 IQR fences, flagged outliers and a labeled boxplot. Matches R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Linear Regression Calculator: Slope, R2, p-value</title>
    <link href="https://r-statistics.co/tools/linear-regression-calculator.html"/>
    <id>https://r-statistics.co/tools/linear-regression-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free linear regression calculator: paste x and y for the fitted line, slope, intercept, standard errors, t, p-values, R-squared and R code. Matches R's lm().</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free lm() Output Interpreter: Read Your R Regression</title>
    <link href="https://r-statistics.co/tools/lm-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/lm-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste summary(lm(...)) output for a line-by-line plain-English read: every coefficient, R-squared, F-test and residuals, plus AIC/BIC model comparison.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free lmer Output Interpreter: Read lme4 summary()</title>
    <link href="https://r-statistics.co/tools/lmer-output-interpreter.html"/>
    <id>https://r-statistics.co/tools/lmer-output-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste the summary() of an lme4 lmer or glmer model and get every number explained: variance components, ICC, fixed effects, and why there are no p-values.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Margin of Error Calculator: Polls and Sample Size</title>
    <link href="https://r-statistics.co/tools/margin-of-error-calculator.html"/>
    <id>https://r-statistics.co/tools/margin-of-error-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Find the margin of error for a poll or survey from sample size and result, the sample size for a target margin, or the margin for an average. Verified in R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Mean, Median and Mode Calculator with Steps</title>
    <link href="https://r-statistics.co/tools/mean-median-mode-calculator.html"/>
    <id>https://r-statistics.co/tools/mean-median-mode-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Paste your data to get the mean, median and mode at once, with the range, midrange and a step-by-step walkthrough. Handles multimodal and no-mode data honestly.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Meta-Analysis Calculator: Pool Studies, Forest Plot</title>
    <link href="https://r-statistics.co/tools/meta-analysis-quick-tool.html"/>
    <id>https://r-statistics.co/tools/meta-analysis-quick-tool.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Pool studies under fixed-effect and random-effects (DerSimonian-Laird) models: forest plot, plus Q, I-squared and tau-squared explained. Effects or 2x2 counts.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>P-Value Adjustment Calculator: Bonferroni to BH FDR</title>
    <link href="https://r-statistics.co/tools/multiple-testing-correction.html"/>
    <id>https://r-statistics.co/tools/multiple-testing-correction.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Adjust p-values for multiple comparisons: Bonferroni, Holm, Benjamini-Hochberg FDR, Benjamini-Yekutieli. Paste your p-values and see what stays significant. Free online.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Nonparametric Test Calculator: Mann-Whitney, Wilcoxon</title>
    <link href="https://r-statistics.co/tools/nonparametric.html"/>
    <id>https://r-statistics.co/tools/nonparametric.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run Mann-Whitney, Wilcoxon signed-rank, Kruskal-Wallis and Friedman tests in the browser: exact or approximate p-values, effect sizes and matching R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Normal Distribution Calculator: Area and Inverse</title>
    <link href="https://r-statistics.co/tools/normal-distribution-calculator.html"/>
    <id>https://r-statistics.co/tools/normal-distribution-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Normal distribution probabilities for any mean and SD: area below, above, between or outside a value, plus inverse cutoffs, with a shaded curve and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Normality Test Calculator: Shapiro-Wilk + Q-Q Plot</title>
    <link href="https://r-statistics.co/tools/normality-test-picker.html"/>
    <id>https://r-statistics.co/tools/normality-test-picker.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Test whether your data follows a normal distribution: Shapiro-Wilk, Anderson-Darling, Lilliefors, Jarque-Bera. Includes Q-Q plot. Free online calculator.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Odds Ratio Calculator: OR, RR, NNT &amp; Risk</title>
    <link href="https://r-statistics.co/tools/odds-ratio-calculator.html"/>
    <id>https://r-statistics.co/tools/odds-ratio-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free 2x2 odds ratio calculator: OR with Wald and Fisher exact CIs, risk ratio, NNT and attributable risk, plus R code. Matches fisher.test().</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Outlier Detection Calculator: Grubbs, ESD, Hampel &amp; IQR</title>
    <link href="https://r-statistics.co/tools/outlier-detection-calculator.html"/>
    <id>https://r-statistics.co/tools/outlier-detection-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Detect outliers four ways: Grubbs, generalized ESD, Hampel and 1.5xIQR, side by side on your pasted data, with decisions and R code for each method.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free p-value Calculator: from t, z, chi-square, F, r</title>
    <link href="https://r-statistics.co/tools/p-value-calculator.html"/>
    <id>https://r-statistics.co/tools/p-value-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Turn a t, z, chi-square, F or r statistic into its exact p-value, or find critical values from alpha. Shaded curves, APA report lines and R code included.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Pearson r Table: Critical Values by df and Alpha</title>
    <link href="https://r-statistics.co/tools/pearson-critical-values-table.html"/>
    <id>https://r-statistics.co/tools/pearson-critical-values-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive Pearson r table: critical correlation values by degrees of freedom and alpha, a full printable table, exact p-values and matching cor.test() R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Percentile Calculator: Value and Rank from Data</title>
    <link href="https://r-statistics.co/tools/percentile-calculator.html"/>
    <id>https://r-statistics.co/tools/percentile-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free percentile calculator: paste numbers to read the 1st to 99th percentiles and any custom percentile, or find the percentile rank of a value. Matches R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Poisson Distribution Calculator: PMF and CDF</title>
    <link href="https://r-statistics.co/tools/poisson-distribution-calculator.html"/>
    <id>https://r-statistics.co/tools/poisson-distribution-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Poisson probability for an average rate lambda: exactly k events, at most or at least k, a range, or the inverse count, with a shaded bar chart and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Post-Hoc Test Calculator: Tukey, Bonferroni, Dunn</title>
    <link href="https://r-statistics.co/tools/post-hoc-calculator.html"/>
    <id>https://r-statistics.co/tools/post-hoc-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free post-hoc calculator: paste group data and get Tukey HSD, Bonferroni pairwise t-tests and Dunn's test with BH, plus a letters display. Verified against R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Posterior Calculator: Conjugate Bayesian Updates</title>
    <link href="https://r-statistics.co/tools/posterior-calculator.html"/>
    <id>https://r-statistics.co/tools/posterior-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Update a prior with data in closed form: Beta-Binomial, Normal-Normal or Gamma-Poisson. Prior, likelihood and posterior curves, the update steps and a credible interval.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Power Analysis Calculator</title>
    <link href="https://r-statistics.co/tools/power-analysis.html"/>
    <id>https://r-statistics.co/tools/power-analysis.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Solve for sample size, power, effect size or alpha across t-tests, ANOVA, proportions, correlation and chi-square, with Cohen's benchmarks built in. Free.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Prediction Interval Calculator: PI vs CI at x0</title>
    <link href="https://r-statistics.co/tools/prediction-interval-calculator.html"/>
    <id>https://r-statistics.co/tools/prediction-interval-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free prediction interval calculator: paste x and y, pick a new x, and get the prediction interval for one new observation next to the confidence interval for the mean.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Proportion Test Calculator: One or Two Proportions</title>
    <link href="https://r-statistics.co/tools/proportion-test-calculator.html"/>
    <id>https://r-statistics.co/tools/proportion-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Run a one- or two-proportion z-test: state H0 and H1, get the z statistic, critical value, and p-value, with the continuity-correction story and matching R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Reprex Builder: Clean R Code for Stack Overflow</title>
    <link href="https://r-statistics.co/tools/reprex-builder.html"/>
    <id>https://r-statistics.co/tools/reprex-builder.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Turn problem R code into a minimal reproducible example: session info, venue formatting for Stack Overflow or GitHub, and checks that it actually runs.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free ROC Curve &amp; AUC Calculator: Thresholds + DeLong CI</title>
    <link href="https://r-statistics.co/tools/roc-auc-calculator.html"/>
    <id>https://r-statistics.co/tools/roc-auc-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free ROC curve and AUC calculator. DeLong 95% CI, optimal threshold (Youden, F1, cost-weighted), live confusion matrix, and calibration plot.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Sample Size Calculator for ANOVA: n per Group</title>
    <link href="https://r-statistics.co/tools/sample-size-anova-calculator.html"/>
    <id>https://r-statistics.co/tools/sample-size-anova-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sample size for a one-way ANOVA. Enter Cohen's f, or your group means and a common SD, set the number of groups, power and alpha, and get n per group.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Sample Size Calculator: How Many Do You Need?</title>
    <link href="https://r-statistics.co/tools/sample-size-calculator.html"/>
    <id>https://r-statistics.co/tools/sample-size-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Work out the sample size your study needs. Pick the right calculator for what you are comparing, or get n for a survey estimate from the margin of error you want.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Sample Size Calculator for Proportions: n per Group</title>
    <link href="https://r-statistics.co/tools/sample-size-proportion-calculator.html"/>
    <id>https://r-statistics.co/tools/sample-size-proportion-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sample size for a one-proportion or two-proportion test. Enter your baseline and target rates, set power and alpha, and get n per group with the steps.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Sample Size Calculator for t Tests: n per Group</title>
    <link href="https://r-statistics.co/tools/sample-size-t-test-calculator.html"/>
    <id>https://r-statistics.co/tools/sample-size-t-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Sample size for a one-sample, two-sample, or paired t test. Enter Cohen's d, or your means and SDs, set power and alpha, and get n per group with the steps.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Standard Deviation Calculator: Sample and Population</title>
    <link href="https://r-statistics.co/tools/standard-deviation-calculator.html"/>
    <id>https://r-statistics.co/tools/standard-deviation-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free standard deviation calculator: paste data for the sample and population standard deviation, variance, mean, standard error and CV, with every step shown.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Statistical Significance Calculator for A/B Tests</title>
    <link href="https://r-statistics.co/tools/statistical-significance-calculator.html"/>
    <id>https://r-statistics.co/tools/statistical-significance-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Is your result statistically significant? Compare two conversion rates or two averages, or a rate versus a target. Get the p-value, a verdict, and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Statistical Test Chooser: Find the Right Test</title>
    <link href="https://r-statistics.co/tools/statistical-test-chooser.html"/>
    <id>https://r-statistics.co/tools/statistical-test-chooser.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Answer plain questions about your goal and data; the chooser walks the standard decision tree to the right statistical test, with assumptions and R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Survival Analysis Power Calculator</title>
    <link href="https://r-statistics.co/tools/survival-power-calculator.html"/>
    <id>https://r-statistics.co/tools/survival-power-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Plan a time-to-event trial: required events, sample size or power for a log-rank test via Schoenfeld or Freedman, with accrual, follow-up and dropout.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>t Table (Critical t Values): Interactive Lookup</title>
    <link href="https://r-statistics.co/tools/t-table.html"/>
    <id>https://r-statistics.co/tools/t-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive t table: critical t values by df and tail for every common alpha, a full printable table, reverse t-to-p lookup and matching qt() R code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free t-Test Calculator: Instant Results + Step-by-Step Math</title>
    <link href="https://r-statistics.co/tools/t-test-calculator.html"/>
    <id>https://r-statistics.co/tools/t-test-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Free t-test calculator for one-sample, paired and two-sample (Welch or pooled) designs. Raw data or summary stats, full working shown, verified against R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free Stationarity Test Calculator: ADF, KPSS, PP in R</title>
    <link href="https://r-statistics.co/tools/ts-stationarity-calculator.html"/>
    <id>https://r-statistics.co/tools/ts-stationarity-calculator.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Test a time series for stationarity with ADF, KPSS and Phillips-Perron together, read the combined verdict, and get the matching R code. Free, in-browser.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Type I / II Error Visualizer</title>
    <link href="https://r-statistics.co/tools/type-i-ii-error-visualizer.html"/>
    <id>https://r-statistics.co/tools/type-i-ii-error-visualizer.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Visualize Type I and Type II errors with live overlapping sampling distributions. Drag effect, n, alpha; watch beta shrink and power rise across six test types.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Free VIF Calculator: Check Multicollinearity in R</title>
    <link href="https://r-statistics.co/tools/vif-interpreter.html"/>
    <id>https://r-statistics.co/tools/vif-interpreter.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Compute VIF from predictor data or a correlation matrix, drop a predictor to watch the rest recompute live, and get a plain multicollinearity verdict. Matches R.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>Z-Score Calculator: Z to Percentile and Back (Free)</title>
    <link href="https://r-statistics.co/tools/z-score-percentile.html"/>
    <id>https://r-statistics.co/tools/z-score-percentile.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Convert z-scores to percentiles and back, with the shaded normal curve, two-tailed areas, and R code (pnorm, qnorm) for every conversion. Free.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
  <entry>
    <title>z Table (Standard Normal): z to Area Lookup</title>
    <link href="https://r-statistics.co/tools/z-table.html"/>
    <id>https://r-statistics.co/tools/z-table.html</id>
    <updated>2026-10-05T00:00:00Z</updated>
    <summary>Interactive z table: standard normal areas left, right, between or beyond any z, area-to-z reverse lookup, and a full printable table with pnorm/qnorm code.</summary>
    <author><name>Selva Prabhakaran</name></author>
    <category term="tool"/>
  </entry>
</feed>
