R/xyrt.R

xyrt <-
function (pares, ang) 
{
    xr <- pares[, 1] * cos(ang * (pi/180L)) - pares[, 2] * sin(ang * 
        (pi/180L))
    yr <- pares[, 2] * cos(ang * (pi/180L)) + pares[, 1] * sin(ang * 
        (pi/180L))
    return(invisible(cbind(xr, yr)))
}

Try the multigraph package in your browser

Any scripts or data that you put into this service are public.

multigraph documentation built on July 9, 2023, 6:15 p.m.