[R] Convert one rectangle into two rectangles

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Tue Apr 26 21:41:11 CEST 2022

```Sounds like homework. We try not to do homework here (if it is). See
the posting guide linked below for details.

Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Tue, Apr 26, 2022 at 10:24 AM Avi Gross via R-help
<r-help using r-project.org> wrote:
>
> >>> 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 using gmail.com>
> To: R-help using 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 using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> and provide commented, minimal, self-contained, reproducible code.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help