Package: CoSMoS 2.1.0

Kevin Shook

CoSMoS: Complete Stochastic Modelling Solution

Makes univariate, multivariate, or random fields simulations precise and simple. Just select the desired time series or random fields’ properties and it will do the rest. CoSMoS is based on the framework described in Papalexiou (2018, <doi:10.1016/j.advwatres.2018.02.013>), extended for random fields in Papalexiou and Serinaldi (2020, <doi:10.1029/2019WR026331>), and further advanced in Papalexiou et al. (2021, <doi:10.1029/2020WR029466>) to allow fine-scale space-time simulation of storms (or even cyclone-mimicking fields).

Authors:Simon Michael Papalexiou [aut], Francesco Serinaldi [aut], Filip Strnad [aut], Yannis Markonis [aut], Kevin Shook [ctb, cre]

CoSMoS_2.1.0.tar.gz
CoSMoS_2.1.0.zip(r-4.5)CoSMoS_2.1.0.zip(r-4.4)CoSMoS_2.1.0.zip(r-4.3)
CoSMoS_2.1.0.tgz(r-4.4-any)CoSMoS_2.1.0.tgz(r-4.3-any)
CoSMoS_2.1.0.tar.gz(r-4.5-noble)CoSMoS_2.1.0.tar.gz(r-4.4-noble)
CoSMoS_2.1.0.tgz(r-4.4-emscripten)CoSMoS_2.1.0.tgz(r-4.3-emscripten)
CoSMoS.pdf |CoSMoS.html
CoSMoS/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tychelab/cosmos/issues

Datasets:
  • disch - Daily streamflow data data
  • precip - Hourly station precipitation data

On CRAN:

92 exports 10 stars 4.06 score 46 dependencies 28 mentions 70 scripts 344 downloads

Last updated 3 years agofrom:ba59498acf. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-winNOTESep 13 2024
R-4.5-linuxNOTESep 13 2024
R-4.4-winNOTESep 13 2024
R-4.4-macNOTESep 13 2024
R-4.3-winNOTESep 13 2024
R-4.3-macNOTESep 13 2024

Exports:acfburrXIIacffgnacfparetoIIacfweibullacsactfactfdiscreteactfdiscreteInvactfInvactiactpntsadvectionFadvectionFhyperbolicadvectionFradialadvectionFrotationadvectionFspiraladvectionFspiralCEadvectionFuniformanalyzeTSanisotropyTanisotropyTaffineanisotropyTswirlanisotropyTwaveAR1ARpcheckRFcheckTSdburrIIIdburrXIIdgevdggammadparetoIIECDFerfcfitACSfitactffitDistfitVARgenerateMTSgenerateMTSFastgenerateRFgenerateRFFastgenerateTSgetACSArggetDistArginv.erfclmommburrIIImburrXIImgevmggammamomentsmparetoIIMSENoptimACSpburrIIIpburrXIIpgevpggammapopcvarpopkurtpopmeanpopsdpopskewpopulationstatpopvarpparetoIIqburrIIIqburrXIIqgevqggammaqparetoIIquickTSPlotrburrIIIrburrXIIregenerateTSreportTSrgevrggammarMSErparetoIIsample.momentsseasonalACFseasonalARsimulateTSstcfclaytonstcfgneiting14stcfgneiting16stcsstratifySeasonDataYW

Dependencies:animationBHclicolorspacecowplotcurldata.tabledirectlabelsfansifarverggplot2ggquivergluegtableisobandlabelinglatticelifecyclemagickmagrittrmArMASSMatrixmatrixcalcMBAmgcvmisc3dmunsellmvtnormnlmenloptrpillarpkgconfigplot3DpracmaquadprogR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr

CoSMoS R | Complete Stochastic Modelling Solution

Rendered fromvignette.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-05-31
Started: 2019-04-06

Readme and manuals

Help Manual

Help pageTopics
CoSMoS: Complete Stochastic Modelling SolutionCoSMoS-package
AutoCorrelation Structureacs
AutoCorrelation Transformed Pointsactpnts
Advection fieldsadvectionF
Hyperbolic advection fieldadvectionFhyperbolic
Radial advection fieldadvectionFradial
Rotational advection fieldadvectionFrotation
Spiraling advection fieldadvectionFspiral
Spiraling advection field satisfying continuity equationadvectionFspiralCE
Uniform advection fieldadvectionFuniform
The Functions analyzeTS, reportTS, and simulateTSanalyzeTS reportTS simulateTS
Anisotropy transformationanisotropyT
Affine anisotropy transformationanisotropyTaffine
Swirl anisotropy transformationanisotropyTswirl
Wave anisotropy transformationanisotropyTwave
Burr Type III distributionBurrIII dburrIII mburrIII pburrIII qburrIII rburrIII
Burr Type XII distributionBurrXII dburrXII mburrXII pburrXII qburrXII rburrXII
Numerical and visual check of generated random fieldscheckRF
Check generated timeseriescheckTS
Daily streamflow data datadisch
Fit the AutoCorrelation Transformation Functionfitactf
Distribution fittingfitDist
VAR model parameters to simulate correlated parent Gaussian random vectors and fieldsfitVAR
Simulation of multiple time series with given marginals and spatiotemporal propertiesgenerateMTS
Faster simulation of multiple time series with approximately separable spatiotemporal correlation structuregenerateMTSFast
Simulation of random field with given marginals and spatiotemporal propertiesgenerateRF
Faster simulation of random fields with approximately separable spatiotemporal correlation structuregenerateRFFast
Generate timeseriesgenerateTS
Generalized extreme value distributiondgev GEV mgev pgev qgev rgev
Generalized gamma distributiondggamma GGamma mggamma pggamma qggamma rggamma
Numerical estimation of momentsmoments
Pareto type II distributiondparetoII mparetoII ParetoII pparetoII qparetoII rparetoII
AutoCorrelation Transformation Function visualisationplot.acti
Plot method for check resultsplot.checkTS
Plot generated Timeseriesplot.cosmosts
Hourly station precipitation dataprecip
Quick visualization of basic timeseries propertiesquickTSPlot
Bulk Timeseries generationregenerateTS
Estimation of sample momentssample.moments
Clayton SpatioTemporal Correlation Structurestcfclayton
Gneiting-14 SpatioTemporal Correlation Structurestcfgneiting14
Gneiting-16 SpatioTemporal Correlation Structurestcfgneiting16
SpatioTemporal Correlation Structurestcs