Learn R Programming

IceCast (version 2.1.0)

get_map: Map one observation or prediction

Description

Find the mapping vectors for one observation or prediction.

Usage

get_map(ice, reg_info, plotting = FALSE, main = "", my_land = land)

Arguments

ice

SpatialPolygons object corresponding to the region of ice

reg_info

reg_info list (see reg_info documentation)

plotting

boolean indicating if map should be plotted

main

string specifying the name for the plot

my_land

SpatialPolygons object corresponding to the land

Value

List of the length of the number of regions. Each item in the list is a matrix. Each row of each matrix corresponds to a point in the region's line. The six columns give the fixed point's x-coordinate, the fixed point's y-coordinate, the mapped point's x-coordinate, the mapped point's y-coordinate, the length of the mapping fvectors in the x-direction, and the length of the vectors in the y-direction.

Examples

Run this code
# NOT RUN {
obs <- get_region(dat = obsFeb19811982[1,,], dat_type = "bootstrap",
               level = 15)
obs_map <- get_map(ice = obs, plotting = TRUE, reg_info,
                 main = "Observed Mapping \n February 1985")
# }

Run the code above in your browser using DataLab