Learn R Programming

dggridR (version 3.1.0)

dgPROJTRI_to_Q2DD: Convert from PROJTRI to Q2DD

Description

Uses a discrete global grid system to convert between PROJTRI and Q2DD (see vignette for details)

Usage

dgPROJTRI_to_Q2DD(dggs, in_tnum, in_tx, in_ty)

Value

Returns a dggs object which can be passed to other dggridR functions

Arguments

dggs

A dggs object from dgconstruct()

in_tnum

Vector of triangle numbers

in_tx

Vector of triangle x values

in_ty

Vector of triangle y values

Examples

Run this code
if (FALSE) {
library(dggridR)
dggs <- dgconstruct(res=20)

dgPROJTRI_to_Q2DD(dggs, in_tnum, in_tx, in_ty)
}

Run the code above in your browser using DataLab