# Getting Started with DrData

## Introduction

DrData provides a point-and-click Shiny interface that covers the full data science pipeline without writing a single line of R code.

## Launching the application

    library(DrData)
    run_app()

The browser opens automatically. Use the sidebar to navigate between modules.

## Workflow

1. Data Import — upload a CSV/Excel file or load `iris`, `mtcars`, or `Titanic` from the built-in examples.
2. Preprocessing — handle missing values, remove duplicates, scale numeric columns, and encode categorical variables.
3. EDA — explore distributions, correlations, and run normality tests with interactive Plotly charts.
4. Regression — choose from 8 algorithms, tune hyperparameters, view metrics (RMSE, MAE, R², Adj-R², MAPE, AIC, BIC), and inspect diagnostic plots including interaction effect visualisations.
5. Classification — train classifiers, evaluate with ROC curve and confusion matrix, and inspect variable importance.
6. Clustering — run K-Means, Hierarchical, or DBSCAN clustering, then visualise results with elbow plots, silhouette analysis, and cluster profiles.

## Session info

    sessionInfo()
    #> R version 4.5.2 (2025-10-31 ucrt)
    #> Platform: x86_64-w64-mingw32/x64
    #> Running under: Windows 11 x64 (build 26200)
    #>
    #> Matrix products: default
    #>   LAPACK version 3.12.1
    #>
    #> locale:
    #> [1] LC_COLLATE=C
    #> [2] LC_CTYPE=English_United States.utf8
    #> [3] LC_MONETARY=English_United States.utf8
    #> [4] LC_NUMERIC=C
    #> [5] LC_TIME=English_United States.utf8
    #>
    #> time zone: Asia/Tehran
    #> tzcode source: internal
    #>
    #> attached base packages:
    #> [1] stats     graphics  grDevices utils     datasets  methods   base
    #>
    #> loaded via a namespace (and not attached):
    #>  [1] digest_0.6.38     R6_2.6.1          fastmap_1.2.0     xfun_0.54
    #>  [5] cachem_1.1.0      knitr_1.50        htmltools_0.5.8.1 rmarkdown_2.30
    #>  [9] lifecycle_1.0.5   cli_3.6.5         sass_0.4.10       jquerylib_0.1.4
    #> [13] compiler_4.5.2    rstudioapi_0.18.0 tools_4.5.2       evaluate_1.0.5
    #> [17] bslib_0.9.0       yaml_2.3.10       rlang_1.1.7       jsonlite_2.0.0