Ranjeet Kumar Jha
2022-Jul-19 13:07 UTC
[R] Need panel plots by each state, comprising three columns in R
Hello, I need to draw a panel plot by each importing the attached csv data (sample panel plot attached as well). Each state should contain three columns- wt, avg, and observed, may be represented as legend or x-axis, and y-axis should show values. I tried doing it in ggplot in R but couldn't succeed. Please help plotting this panel plot. Thanks, Ranjeet
Ebert,Timothy Aaron
2022-Jul-19 19:07 UTC
[R] Need panel plots by each state, comprising three columns in R
1) Please provide data that is enough similar to your real data that our answer is relevant to you. 2) Please provide any code that you have written that shows an attempt to solve the problem. 3) It sounds like you have a very specific output in mind. Possibly something that you saw and want to get something similar with your data. Please provide that. Tim -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Ranjeet Kumar Jha Sent: Tuesday, July 19, 2022 9:07 AM To: R-help <r-help at r-project.org>; R-sig-geo Mailing List <r-sig-geo at r-project.org> Subject: [R] Need panel plots by each state, comprising three columns in R [External Email] Hello, I need to draw a panel plot by each importing the attached csv data (sample panel plot attached as well). Each state should contain three columns- wt, avg, and observed, may be represented as legend or x-axis, and y-axis should show values. I tried doing it in ggplot in R but couldn't succeed. Please help plotting this panel plot. Thanks, Ranjeet ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=w8CWnBvjECi18ouLm7eoGpvGdE7QY5Z64EzBv2mmRj5mak8eDuHQHV6rfNOMqh4f&s=XwTpHoCasKF0UCY0Bv18mWRGjKEqq8TY_X72bey725w&ePLEASE do read the posting guide https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=w8CWnBvjECi18ouLm7eoGpvGdE7QY5Z64EzBv2mmRj5mak8eDuHQHV6rfNOMqh4f&s=TNtv-h4GV-fuOlbw4zbSr8qI90dDExP3uHxc-Heb6Pc&eand provide commented, minimal, self-contained, reproducible code.
John Kane
2022-Jul-19 20:03 UTC
[R] Need panel plots by each state, comprising three columns in R
Neither data or plot made it through the spam filtres. A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just copy and paste the output in your e-mail. For the plot, .pdf seems most likely to work. On Tue, 19 Jul 2022 at 14:00, Ranjeet Kumar Jha <ranjeetjhaiitkgp at gmail.com> wrote:> > Hello, > > I need to draw a panel plot by each importing the attached csv data (sample > panel plot attached as well). Each state should contain three columns- wt, > avg, and observed, may be represented as legend or x-axis, and y-axis > should show values. > I tried doing it in ggplot in R but couldn't succeed. > Please help plotting this panel plot. > > Thanks, > Ranjeet > ______________________________________________ > 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.-- John Kane Kingston ON Canada