rtriangle: rtriangle: If you ever needed to calculate the hypotenuse,...

Description Usage Arguments Value Examples

View source: R/triangle.R

Description

Contrived function that computes the hypotenuse, perimeter, and area of a triangle.

This contrived function creates to 'rtriangle' class objects

Usage

1

Arguments

base

a positive numeric

height

a positive numeric

Value

rtriangle class object

Examples

1
x <- rtriangle(3,4); class(x)

nadasal/rtriangle documentation built on June 6, 2017, 10:15 a.m.