Learn R Programming

⚠️There's a newer version (0.5.5) of this package.Take me there.

inlmisc

Overview

The R package inlmisc is a collection of functions for creating high-level graphics, performing raster-based analysis, processing MODFLOW-based models, selecting subsets using a genetic algorithm, creating interactive web maps, etc. Used to support packages and scripts written by researchers at the United States Geological Survey (USGS) Idaho National Laboratory (INL) Project Office.

Install

You can install the stable version from CRAN using the following command:

install.packages("inlmisc", dependencies = TRUE)

Or use the devtools package to install the development version from GitHub.

devtools::install_github("USGS-R/inlmisc", dependencies = TRUE)

Contact

Please consider reporting bugs and asking questions on the Issues page.

Disclaimer

This information is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The information has not received final approval by the USGS and is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the information.

Although this software program has been used by the USGS, no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

Copy Link

Version

Install

install.packages('inlmisc')

Monthly Downloads

71

Version

0.4.3

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Jason Fisher

Last Published

September 10th, 2018

Functions in inlmisc (0.4.3)

PrintFigure

Print as LaTeX Figure
AddGradientLegend

Add Color Gradient Legend to Plot
AddColorKey

Add Color Key to Plot
Grid2Polygons

Convert Spatial Grids to Polygons
AddInsetMap

Add Inset Map to Plot
AddPoints

Add Points to Plot
IsPackageInstalled

Check whether Package is Installed
AddScaleBar

Add Scale Bar to Plot
AddNorthArrow

Add North Arrow to Plot
GetInsetLocation

Determine Location for Inset Graphics
GetTolColors

Paul Tol's Color Schemes
FormatPval

Format P Values
RecreateLibrary

Recreate R Library
GetDaysInMonth

Number of Days in a Year and Month
POSIXct2Character

Convert class from POSIXct to Character
ReplaceInTemplate

Replace Values in a Template Text
ReadCodeChunks

Read Code Chunks
PlotCrossSection

Plot Method for Cross Sections
SummariseBudget

Summarize MODFLOW Water Budget
ToScientific

Format for Scientific Notation
ReadModflowBinary

Read MODFLOW Binary File
BumpRiverStage

Adjustment for Implausible River Stage
CreateWebMap

Create a Web Map Using The National Map Services
EncodeChromosome

Encode and Decode an Integer Chromosome
ExportRasterStack

Export Raster Stack
BumpDisconnectCells

Adjustment for Vertically Disconnected Cells
FindOptimalSubset

Genetic Algorithm for Subset Selection
ExtractAlongTransect

Extract Raster Values Along Transect Line
AddWebMapElements

Add Miscellaneous Web Map Elements
PlotGraph

Plot Method for Graphs
PlotMap

Plot Method for Maps
RmSmallCellChunks

Remove Small Cell Chunks
SetPolygons

Overlaying Multi-Polygon Objects
PrintTable

Print as LaTeX Table