knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

projekt.2019.pacocha

Authors: Błażej Kościański, Patryk Połomski, Jakub Pacocha

Operations on figures is a project co-created by three students of WNGiG UAM which consists of creating a package containing functions enumerating the basic parameters of the most important geometric figures in two-dimensional Euclidean space and sketches them in this space. The goal of projekt.2019.pacocha is to provide the user with functions that are both easy and ready to use, including:

Installation

You can install the development version of projekt.2019.pacocha from GitHub with:

remotes::install_github("https://github.com/spacea/projekt.2019.pacocha")

Example

This is a basic example which shows you how to solve a common problem:

library("projekt.2019.pacocha")
fo_area_tri(2,0,10,10,5,3)

The fo_area_tri() function returns a simple numeric vector equal to the value of the chosen triangle's area.

library("projekt.2019.pacocha")
fo_per_par(0,0,3,3,45,150)

The fo_per_par() function returns a simple numeric vector equal to the perimeter of the chosen parallelogram's area.

library("projekt.2019.pacocha")
fo_centerplot_hex(0,0,3,45)

The fo_centerplot_hex() function returns a plot of the chosen regular hexagon's area.



spacea/projekt.2019.pacocha documentation built on Jan. 18, 2021, 3:28 p.m.