Package: kwbGompitz 0.8.0

Hauke Sonnenberg

kwbGompitz: Interface to GompitZ Tool for Modelling the Degradation of Sewer Pipelines

Functions enabling the writing of GompitZ input files, running of GompitZ Tools (gompcal.exe, gompred.exe) and reading of GompitZ output files.

Authors:Hauke Sonnenberg [aut, cre], Michael Rustler [ctb], SEMA [fnd], Kompetenzzentrum Wasser Berlin gGmbH [cph]

kwbGompitz_0.8.0.tar.gz
kwbGompitz_0.8.0.zip(r-4.5)kwbGompitz_0.8.0.zip(r-4.4)kwbGompitz_0.8.0.zip(r-4.3)
kwbGompitz_0.8.0.tgz(r-4.4-x86_64)kwbGompitz_0.8.0.tgz(r-4.4-arm64)kwbGompitz_0.8.0.tgz(r-4.3-x86_64)kwbGompitz_0.8.0.tgz(r-4.3-arm64)
kwbGompitz_0.8.0.tar.gz(r-4.5-noble)kwbGompitz_0.8.0.tar.gz(r-4.4-noble)
kwbGompitz_0.8.0.tgz(r-4.4-emscripten)kwbGompitz_0.8.0.tgz(r-4.3-emscripten)
kwbGompitz.pdf |kwbGompitz.html
kwbGompitz/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/kwb-r/kwbgompitz/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

modellingproject-semasewer-classification

37 exports 0.09 score 34 dependencies 1 scripts

Last updated 2 years agofrom:dac7a197fc. Checks:ERROR: 6 WARNING: 3. Indexed: yes.

TargetResultDate
Doc / VignettesFAILSep 11 2024
R-4.5-win-x86_64WARNINGSep 11 2024
R-4.5-linux-x86_64ERRORSep 11 2024
R-4.4-win-x86_64WARNINGSep 11 2024
R-4.4-mac-x86_64ERRORSep 11 2024
R-4.4-mac-aarch64ERRORSep 11 2024
R-4.3-win-x86_64WARNINGSep 11 2024
R-4.3-mac-x86_64ERRORSep 11 2024
R-4.3-mac-aarch64ERRORSep 11 2024

Exports:.runModuleInDirectorycatHeadercatStructurecheckConvergencecheckInputDatacomposeGompitzInputDatacopyParameterscreateExampleFilescreateExampleFilesSmallcreateStatusMatrixdefault_condition_coloursdemo_survivalexampleCalibrationexampleFileget_labelget_survivalsgg_stacked_barsinterpolate_betweenmarginal_survivalplot_pipe_conditionsplot_prediction_by_pipeplot_stacked_barsplot_survival_curvesprintConvergencereadCalibrationreadPredictionFilereadPredictionFileWithDataTablerunGompitzCalibrationrunGompitzPredictionrunGompredInDirectorystandard_survivalsummary_generic_simsurvivalssurvivals_originaltest_marginal_survivalto_theme_legendunderline

Dependencies:clicolorspacedata.tablefansifarverggplot2gluegridExtragtableisobandkwb.plotkwb.utilslabelinglatticelifecyclemagrittrmanipulateMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Check for Convergence in Calibration.calibrationAvailable
Content for Strategy File 0.fileContentStrategy0
Content for Strategy File 1.fileContentStrategy1
File Content for Strategy 1 or 2.fileContentStrategy1or2
Content for Strategy File 2.fileContentStrategy2
Content for Strategy File 3.fileContentStrategy3
Number of observations.getObservationByCondition
probability order 2.orderByWeightedProbabilities
.runModuleInDirectory.runModuleInDirectory
Append assignment "a=b"addAssignment
Print an underlined HeadercatHeader
Print the Structure of an ObjectcatStructure
Bind Columns from a list of Data FramescbindDataFrames
Warn if Model did not converge for all StratacheckConvergence
Check Input DatacheckInputData
Apply a Function for each Columncolumnwise
Compare Estimates in calib.txt and param.txtcompareEstimates
Compose Input Data for Gompitz FunctionscomposeGompitzInputData
Prepare "Master Data" for Gompitz FunctionscomposeMasterData
Copy Model Parameters from one Stratum to anothercopyParameters
Create Example FilescreateExampleFiles
Create smaller versions of the example filescreateExampleFilesSmall
Default Covariate Status MatrixcreateStatusMatrix
Get default Vector of Condition Coloursdefault_condition_colours
Interactive Plot of Survival Curvesdemo_survival
Calibration Object of the Gompitz ExampleexampleCalibration
Get Path to Example FileexampleFile
Provide Label for Plot in selected Languageget_label
Create target directory if required and return the path to itget_or_create_target_dir
Get Survival Curves from a Calibration Objectget_survivals
Get a full Calibration Object from FilegetCalibration
Source File of Calibration ResultgetCalibrationFile
Get parameters from Calibration ObjectgetCalibrationParameters
Gompitz Covariate Status ConstantsgetConstants
Default Paths to GompitZ FilesgetDefaultPaths
Example Covariate Status MatrixgetExampleStatusMatrix
Get file Content for Input FilegetFileContentForInputFile
Random Observation DatagetSampleObservations
Read Strata Labels from Observation FilegetStataLabels
Generate gg-plot of stacked Barsgg_stacked_bars
Calibration Input File BodyinputFileBody
Calibration Input File HeaderinputFileHeader
Interpolate equidistantly between End Pointsinterpolate_between
Condition state marginal survival function surv(j,t,theta,Z)marginal_survival
Convert Data in wide View to long ViewmatrixToLongDataFrame
Call a Function with all Combinations of Argument Rangesmulticall
Plot several Survival Curvesmultiplot_survival
Generate text lines for param.txtparameterLines
Plot multiple Survival Curvesparameterplot
Plot the Pipe Conditions over Timeplot_pipe_conditions
Plot Condition Probabilities by Pipeplot_prediction_by_pipe
Generate gg-plot of Stacked Barsplot_stacked_bars
Plot Survival Curvesplot_survival_curves
Plot Calibration ResultplotCalibration1
Plot Calibration Result (2)plotCalibration2
Plot the Result of a PredictionplotPrediction
Plot Prediction by Year to temp. PDF FileplotPredictionByYear
Plot Prediction for the given YearplotPredictionForYear
Prepare data for plot_stacked_bars()prepare_for_gg_stacked_bars
Print the Calibration for one Stratumprint.gompitz_stratum_calib
Print a GompitZ Calibration Structureprint.gompitz.calibration
Print the Convergence InformationprintConvergence
Read Calibration ResultreadCalibration
Read Observation Data from File in GompitZ-FormatreadObservations
Read Parameters from "param.txt"readParameters
Read Prediction Result FilereadPredictionFile
Run Calibration ExamplerunGompcalExample
Run gompcal.exe in given DirectoryrunGompcalInDirectory
Perform GompitZ CalibrationrunGompitzCalibration
Run Gompitz PredicionrunGompitzPrediction
Run gompred.exe in given DirectoryrunGompredInDirectory
Span a Vector around x if Condition is metspanIf
Mathematical Constant 'sqrt(2 * pi)'SQRT_2_PI
Weibull condition state survival functionstandard_survival
Content for Strategy FilestrategyFileContent
Aggregate simulated Condition Classessummary_generic_sim
Get Values of (Standard or Marginal) Survival Curvessurvivals
Get Values of (Standard or Marginal) Survival Curvessurvivals_original
Create temporary gompitz directorytempGompitzDir
Test Marginal Survivaltest_marginal_survival
Generate ggplot Theme for Legendto_theme_legend
Convert Text Lines to Status MatrixtoStatusMatrix
Create a String to be used as an Underlineunderline
Write the Input FilewriteInputFile
Write Calibration Parameters to FilewriteParameters