Learn R Programming

IceCast (version 2.1.0)

prob_map: Get probabilities on a grid from contours

Description

Takes in list of polygon objects from merged function and produces a map of probabilities

Usage

prob_map(merged, nX = 304, nY = 448)

Arguments

merged

list of contours organized as a list of years by a list of samples

nX

dimension in the x (defaults to value for Northern Polar stereographic grid: 304)

nY

dimension in the y (defaults to value for Northern Polar stereographic grid: 448)

Value

array of dimension number of years by longitude by latitude that gives the proportion of contours in which the grid box is ice-covered

Examples

Run this code
# NOT RUN {
 probs <- prob_map(merged) 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab