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@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.bayat...@gmail.com> > To: R-help@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@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. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.