Hi, in our course littrature a "design graph" of two factors R and S with associated maps s : I -> S and f : I -> S where I is some finite index set, is a graph with factor labeles as vertices and lines f(i) to s(i) for all observations i in I. Is there a package on CRAN that can draw graphs like this automatically? I haven't been able to find anyting by searching. Regards, Mads
Have you looked at the gR Task View on CRAN: https://cran.r-project.org/web/views/gR.html (I have no idea whether it's relevant to your query, though). 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, Aug 17, 2021 at 1:02 PM <madsmh at gmail.com> wrote:> > Hi, > > in our course littrature a "design graph" of two factors R and S with > associated maps s : I -> S and f : I -> S where I is some finite index > set, is a graph with factor labeles as vertices and lines f(i) to s(i) > for all observations i in I. Is there a package on CRAN that can draw > graphs like this automatically? > > I haven't been able to find anyting by searching. > > Regards, Mads > > ______________________________________________ > 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.
Perhaps igraph or DiagrammeR? On August 16, 2021 9:55:50 AM PDT, madsmh at gmail.com wrote:>Hi, > >in our course littrature a "design graph" of two factors R and S with >associated maps s : I -> S and f : I -> S where I is some finite index >set, is a graph with factor labeles as vertices and lines f(i) to s(i) >for all observations i in I. Is there a package on CRAN that can draw >graphs like this automatically? > >I haven't been able to find anyting by searching. > >Regards, Mads > >______________________________________________ >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.-- Sent from my phone. Please excuse my brevity.
can you post an example of the graph? ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of madsmh at gmail.com <madsmh at gmail.com> Sent: Tuesday, August 17, 2021 16:02 To: r-help at r-project.org Subject: [External] [R] Package for "design graphs" Hi, in our course littrature a "design graph" of two factors R and S with associated maps s : I -> S and f : I -> S where I is some finite index set, is a graph with factor labeles as vertices and lines f(i) to s(i) for all observations i in I. Is there a package on CRAN that can draw graphs like this automatically? I haven't been able to find anyting by searching. Regards, Mads ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248735184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dNwMcJa6okIxlK97dprkVkCk4g5mn6hYsBr1Hez7m%2F8%3D&reserved=0 PLEASE do read the posting guide https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.html&data=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248745142%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YZlqRVki%2FaQMdaGQgddyLLmAH3bCsnhPTuhlnrSb1PE%3D&reserved=0 and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]