Code Monkey home page Code Monkey logo

pemisc's Introduction

pemisc

CRAN_Status_Badge CRAN Downloads R build status

Miscellaneous utilities developed by the Predictive Ecology Lab Group.

Installation

Current release

R build status Codecov test coverage

Install from CRAN:

#install.packages("pemisc") ## not yet on CRAN

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/pemisc", dependencies = TRUE) 

Development version

R build status Codecov test coverage

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/pemisc", ref = "development", dependencies = TRUE) 

pemisc's People

Contributors

achubaty avatar ceresbarros avatar eliotmcintire avatar ianmseddy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ceresbarros

pemisc's Issues

consistent column names in sppEquivalencies_CA

with #1

use consistent column names in sppEquivalencies_CA:

  1. I'm OK with colnames being Snake_Case instead of camelCase;
  2. do we need 'names' in the colname? why not simply use e.g., LANDIS_test?
  3. shortENGeneric and full.ENGeneric should be consistent: e.g., EN_generic_short

I propose the following:

  • LANDIStest_names ==> LANDIS_test
  • LANDIStraits_names ==> LANDIS_traits
  • LandR_names ==> LandR
  • KNN_names ==> kNN
  • CASFRI_names ==> CASFRI
  • fullLatin ==> Latin_full
  • shortENGeneric ==> EN_Generic_short
  • full.ENGeneric ==> EN_Generic_full
  • leadingNames ==> Leading
  • Notes (as is)

new 'randomStudyArea()' generator

with PredictiveEcology/Biomass_speciesData#8 and PredictiveEcology/Biomass_core#21

Currently implemented in 29f302c but one module was using the following:

canadaMap <- Cache(getData, 'GADM', country = 'CAN', level = 1, path = asPath(dPath),
                       cacheRepo = getPaths()$cachePath, quick = FALSE)
    smallPolygonCoords = list(
      coords = data.frame(x = c(-115.9022, -114.9815, -114.3677, -113.4470, -113.5084,
                                -114.4291, -115.3498, -116.4547, -117.1298, -117.3140),
                          y = c(50.45516, 50.45516, 50.51654, 50.51654, 51.62139,
                                52.72624, 52.54210, 52.48072, 52.11243, 51.25310))
    )

    sim$studyArea <- SpatialPolygons(list(Polygons(list(Polygon(smallPolygonCoords$coords)), ID = "swAB_polygon")),
                                              proj4string = crs(canadaMap))

@eliotmcintire @CeresBarros @ianmseddy which version should we use by default?

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.