Coder Social home page Coder Social logo

swfscmisc's Introduction

CRAN version CRAN last day downloads CRAN last week downloads CRAN last month downloads CRAN total downloads R-CMD-check AppVeyor Build Status

swfscMisc

Description

swfscMisc is a collection of utility functions used at the NOAA Southwest Fisheries Science Center in La Jolla, CA. The package contains functions for geodesic calculations, commonly used mapping functions, plotting special symbols, and miscellaneous analytical and conversion functions.

Installation

To install the stable version from CRAN:

install.packages('swfscMisc')

To install the latest version from GitHub:

# make sure you have devtools installed
if (!require('devtools')) install.packages('devtools')
# install from GitHub
devtools::install_github('ericarcher/swfscMisc')

Contact

Current functions

  • Geodesic functions:

    • bearing
    • datum
    • distance
    • circle.polygon
    • convert.angle
    • convert.distance
  • Plotting functions:

    • braces
    • catSpatInterp Categorical Spatial Interpolation
    • color.name
    • lab.wid
    • lat.lon.axes
    • row.col.page.fit
    • scatterdens
    • scatterhist
    • sex.symbols
  • Miscellaneous functions:

    • affin.prop
    • box.area
    • central.quantile
    • copy.tri
    • crossing.point
    • distSmry
    • fisher.p
    • geometric.mean
    • harmonic.mean
    • isBetween
    • na.count
    • odds conversion (odds, invOdds, logOdds, invLogOdds)
    • one.arg
    • plotAssignments
    • pVal
    • ceiling, floor, trunc, round (.data.frame)
    • uniform.test
    • setupClusters
    • sn.params
    • which.nearest
    • zero.pad

Changelog

version 1.6.6 (devel)

  • fixed bug in runjags2list if variable in monitor vector wasn't in model

version 1.6.5 (on CRAN)

  • removed sample.map()
  • added imdo()
  • added intersectingPoint()
  • added ability to use modeest::mlv() to estimate mode in distSmry()
  • fixed pVal() to handle NA and NaN values correctly
  • deprecating diversity(). New function in sprex package.
  • added runjags2list() to format posterior samples from runjags::run.jags().
  • corrected package name alias documentation for CRAN

version 1.6

  • reset setupClusters to choose correct function for OS
  • added perpDist() and perpPt()
  • added distSmry()
  • added sn.params functions for computing skew normal parameters and moments

version 1.5

  • removed das.* functions

version 1.4

  • added catSpatInterp for Categorical Spatial Interpolation (based on code by Timo Grossenbacher)
  • begin deprecation of das.* functions. to be removed in v1.5.
  • change destination() to accept vectors and return a matrix.
  • fixed plotAssignments() to not change class names.
  • updated spatstat import

version 1.3

  • fixed plotAssignments to use facets and removed grids and space around panels
  • added setupClusters

version 1.2

  • Added rounding functions for data.frames.
  • Removed NEWS.md - changelog moved to README.md
  • Added plotAssignments function.

version 1.1

  • Added autoUnits function
  • Changed default arguments for lat.range and lon.range to NULL in sample.map. If not specified, the ranges will be set to the ranges of the lat and lon.

version 1.0.9

  • Added transparent function
  • Changed distance and destination functions to accept partial matches for method of calculation, type of surface, and units

version 1.0.8

  • Fixed das.read to handle errors in position and suppress warnings about NAs during numerical conversions.
  • Fixed das.map to remove records with no position

version 1.0.7

  • Changed isBetween to accept a vector of numbers

version 1.0.6

  • Added NEWS.md
  • Added diversity function (moved from strataG package)
  • Added isBetween function to test if a number is between two numbers

swfscmisc's People

Contributors

ericarcher avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

swfscmisc's Issues

round functions not exported?

I'm trying to use the round functions for data frames, but I'm getting the following error:

swfscMisc::signif()
Error: 'signif' is not an exported object from 'namespace:swfscMisc'

I'm using version 1.2 in R 3.5.1. The functions show up in the package helptext, but not in the predictive list that pops up for swfscMisc::

are they missing the @export tags or am I doing something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.