centroid: Finds the centroid of a triangle

View source: R/college_plots.R

centroidR Documentation

Finds the centroid of a triangle

Description

Finds the centroid of a triangle

Usage

centroid(x1, x2, x3, y1, y2, y3)

Arguments

x1

first x coord

x2

second x coord

x3

third x coord

y1

first y coord

y2

second y coord

y3

third y coord

Value

a numeric vector length 2 with the xy coord of the centroid


almartin82/mapvizieR documentation built on June 3, 2023, 10:53 a.m.