Package: smwrQW 0.7.14

Dave Lorenz

smwrQW: Tools for censored data analysis

This package provides tools for the analysis and graphing of censored data, focussing on water-quality data. It provides a uniform user interface to many different methods for the analysis.

Authors:Dave Lorenz [cre], Laura De Cicco [aut], Alison Appling [ctb], Joseph Stachelek [ctb]

smwrQW_0.7.14.tar.gz
smwrQW_0.7.14.zip(r-4.5)smwrQW_0.7.14.zip(r-4.4)smwrQW_0.7.14.zip(r-4.3)
smwrQW_0.7.14.tgz(r-4.4-x86_64)smwrQW_0.7.14.tgz(r-4.4-arm64)smwrQW_0.7.14.tgz(r-4.3-x86_64)smwrQW_0.7.14.tgz(r-4.3-arm64)
smwrQW_0.7.14.tar.gz(r-4.5-noble)smwrQW_0.7.14.tar.gz(r-4.4-noble)
smwrQW_0.7.14.tgz(r-4.4-emscripten)smwrQW_0.7.14.tgz(r-4.3-emscripten)
smwrQW.pdf |smwrQW.html
smwrQW/json (API)

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

Peer review:

Bug tracker:https://github.com/usgs-r/smwrqw/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • atrazine.df - Atrazine Data A dataset of atrazine samples, replicates, and blanks collected by the U.S. Geological Survey from October 1, 2001 through September 30, 2012.
  • atrazine.dl - Atrazine Reporting Data A dataset of the reporting and detection levels for atrazine from the U.S. Geological Survey National Water Quality Lab.
  • atrazine.spk - Atrazine Spike Data A dataset of atrazine environmental and spike samples collected by the U.S. Geological Survey from October 1, 2001 through September 30, 2012.
  • pcodeColData - Selected USGS parameter Codes

On CRAN:

6.68 score 11 stars 1 packages 87 scripts 67 exports 107 dependencies

Last updated 2 years agofrom:7f9d3f24c9. Checks:ERROR: 2 WARNING: 7. Indexed: no.

TargetResultDate
Doc / VignettesFAILOct 27 2024
R-4.5-win-x86_64WARNINGOct 27 2024
R-4.5-linux-x86_64ERROROct 27 2024
R-4.4-win-x86_64WARNINGOct 27 2024
R-4.4-mac-x86_64WARNINGOct 27 2024
R-4.4-mac-aarch64WARNINGOct 27 2024
R-4.3-win-x86_64WARNINGOct 27 2024
R-4.3-mac-x86_64WARNINGOct 27 2024
R-4.3-mac-aarch64WARNINGOct 27 2024

Exports:%~=%addArithas.lcensas.mcensas.qwcensCorcensKSample.testcensMean.CIcensMove.1censMulticomp.testcensorcensoringcensorLevelscensppcensPPCC.testcensQtiles.CIcensQuantilecensRegcensReg_AMLE.fitcensReg_AMLE.predcensReg_MLE.fitcensStatscensSumStatscode01codeUCompareconvert2qwconvertFqwdlimitdotPlotfillIngehanScoresgenWilcox.testimportNWISqwimportQWimputeLessThanskendallATS.testmakeColNamesMathmcenKMmcenMLEmcenROSmdlAMLEmdlKMmdlKMstatsmdlMLEmdlROSmImputeLessThansmultiplypairedPratt.testpcodeNWISqwpctCenspowppw.testqw2mcensqwCoalesceqwRPDratiorbindQWreadNWQLdlsdlFillshowsplitQualtimePlotViewxyPlot

Dependencies:abindakimaaskpassbackportsbitbit64bootbroomcachemcarcarDataclicliprcodetoolscoincolorspacecowplotcpp11crayoncurldataRetrievalDerivdigestdoBydplyrfansifarverfastmapFormulagenericsggplot2gluegtablehmshttrisobandjsonliteKernSmoothlabelinglatticeleapslibcoinlifecyclelme4lubridatemagrittrMASSMatrixMatrixModelsmatrixStatsmemoisemgcvmicrobenchmarkmimeminqamodelrmodeltoolsmultcompmunsellmvtnormNADAnlmenloptrnnetnumDerivopensslpbkrtestpillarpkgconfigprettyunitsprogresspurrrquantregR6randtestsRColorBrewerRcppRcppEigenreadrrlangsandwichscalessmwrBasesmwrGraphssmwrStatsspSparseMstringistringrsurvivalsysTH.datatibbletidyrtidyselecttimechangetruncnormtzdbutf8vctrsviridisLitevroomwithrXMLxml2zCompositionszoo

Comparing Paired Data

Rendered fromComparingPairedData.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Comparing Three or More Groups

Rendered fromComparingMoreGroups.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Comparing Two Groups

Rendered fromComparingTwoGroups.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Computing Summary Statistics

Rendered fromComputingSummaryStatistics.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Confidence Intervals

Rendered fromConfidenceIntervals.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-08-10

Correlation

Rendered fromCorrelation.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Multivariate Methods

Rendered fromMultivariateMethods.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2018-09-18
Started: 2015-07-09

Plotting Censored Data

Rendered fromPlottingCensoredData.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-05-20

Quality Control Data Analysis

Rendered fromQualityControl.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2017-07-28
Started: 2015-08-10

Regression

Rendered fromRegression.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-09

Working with Water-Quality Data

Rendered fromWaterQualityData.Rnwusingutils::Sweaveon Oct 27 2024.

Last update: 2015-12-30
Started: 2015-07-14

Readme and manuals

Help Manual

Help pageTopics
Tools for censored water-quality data analysissmwrQW-package
Subset an Objectsubset.qw [.lcens [.mcens [.qw
Possible Equality%~=%
Add Water-Quality Dataadd
Arithmetic Methods for 'lcens', 'mcens', and 'qw' objectsArith,lcens,lcens-method Arith,lcens,numeric-method Arith,mcens,mcens-method Arith,mcens,numeric-method Arith,numeric,lcens-method Arith,numeric,mcens-method Arith,numeric,qw-method Arith,qw,numeric-method Arith,qw,qw-method Arith-censored
Character Representationsas.character.lcens as.character.mcens as.character.qw
Coerce to a Data Frameas.data.frame.lcens as.data.frame.mcens as.data.frame.qw
Numeric Representationsas.double.qw
Left-censored Data Conversionas.lcens as.lcens,character,missing,missing-method as.lcens,lcens,missing,missing-method as.lcens,numeric,missing,character-method as.lcens,numeric,missing,logical-method as.lcens,numeric,missing,missing-method as.lcens,numeric,numeric,character-method as.lcens,numeric,numeric,logical-method as.lcens,numeric,numeric,missing-method as.lcens,qw,missing,missing-method as.lcens,qw,numeric,missing-method
Multiply-censored Data Conversionas.mcens as.mcens,character,missing,missing-method as.mcens,lcens,missing,missing-method as.mcens,mcens,missing,missing-method as.mcens,numeric,missing,character-method as.mcens,numeric,missing,integer-method as.mcens,numeric,missing,missing-method as.mcens,numeric,missing,numeric-method as.mcens,numeric,numeric,missing-method as.mcens,qw,missing,missing-method
Water-quality Data Conversionas.qw as.qw,numeric,character,character,numeric,character,character,character,character,character,missing-method as.qw,numeric,character,character,numeric,character,character,character,character,character,numeric-method
Atrazine Data A dataset of atrazine samples, replicates, and blanks collected by the U.S. Geological Survey from October 1, 2001 through September 30, 2012.atrazine.df
Atrazine Reporting Data A dataset of the reporting and detection levels for atrazine from the U.S. Geological Survey National Water Quality Lab.atrazine.dl
Atrazine Spike Data A dataset of atrazine environmental and spike samples collected by the U.S. Geological Survey from October 1, 2001 through September 30, 2012.atrazine.spk
Box PlotboxPlot.data.frame boxPlot.lcens boxPlot.qw
Not exportedboxPlotCensStats
Combine Values into a Vectorc.lcens c.mcens c.qw
CorrelationcensCor
Test for difference in left-censored samplescensKSample.test
Mean with Confidence LimitscensMean.CI
Censored Maintenance of Variance Extension, Type 1censMove.1
Multiple ComparisonscensMulticomp.test
Multiply-censored Data Conversioncensor
Describe Censoringcensoring censoring.default censoring.lcens censoring.mcens censoring.qw
Describe CensoringcensorLevels censorLevels.default censorLevels.lcens censorLevels.mcens censorLevels.qw
Probability Plotting Positionscenspp censpp.default censpp.lcens censpp.mcens
Test for NormalitycensPPCC.test
Quantiles with Confidence LimitscensQtiles.CI
Sample QuantilescensQuantile censQuantile.default censQuantile.lcens censQuantile.mcens censQuantile.qw
Censored Data RegressioncensReg
Support Functions for Censored RegressioncensReg_AMLE.fit censReg_MLE.fit
Support Function for Censored RegressioncensReg_AMLE.pred
Mean and Standard DeviationcensStats censStats.default censStats.lcens censStats.mcens censStats.qw
Summary StatisticscensSumStats
Code Censored Valuescode01 code01.data.frame code01.default
Code Censored ValuescodeU codeU.data.frame codeU.default
Extract Model Coefficientscoef.censReg
Comparison Methods for 'lcens', 'mcens', and 'qw' objectsCompare,lcens,numeric-method Compare,mcens,numeric-method Compare,numeric,lcens-method Compare,numeric,mcens-method Compare,numeric,qw-method Compare,qw,numeric-method Compare-censored
Water-Quality Dataconvert2qw
Water-Quality DataconvertFqw
Impute Detection Limitsdlimit
Censored Data Methods for Function 'dotPlot'dotPlot,mcens-method dotPlot,qw-method dotPlot-censored
Empirical Distribution FunctionecdfPlot.lcens ecdfPlot.qw
Extract AIC from a Fitted ModelextractAIC.censReg
Estimate Censored ValuesfillIn fillIn.lcens fillIn.mcens fillIn.numeric
Extract Model Fitted Valuesfitted.censReg
Encode in a Common Formatformat.lcens format.mcens format.qw
Gehan Test ScoresgehanScores
Test for Difference in Censored SamplesgenWilcox.test
Water-Quality DataimportNWISqw
Water-Quality DataimportQW
Impute Censored ValuesimputeLessThans imputeLessThans.data.frame imputeLessThans.default
Missing Valuesis.na.lcens is.na.mcens is.na.qw
Kendall' taukendallATS.test
Left-censored Datalcens-class
Length of an Objectlength.lcens length.mcens length.qw
Extract Log-LikelihoodlogLik.censReg
Column NamesmakeColNames
Mathematical Transform Methods for 'lcens' objectsMath,lcens-method Math,mcens-method Math,qw-method Math-censored
Estimate StatisticsmcenKM
Estimate StatisticsmcenMLE
Estimate StatisticsmcenROS
Mutliply-censored Datamcens-class
Estimate StatisticsmdlAMLE
Estimate StatisticsmdlKM
Estimate StatisticsmdlKMstats
Estimate StatisticsmdlMLE
Estimate StatisticsmdlROS
Arithmetic Meanmean.lcens mean.mcens
Arithmetic Meanmean.qw
Median Valuemedian.lcens median.mcens median.qw
Impute Censored ValuesmImputeLessThans mImputeLessThans.data.frame mImputeLessThans.default
Multiply Water-Quality Data by a Numbermultiply
Extract the Number of Observations from a Fitnobs.censReg
Test for difference in left-censored samplespairedPratt.test
Selected USGS parameter CodespcodeColData
Parameter Code InformationpcodeNWISqw
Percent CensoredpctCens
Empirical Cumulative Percentpercentile.lcens percentile.qw
Diagnostic Plotplot.censReg
Plotplot.genWilcox plot.ppw
Plot Water-Quality Dataplot.qw
Diagnostic Plotplot.summary.censReg
Power Transformspow
Test for difference in left-censored samplesppw.test
Predict Valuespredict.censReg
Print Resultsprint.censMCT
Print Resultsprint.censQuantile
Print Resultsprint.censReg
Print Resultsprint.censStats
Print Valuesprint.lcens print.mcens print.qw
Print Resultsprint.summary.censReg
Probability PlotprobPlot.lcens probPlot.qw
Q-Q PlotqqPlot.lcens qqPlot.qw
Sample Quantilesquantile.lcens quantile.mcens quantile.qw
Water-quality Dataqw-class
Conversion to class "mcens"qw2mcens
Replace missing valuesqwCoalesce
Relative DifferencesqwRPD
Compute Ratiosratio
Combine Data by RowsrbindQW
Historical Reporting LimitsreadNWQLdl
Extract Model Residualsresiduals.censReg
Root-Mean-Squared Errorrmse.censReg
Estimate StatisticssdlFill
Show Methods for 'WSqw' objectsshow,lcens-method show,mcens-method show,qw-method show-censored
Sorting Vectorssort.lcens sort.mcens
Split Leading QualifierssplitQual
Display Structurestr.lcens str.mcens str.qw
Summarizing Linear Model Fitssummary.censReg
Summarize Datasummary.lcens summary.mcens summary.qw
Censored Data Methods for Function 'timePlot'timePlot,Date,lcens-method timePlot,Date,qw-method timePlot-censored
Variance-Covariance Matrixvcov.censReg
Invoke a Data ViewerView
Variance Inflation Factorsvif.censReg
Censored Data Methods for Function 'xyPlot'xyPlot,Date,qw-method xyPlot,lcens,lcens-method xyPlot,numeric,lcens-method xyPlot,numeric,mcens-method xyPlot,numeric,qw-method xyPlot-censored