Learn R Programming

sensors4plumes (version 0.9.3)

SDLonLat: Transform locations of simulations into longitude latitude coordinates

Description

Given a Simulations object and indices of locations it returns SpatialPoints in longitude and latitude.

Usage

SDLonLat(simulations, SD)

Arguments

simulations

a Simulations object

SD

vector of locations indices or matrix (with SDs in rows) or list

Value

List of SpatialPoints with WGS84 longlat projection.

Examples

Run this code
# NOT RUN {
data(radioactivePlumes)
data(SDgenetic)
LL1 = SDLonLat(simulations = radioactivePlumes, SD = SDgenetic[["SD"]])
plot(LL1[[1]])
# }

Run the code above in your browser using DataLab