Package: earthUI 0.8.0

earthUI: Interactive 'shiny' GUI for the 'earth' Package

Provides a 'shiny'-based graphical user interface for the 'earth' package, enabling interactive building and exploration of Multivariate Adaptive Regression Splines (MARS) models. Features include data import from CSV and 'Excel' files, automatic detection of categorical variables, interactive control of interaction terms via an allowed matrix, comprehensive model diagnostics with variable importance and partial dependence plots, and publication-quality report generation via 'Quarto'.

Authors:William Craytor [aut, cre]

earthUI_0.8.0.tar.gz
earthUI_0.8.0.zip(r-4.7-any)earthUI_0.8.0.zip(r-4.6-any)earthUI_0.8.0.zip(r-4.5-any)
earthUI_0.8.0.tgz(r-4.6-any)earthUI_0.8.0.tgz(r-4.5-any)
earthUI_0.8.0.tar.gz(r-4.7-any)earthUI_0.8.0.tar.gz(r-4.6-any)
earthUI_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
earthUI/json (API)

# Install 'earthUI' in R:
install.packages('earthUI', repos = c('https://bert-craytor.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wcraytor/earthui/issues

On CRAN:

Conda:

3.65 score 584 downloads 65 exports 88 dependencies

Last updated from:97f3a773e4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK220
source / vignettesOK234
linux-releaseOK226
macos-releaseOK333
macos-oldrelOK281
windows-develOK154
windows-releaseOK211
windows-oldrelOK190
wasm-releaseOK128

Exports:auto_export_for_mgcvbuild_allowed_functionbuild_allowed_matrixbuild_sales_gridcity_abbreviationcompute_intermediate_outputcompute_rca_adjustmentscompute_sale_ageconvert_quarto_filecountry_choicescountry_schemadefault_regproj_rootdetect_categoricalsdetect_typesearthui_prefs_pathearthui_prefs_readearthui_prefs_writeexport_settingsfit_earthformat_anovaformat_model_equationformat_summaryformat_variable_importancegenerate_quarto_reportget_project_settingsimport_datais_project_dirlaunchlist_g_functionsos_detectplot_actual_vs_predictedplot_contributionplot_correlation_matrixplot_g_contourplot_g_functionplot_g_perspplot_partial_dependenceplot_qqplot_residualsplot_variable_importanceprepare_report_assetsregproj_flat_segmentregproj_geo_db_connectregproj_geo_db_pathregproj_in_filesregproj_index_getregproj_index_pathregproj_index_putregproj_index_readregproj_index_writeregproj_last_file_getregproj_last_file_pathregproj_last_file_setregproj_list_projectsregproj_parse_flatregproj_pathregproj_projects_db_connectregproj_projects_db_pathregproj_referencerender_reportselect_sales_grid_compsset_project_settingsvalidate_typeswrite_earth_outputwrite_fit_log

Dependencies:askpassbase64encbitbit64blobbslibcachemcellrangerclicommonmarkcpp11crayoncrosstalkcurldata.tableDBIdigestdplyrearthevaluatefarverfastmapfontawesomeFormulafsgenericsggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvhttrisobandjquerylibjsonliteknitrlabelinglaterlazyevallifecyclemagrittrmemoisemimeopensslopenxlsxotelpillarpkgconfigplotlyplotmoplotrixprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppreadxlrematchrlangrmarkdownRSQLiteS7sassscalesshinysourcetoolsstringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewatcherwithrxfunxtableyamlzip

earthUI User Guide
Introduction | Three Purpose Modes | Getting Started | Locale & Regional Settings | Override Dropdowns | Saving Defaults | MLS Input Data Requirements | Required Columns for Appraisal Mode | Data Quality | Subject Row Placement | The Sidebar Workflow | Variable Selection | The Predictor Table | Special Column Types | Allowed Interactions (Degree 2+) | Block from Degree 1 (Interaction Only) | Recommended Parameter Values | Summary Table | Key Rationale | Earth Output File | Downloading Data (Step 6) | Output Columns | Column Ordering & Formatting | CQA Scores | mgcvUI Auto-Export | RCA Calculations (Step 7, Appraisal Only) | The RCA Dialog | How It Works | Sales Comparison Grid (Step 8, Appraisal Only) | Overview | Comp Selection | Grid Layout | Adjusted Sale Price Formula | Sheet Protection | Working with the Grid | Downloading Reports (Step 9) | Demo Dataset: Appraisal_1.csv | Description | Columns | Suggested Quick Start | System Requirements & Troubleshooting | Supported Platforms | Optional Dependencies | Platform Notes | Graceful Degradation | Troubleshooting

Last update: 2026-06-02
Started: 2026-03-18

Getting Started with earthUI
Prerequisites | Introduction | Basic Workflow | 1. Import Data | 2. Detect Categorical Variables | 3. Fit the Model | 4. Examine Results | 5. Plots | Controlling Interactions | Exporting Reports

Last update: 2026-06-02
Started: 2026-03-11

The g-Function Notation for Earth Models
Overview | Grouping Model Terms | Indexing the g-Functions | Graphing Dimensions | The Model Equation | Number of Charts | Example | The g-Function Table | 1st-Degree: Numeric Variable (d = 1) | 1st-Degree: Factor Variable (d = 0) | 2nd-Degree: No Factors (d = 2) | 2nd-Degree: 1 Factor (d = 1) | 2nd-Degree: 2 Factors (d = 0) | 3rd-Degree: No Factors (d = 3) | 3rd-Degree: 1 Factor (d = 2) | 3rd-Degree: 2 Factors (d = 1) | 3rd-Degree: 3 Factors (d = 0) | Visualization Summary for 3rd-Degree Terms | Reference

Last update: 2026-03-11
Started: 2026-03-11

Readme and manuals

Help Manual

Help pageTopics
Export an earthUI result as RDS for consumption by mgcvUIauto_export_for_mgcv
Build an allowed function for earth()build_allowed_function
Build an allowed interaction matrixbuild_allowed_matrix
Build a Sales Comparison Grid Excel workbookbuild_sales_grid
Generate a city path code from a full namecity_abbreviation
Compute intermediate output data framecompute_intermediate_output
Compute RCA (Residual Comparable Adjustment) output for an appraisalcompute_rca_adjustments
Compute sale age in integer dayscompute_sale_age
Convert a Quarto source file to one or more output formatsconvert_quarto_file
List all countries with shipped admin schemascountry_choices
Get the admin-level schema for a countrycountry_schema
Default regProj root for the current OSdefault_regproj_root
Detect likely categorical variables in a data framedetect_categoricals
Detect column types in a data framedetect_types
Path to the per-user earthUI preferences fileearthui_prefs_path
Read user preferences (returns empty list if file missing)earthui_prefs_read
Write user preferences (atomic; creates the config dir if needed)earthui_prefs_write
Export saved earthUI settings for one file+purpose to a JSON fileexport_settings
Fit an earth modelfit_earth
Format ANOVA decompositionformat_anova
Format earth model as LaTeX equationformat_model_equation
Format earth model summaryformat_summary
Format variable importanceformat_variable_importance
Generate a Quarto report source bundle (without rendering)generate_quarto_report
Get model settings for a projectget_project_settings
Import data from CSV or Excel filesimport_data
Test whether a path is a regProj project leaf folderis_project_dir
Launch the earthUI Shiny applicationlaunch
List g-function groups from a fitted earth modellist_g_functions
Detect the current operating system as a regProj segmentos_detect
Plot actual vs predicted valuesplot_actual_vs_predicted
Plot variable contributionplot_contribution
Plot correlation matrixplot_correlation_matrix
Plot g-function as a static contour (for reports)plot_g_contour
Plot g-function contributionplot_g_function
Plot g-function as a static 3D perspective (for reports)plot_g_persp
Plot partial dependenceplot_partial_dependence
Plot Q-Q plot of residualsplot_qq
Plot residual diagnosticsplot_residuals
Plot variable importanceplot_variable_importance
Prepare report assetsprepare_report_assets
Encode the flat regProj segment from componentsregproj_flat_segment
Open (and initialize if needed) the regProj geo databaseregproj_geo_db_connect
Path to the regProj geo SQLite databaseregproj_geo_db_path
List input files in an active project's in/ folderregproj_in_files
Get a code for a full name within a scoperegproj_index_get
Path to the central regProj name-to-code index (legacy)regproj_index_path
Set a name-to-code mapping in the geo SQLite DBregproj_index_put
Read the central regProj index from the geo SQLite DBregproj_index_read
Deprecated. The geo data is now in SQLite; this is a no-op kept for backward compatibility.regproj_index_write
Last-used input file marker (per project)regproj_last_file regproj_last_file_get regproj_last_file_path regproj_last_file_set
List all projects under a regProj rootregproj_list_projects
Decode a flat regProj segment back into componentsregproj_parse_flat
Build a regProj-canonical pathregproj_path
Open (and initialize if needed) the regProj projects databaseregproj_projects_db_connect
Path to the regProj projects SQLite databaseregproj_projects_db_path
Load the shipped regProj reference dataregproj_reference
Render an earth model reportrender_report
Select comparable sales for the Sales Comparison Gridselect_sales_grid_comps
Set model settings for a projectset_project_settings
Validate declared column types against actual datavalidate_types
Write an earth model summary to a text filewrite_earth_output
Write an earthUI fitting log to a text filewrite_fit_log