Package: pems.utils 0.2.30.0
![](https://r-universe.dev/static/nobody.jpg)
Karl Ropkins
pems.utils: Portable Emissions (and Other Mobile) Measurement System Utilities
Utility functions for the handling, analysis and visualisation of data from portable emissions measurement systems ('PEMS') and other similar mobile activity monitoring devices. The package includes a dedicated 'pems' data class that manages many of the quality control, unit handling and data archiving issues that can hinder efforts to standardise 'PEMS' research.
Authors:
pems.utils_0.2.30.0.tar.gz
pems.utils_0.2.30.0.zip(r-4.5)pems.utils_0.2.30.0.zip(r-4.4)pems.utils_0.2.30.0.zip(r-4.3)
pems.utils_0.2.30.0.tgz(r-4.4-x86_64)pems.utils_0.2.30.0.tgz(r-4.4-arm64)pems.utils_0.2.30.0.tgz(r-4.3-x86_64)pems.utils_0.2.30.0.tgz(r-4.3-arm64)
pems.utils_0.2.30.0.tar.gz(r-4.5-noble)pems.utils_0.2.30.0.tar.gz(r-4.4-noble)
pems.utils_0.2.30.0.tgz(r-4.4-emscripten)pems.utils_0.2.30.0.tgz(r-4.3-emscripten)
pems.utils.pdf |pems.utils.html✨
pems.utils/json (API)
NEWS
# Install 'pems.utils' in R: |
install.packages('pems.utils', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://r-forge.r-project.org/projects/pems
- pems.1 - Example data for use with pems.utils
- pems.scheme - Reference data for use with pems.utils
- ref.chem - Reference data for use with pems.utils
- ref.diesel - Reference data for use with pems.utils
- ref.petrol - Reference data for use with pems.utils
- ref.unit.conversions - Reference data for use with pems.utils
Last updated 1 years agofrom:8ca0325d9c. Checks:OK: 4 NOTE: 5. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 06 2024 |
R-4.5-win-x86_64 | NOTE | Sep 06 2024 |
R-4.5-linux-x86_64 | NOTE | Sep 06 2024 |
R-4.4-win-x86_64 | NOTE | Sep 06 2024 |
R-4.4-mac-x86_64 | NOTE | Sep 06 2024 |
R-4.4-mac-aarch64 | NOTE | Sep 06 2024 |
R-4.3-win-x86_64 | OK | Sep 06 2024 |
R-4.3-mac-x86_64 | OK | Sep 06 2024 |
R-4.3-mac-aarch64 | OK | Sep 06 2024 |
Exports:[[[[[<-[<-$$<-addUnitAliasaddUnitConversionalignanti_joinarrangeas.data.frameas.pemsC_ylagxCORcalcAccelcalcAccelerationcalcCheckscalcDistancecalcEmcalcEm_HoribaPitotcalcJerkcalcPackcalcPack2calcSpeedcalcVSPcalcVSP_JimenezPalacioscAligncheckIfMissingcheckOptioncheckOutputcheckPEMScheckUnitscoldStartPlotconvertUnitscorrectBaselinecorrectInputcpedimexportPEMSexportPEMS2CSVexportPEMS2TABfilterfindLinearOffsetfitColdStartfitSpeedEmfortifyfull_joingetPEMSConstantsgetPEMSDatagetPEMSElementgetUnitsgroup_bygroup_sizegroupsheadimport2PEMSimportCAGE2PEMSimportCSV2PEMSimportKML2PEMSimportOB12PEMSimportOBS2PEMSimportParSYNC2PEMSimportRoyalTek2PEMSimportSEMTECH2PEMSimportTAB2PEMSinner_joinis.pemsisPEMSlatticePlotleft_joinlistUnitConversionsmakePEMSmakePEMSElementmutaten_groupsna.omitnamesnames<-panel.coldStartPlot1panel.coldStartPlot2panel.pemsPlotpanel.PEMSXYPlotpanel.routePathpanel.WatsonBinPlotpanel.WatsonContourPlotpanel.WatsonSmoothContourPlotpemspems.elementpemsConstantspemsDatapemsHistorypemsPlotpemsXYZCondUnitsHandlerplotpreprocess.pemsPlotpreprocess.WatsonPlotprintpullrebuildPEMSrefDrivingModerefEngineOnrefRowrefVSPBinrefVSPBin_MOVES.23refVSPBin_NCSU.14refXregularizerenamerepairLocalTimeright_joinselectsemi_joinsetUnitsslicespeedEmPlotstackPEMSsubsetsummarisesummarysummaryReporttailtAlignungroupunitsunits<-VSPBinPlotVSPPlotWatsonPlotwithXYZPlotzeroNegatives
Dependencies:baselineclicolorspacedeldirdplyrfansifarvergenericsggplot2gluegtableinterpisobandjpeglabelinglatticelatticeExtralifecyclelimSolveloalpSolvemagrittrMASSMatrixmgcvmunsellnlmeOpenStreetMappillarpkgconfigplyrpngquadprogR6rasterRColorBrewerRcppRcppEigenRgoogleMapsrJavarlangscalesspSparseMterratibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
pems.utils | pems.utils-package pems.utils |
making and importing data | 1.1.make.import.data as.pems as.pems.data.frame as.pems.default import2PEMS importCAGE2PEMS importCSV2PEMS importKML2PEMS importOB12PEMS importOBS2PEMS importParSYNC2PEMS importRoyalTek2PEMS importSEMTECH2PEMS importTAB2PEMS is.pems isPEMS makePEMS makePEMSElement pems pems.element pems.objects rebuildPEMS |
exporting PEMS data | 1.2.export.data export.data exportPEMS exportPEMS2CSV exportPEMS2TAB |
'pems' object structure | 2.1.pems.structure cpe getPEMSConstants getPEMSData getPEMSElement pems.structure pemsConstants pemsData pemsHistory pemsin pemsin2 |
Generic handling of pems objects | $ $.pems $<- $<-.pems 3.1.generic.pems.handlers as.data.frame as.data.frame.pems dim dim.pems generic.pems.handlers head head.pems na.omit na.omit.pems names names.pems names<- names<-.pems pems.generics plot.pems print print.pems subset subset.pems summary.pems tail tail.pems units units.pems units<- units<-.pems with with.pems [ [.pems [<- [<-.pems [[ [[.pems [[<- [[<-.pems |
Generic handling of pems.element objects | 3.2.generic.pems.element.handlers as.pems.pems.element generic.pems.element.handlers pems.element.generics plot plot.pems.element print.pems.element round round.pems.element summary summary.pems.element units.pems.element units<-.pems.element [.pems.element [<-.pems.element |
Merging data and pems objects | 4.1.merge.data.pems align cAlign C_ylagxCOR findLinearOffset merge.pems stackPEMS tAlign |
Data Referencing Functions. | 4.2.referencing.pems.data refDrivingMode refEngineOn referencing.pems.data refRow refX |
pems Data Time Handlers | 4.3.time.handlers regularize repairLocalTime time.handlers |
data unit handlers | 4.4.unit.handlers addUnitAlias addUnitConversion convertUnits getUnits listUnitConversions pems.units setUnits |
Various plots for pems.utils | 5.1.pems.plots latticePlot panel.pemsPlot panel.PEMSXYPlot panel.routePath panel.WatsonBinPlot panel.WatsonContourPlot panel.WatsonSmoothContourPlot pems.plots pemsPlot pemsXYZCondUnitsHandler preprocess.pemsPlot preprocess.WatsonPlot WatsonPlot XYZPlot |
Common calculations | 6.1.common.calculations calcAccel calcAcceleration calcChecks calcDistance calcJerk calcPack calcSpeed common.calculations |
common check... functions | 6.2.common.check.functions check... checkIfMissing checkOption checkOutput checkPEMS checkUnits |
Corrections | 6.3.corrections calcPack2 correctBaseline correctInput corrections zeroNegatives |
Generating summary reports | 6.4.analysis.summary.reports summary.reports summaryReport |
Vehicle Specific Power (VSP) related code | 7.1.vsp.code calcVSP calcVSP_JimenezPalacios refVSPBin refVSPBin_MOVES.23 refVSPBin_NCSU.14 vsp vsp.code VSPBinPlot VSPPlot |
Emission calculations | 7.2.emissions.calculations calcEm calcEm_HoribaPitot em emissions emissions.calculations |
Cold Start Emissions related code | 7.3.coldstart.code coldstart coldstart.code coldStartPlot fitColdStart panel.coldStartPlot1 panel.coldStartPlot2 |
Speed Emissions related code | 7.4.speed.em.code fitSpeedEm speed.em speed.em.code speedEmPlot |
Functions to use tidyverse code with pems.utils outputs | 8.1.pems.tidyverse.tools anti_join anti_join.pems arrange arrange.pems arrange_.pems filter filter.pems filter_.pems fortify fortify.pems full_join full_join.pems groups groups.pems group_by group_by.pems group_by_.pems group_size group_size.pems inner_join inner_join.pems left_join left_join.pems mutate mutate.pems mutate_.pems n_groups n_groups.pems pems.tidyverse pull pull.pems rename rename.pems rename_.pems right_join right_join.pems select select.pems select_.pems semi_join semi_join.pems slice slice.pems slice_.pems summarise summarise.pems summarise_.pems ungroup ungroup.pems |
example data for use with pems.utils | 9.1.example.data example.data pems.1 |
reference data for use with pems.utils | 9.2.look-up.tables look-up.tables pems.scheme ref.chem ref.diesel ref.petrol ref.unit.conversions |