Package: simplaceUtil 0.6.9

simplaceUtil: Provides Utility Functions and ShinyApps to work with the modeling framework 'SIMPLACE'

Provides Utility Functions and ShinyApps to work with the modeling framework 'SIMPLACE'. It visualises components of a solution, runs simulations and displays results.

Authors:Gunther Krauss [aut, cre]

simplaceUtil_0.6.9.tar.gz
simplaceUtil_0.6.9.zip(r-4.5)simplaceUtil_0.6.9.zip(r-4.4)simplaceUtil_0.6.9.zip(r-4.3)
simplaceUtil_0.6.9.tgz(r-4.4-any)simplaceUtil_0.6.9.tgz(r-4.3-any)
simplaceUtil_0.6.9.tar.gz(r-4.5-noble)simplaceUtil_0.6.9.tar.gz(r-4.4-noble)
simplaceUtil_0.6.9.tgz(r-4.4-emscripten)simplaceUtil_0.6.9.tgz(r-4.3-emscripten)
simplaceUtil.pdf |simplaceUtil.html
simplaceUtil/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/gk-crop/simplaceutil/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT

On CRAN:

46 exports 1 stars 0.71 score 87 dependencies 2 scripts

Last updated 2 months agofrom:10fabca0b3. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 08 2024
R-4.5-winOKSep 08 2024
R-4.5-linuxOKSep 08 2024
R-4.4-winOKSep 08 2024
R-4.4-macOKSep 08 2024
R-4.3-winOKSep 08 2024
R-4.3-macOKSep 08 2024

Exports:addComponentInputaddCSVOutputaddMemoryOutputaddOutputVariableaddTimingSimComponentaddUserVariablechangeAllOutputTypesToMemorychangeOutputTypecomponentsToGraphcreateCodeStubsForSimVariablescreateResourceStubsFromCsvcreateResourceStubsFromXmlenhanceFunctionWithBoundariesfetchDescriptionFromWebsitefetchSimComponentlistFromWebsitefetchSimVariablesFromWebsitefilterEdgesgetComponentsgetElementsFromSolutionFilegetLinkingFromComponentgetLinkingToComponentgetLinksgetMemoryOutputIdsgetNeighborhoodgetOutputFilenamesgetSolutionFromFilegetSolutionFromTextgetSolutionInfoAsDataframegetTextFromSolutiongetUserVariablesparseDateplotLayeredOutputplotScalarOutputremoveComponentInputremoveNonMemoryOutputsremoveOutputremoveOutputVariablereplaceVariablereplaceVariablesWithValuesrunSimplaceGuiAppsetInputValuesetInputValueForCategorysolutionToGraphswapComponentstransformLayeredDatawriteSolutionToFile

Dependencies:base64encbitbit64bslibcachemclicliprcolorspacecommonmarkcpp11crayoncrosstalkDiagrammeRdigestdplyrDTevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvigraphisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppreadrrJavarlangrmarkdownrstudioapisassscalesshinyshinyFilessimplacesourcetoolsstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevisNetworkvroomwithrxfunxml2xtableyaml

simplaceUtil

Rendered fromsimplaceUtil.Rmdusingknitr::rmarkdownon Sep 08 2024.

Last update: 2024-06-20
Started: 2023-03-29

Readme and manuals

Help Manual

Help pageTopics
Adds an input to a sim component.addComponentInput
Adds a new CSV output to solution.addCSVOutput
Adds a new memory output to solution.addMemoryOutput
Adds output variable to an existing outputaddOutputVariable
Adds elements for timing the execution time of sim components (and transformers)addTimingSimComponent
Adds an user variable to the 'variables' sectionaddUserVariable
Changes all non-MEMORY outputs from solution to MEMORY outputs.changeAllOutputTypesToMemory
Changes the type of an output from CSV to MEMORY or vice versachangeOutputType
Creates a graph from component and links dataframecomponentsToGraph
Create java and xml code stubs from a csv filecreateCodeStubsForSimVariables
Creates XML stubs for interface and resource section from CSV file structurecreateResourceStubsFromCsv
Creates XML stubs for interface and resource section from XML file structurecreateResourceStubsFromXml
Modifies function to return a penalty value for parameters outside boundariesenhanceFunctionWithBoundaries
Fetches the Description (as HTML source code) of a SimComponent from Simplace WebsitefetchDescriptionFromWebsite
Fetches the list of SimComponents from the Simplace WebsitefetchSimComponentlistFromWebsite
Fetches the SimVariables table for a SimComponent from Simplace WebsitefetchSimVariablesFromWebsite
Selects edges of specific timestepfilterEdges
Gets components for a solutiongetComponents
Get component and links dataframe from solution filegetElementsFromSolutionFile
Get components that are linked from given componentgetLinkingFromComponent
Get components that link to given componentsgetLinkingToComponent
Get the dataframe of links between componentsgetLinks
Get ids of memory outputsgetMemoryOutputIds
Get the simcomponents in the neighborhood of given componentsgetNeighborhood
Get filenames of file outputsgetOutputFilenames
Reads a solution from filegetSolutionFromFile
Reads a solution from textgetSolutionFromText
Get info for a solutiongetSolutionInfoAsDataframe
Converts a solution to textgetTextFromSolution
Gets user variables for a solutiongetUserVariables
Converts date (class 'character') column from output file to column of class 'Date'parseDate
Plots layered outputplotLayeredOutput
Plots scalar outputplotScalarOutput
Removes an input for componentremoveComponentInput
Removes all non-MEMORY outputs from solution.removeNonMemoryOutputs
Removes output with given idremoveOutput
Removes an output variable from a given outputremoveOutputVariable
Replaces a variable with another.replaceVariable
Replaces variables with contentreplaceVariablesWithValues
Runs Shiny apprunSimplaceGuiApp
Sets the value of an input for a given parent elementsetInputValue
Sets the value of an input in all elements of the given categorysetInputValueForCategory
Package with utility function for working with SimplacesimplaceUtil-package simplaceUtil
Creates a graph from a solutionsolutionToGraph
Swaps the order of SimComponents in the solutionswapComponents
Transform layered output data in long formattransformLayeredData
Writes solution to filewriteSolutionToFile