[R] Convert one rectangle into two rectangles

Avi Gross
Tue, 26 Apr 2022 17:24:35 -0000

>>> Is it possible to do this in R?

Is it possible?
Yes, I am sure if it can be done in any language, it can also be done in R.
The real question is do you have an algorithm you can come up with to try?to
implement in R or?any other method?
You know the lengths of your initial rectangle. So you can calculate your?area.
You can also calculate what 45% and 55% of that area is.
Hint: are you being asked to make two totally new rectangles?with an infinite
number of solutions, or subdivide the existing?rectangle into two joined parts?
That can lead to two fairly easy answers.

-----Original Message-----
From: javad bayat <j.bayat194 at gmail.com>
To: R-help at r-project.org
Sent: Tue, Apr 26, 2022 5:20 am
Subject: [R] Convert one rectangle into two rectangles

Dear R users;
I want to convert a rectangle into 2 new rectangles. I have a rectangle (18
m * 200 m), and I want to subtract 45 percent of it's area as a new
rectangle. Is it possible to do this in R?
Sincerely.

??? [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.