Package grec. R topics documented: August 13, Type Package

Similar documents
Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package ECctmc. May 1, 2018

Package repec. August 31, 2018

Package xtractomatic

Package xtractomatic

Package nngeo. September 29, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package mdftracks. February 6, 2017

Package datasets.load

Package bisect. April 16, 2018

Package fastdummies. January 8, 2018

Package angstroms. May 1, 2017

Package vinereg. August 10, 2018

Package glcm. August 29, 2016

Package sfc. August 29, 2016

Package messaging. May 27, 2018

Package spark. July 21, 2017

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package regexselect. R topics documented: September 22, Version Date Title Regular Expressions in 'shiny' Select Lists

Package waver. January 29, 2018

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package sdmpredictors

Package tidyimpute. March 5, 2018

Package osrm. November 13, 2017

Package dbx. July 5, 2018

Package crochet. January 8, 2018

Package weco. May 4, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package SEMrushR. November 3, 2018

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package bsam. July 1, 2017

Package oec. R topics documented: May 11, Type Package

Package geogrid. August 19, 2018

Package kdtools. April 26, 2018

Package tiler. June 9, 2018

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package marinespeed. February 17, 2017

Package gtrendsr. August 4, 2018

Package deductive. June 2, 2017

Package desplot. R topics documented: April 3, 2018

Package calpassapi. August 25, 2018

Package jpmesh. December 4, 2017

Package vesselr. R topics documented: April 3, Type Package

Package filematrix. R topics documented: February 27, Type Package

Package validara. October 19, 2017

Package rollply. R topics documented: August 29, Title Moving-Window Add-on for 'plyr' Version 0.5.0

Package strat. November 23, 2016

Package smoothr. April 4, 2018

Package clipr. June 23, 2018

Package gtrendsr. October 19, 2017

Package tropicalsparse

Package sankey. R topics documented: October 22, 2017

Package wrswor. R topics documented: February 2, Type Package

Package CatEncoders. March 8, 2017

Package gameofthrones

Package coga. May 8, 2018

Package sylcount. April 7, 2017

Package raker. October 10, 2017

Package kirby21.base

Package areaplot. October 18, 2017

Package ecoseries. R topics documented: September 27, 2017

Package widyr. August 14, 2017

Package rbgm. May 18, 2018

Package postgistools

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package opencage. January 16, 2018

Package qualmap. R topics documented: September 12, Type Package

Package SFtools. June 28, 2017

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package subplex. April 5, 2018

Package spelling. December 18, 2017

Package editdata. October 7, 2017

Package splines2. June 14, 2018

Package edfreader. R topics documented: May 21, 2017

Package loggit. April 9, 2018

Package shinyfeedback

Package rbraries. April 18, 2018

Package sessioninfo. June 21, 2017

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package ibm. August 29, 2016

Package fitbitscraper

Package Mondrian. R topics documented: March 4, Type Package

Package censusr. R topics documented: June 14, Type Package Title Collect Data from the Census API Version 0.0.

Package nlgeocoder. October 8, 2018

Package lumberjack. R topics documented: July 20, 2018

Package available. November 17, 2017

Package projector. February 27, 2018

Package omu. August 2, 2018

Package jstree. October 24, 2017

Package canvasxpress

Package TVsMiss. April 5, 2018

Package kdevine. May 19, 2017

Package splithalf. March 17, 2018

Package shinyhelper. June 21, 2018

Package paleobiodb. September 2, 2016

Package aws.transcribe

Package readobj. November 2, 2017

Package psda. September 5, 2017

Package farver. November 20, 2018

Transcription:

Type Package Package grec August 13, 2017 Title GRadient-Based RECognition of Spatial Patterns in Environmental Data Version 1.1.1 Date 2017-08-13 URL https://github.com/luislaum/grec BugReports https://github.com/luislaum/grec/issues Maintainer Wencheng Lau-Medrano <luis.laum@gmail.com> Provides algorithms for detection of spatial patterns from oceanographic data using image processing methods based on Gradient Recognition. License GPL (>= 2) Depends R (>= 3.2.0), imagine (>= 1.3.1), raster Imports utils LazyData true RoxygenNote 6.0.1 NeedsCompilation no Author Wencheng Lau-Medrano [aut, cre] Repository CRAN Date/Publication 2017-08-13 21:35:46 UTC R topics documented: grec-package........................................ 2 bathy............................................ 2 chl.............................................. 2 colpalette.......................................... 3 detectfronts.rasterlayer.................................. 3 extraparams......................................... 5 sst.............................................. 6 Index 7 1

2 chl grec-package GRadient-Based RECognition of Spatial Patterns in Environmental Data Provides algorithms for detection of spatial patterns from oceanographic data using image processing methods based on Gradient Recognition. Author(s) Wencheng Lau-Medrano, <luis.laum@gmail.com> bathy Bathymetric data Bathymetric maps downloaded from ERDDAP for running examples with grec functions. bathy A list with bathymetric information from ETOPO source. ERDDAP website: https://coastwatch.pfeg.noaa.gov/erddap/index.html chl Sea Surface Chlorophyll Data Surface chlorophyll maps downloaded from ERDDAP for running examples with grec functions. chl

colpalette 3 A list with chlorophyll information from February to April of Aqua MODIS source. ERDDAP website: https://coastwatch.pfeg.noaa.gov/erddap/index.html colpalette Default color palette most using on environmental representations. Vector with 2000 colors generated from tim.colors function. colpalette A vector of 2000 colors in RBG format. fields package detectfronts.rasterlayer Detection of fronts based on gradient recognition This function takes a environmental map (as a numeric matrix) and allows the user to idenitify the gradients by using of sobel filters. ## S3 method for class 'RasterLayer' detectfronts(x, qlimits = c(0.9, 0.99), finalsmooth = FALSE, intermediate = FALSE, control = list()) ## S3 method for class 'array' detectfronts(x, qlimits = c(0.9, 0.99), finalsmooth = FALSE, intermediate = FALSE, control = list())

4 detectfronts.rasterlayer ## Default S3 method: detectfronts(x, qlimits = c(0.9, 0.99), finalsmooth = FALSE, intermediate = FALSE, control = list()) detectfronts(x, qlimits = c(0.9, 0.99), finalsmooth = FALSE, intermediate = FALSE, control = list()) Arguments x qlimits finalsmooth intermediate control Main input of class matrix, list, RasterLayer or array. See Details. numeric vector of length 1 or 2 with info of limits of values to consider. See Details. logical indicating whether to apply a smooth to final matrix so as to remove noise. logical indicating whether to get the intermediate matrices (TRUE) or just the final one (FALSE). A list of control parameters for filter application See Details. Details Inspired by the algorithm described on Belkin & O Reilly (2009), this function performs 4 steps: 1. Smoothing of the original data by a median filter application. 2. Application of sobel filters horizontally (sobelh) and vertically (sobelv). 3. Extract gradients, using the formula sqrt(sobelh 2 + sobelv 2 ). 4. Removing noise signals using a median filter, from imagine package. x could be given as a single numeric matrix containing the values of a environmental map. Othersiwe it also can be a list with dimensions x, y and z specifying the dimensions of the data as follows: x will be a numeric vector with the values of longitude, y will indicate the latitude (numeric vector as well). grec package is not rigorous in the check of the values given for dimensions, so the user must be carefull with them. x can be specified as a RasterLayer or array object. If x is an array, it must have 3 dimensions: lon, lat and time. It is not required to specify the dimnames. The output will preserve all the attributes and the order of input. qlimits works after the extraction of grandient matrix. Values of these matrix are vectorized and the quantiles indicated on qlimits are taken (that is the reason of the argument name). Then the values out of the limits are replaced by NA. qlimits could be given as a single value. If so, the second value must be calculated as c(qlimits, qlimits + (1 - qlimits)/2). The control argument is a list that allows the (advanced) users modify some aspects of filter application. The parameters of control are given to functions of imagine package. It must be a list including the following named objects: firstsmooth Arguments (radius and times) pased to medianfilter function, used for apply the smoothing to the original matrix. It must be given as a named list. sobelstrength Number that multiplies qlimits vector. It is usefull to highlight the differences.

extraparams 5 Value clearnoise Arguments (radius and times) pased to medianfilter function, used for apply the median-filter for cleaning noise and getting the output matrix. It must be given as a named list. Depending of input class of x, the output will preserve its class. Belkin, I. M., & O Reilly, J. E. (2009). An algorithm for oceanic front detection in chlorophyll and SST satellite imagery. Journal of Marine Systems, 78(3), 319-326 (http://dx.doi.org/10. 1016/j.jmarsys.2008.11.018). Examples # Build an example data # Load example data data(sst) examplesstdata <- list(x = sst$longitude, y = sst$latitude, z = sst$sst[,,1]) # Simple application out <- detectfronts(x = examplesstdata) image(out, col = colpalette) extraparams Gets the extra parameters for grec functions Show as a list the extra parameters for main grec function. extraparams(fx = c("detectfronts")) Arguments fx character vector indicating the values that will be returned. Details Value This function is usefull for advance users that require to modify intermediate steps in terms of filter application. A list with the extra parameters used by default.

6 sst Examples # For getting all the extra parameters extraparams() sst Sea Surface Temperature Data SST maps downloaded from ERDDAP for running examples with grec functions. sst A list with SST information from February to April of Aqua MODIS source. ERDDAP website: https://coastwatch.pfeg.noaa.gov/erddap/index.html

Index Topic environmental-data Topic gradient, Topic pattern-detection, bathy, 2 chl, 2 colpalette, 3 detectfronts (detectfronts.rasterlayer), 3 detectfronts.rasterlayer, 3 extraparams, 5 grec (grec-package), 2 imagine, 4 medianfilter, 4, 5 sst, 6 7