Re: [R] Problem in Notrend_test()
Hi bharat, notrend_test (funtimes) wants a vector (univariate time series) as the first argument. My crystal ball suggests that column_Data is too short, but try this: notrend_test(column_Data,test="WAVK") Be aware that this is a guess. Jim On Thu, Aug 19, 2021 at 1:58 PM bharat rawlley via R-help wrote: > > Hello, I have the following vector in R, > print(column_Data)[1] 42 33 34 28 > But I get the following error on using notrend_test on this data as follows - > > notrend_test(column_Data)Error in notrend_test(column_Data) : set a proper > window. > > I am unable to find any information on Stackoverflow etc. > Any help would be appreciated > Thank you > > [[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.
[R] Problem in Notrend_test()
Hello, I have the following vector in R, print(column_Data)[1] 42 33 34 28 But I get the following error on using notrend_test on this data as follows - notrend_test(column_Data)Error in notrend_test(column_Data) : set a proper window. I am unable to find any information on Stackoverflow etc. Any help would be appreciated Thank you [[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.
Re: [R] [External] Package for "design graphs"
The only person who got the image was Richard. The rest of us got the posting from the list server which stripped you image. If it had been a pdf or png I think it might have survived the digital journey rather than being blown to bits. On 8/18/21 7:29 AM, mad...@gmail.com wrote: I have attached a photo from our book E. Hansen "Introduktion til matematisk statistik" the numbers represent the labels of one factor while the letters represent the labels of anothr factor. .. Mads On Tue, 2021-08-17 at 22:42 +, Richard M. Heiberger wrote: can you post an example of the graph? From: R-help on behalf of mad...@gmail.com Sent: Tuesday, August 17, 2021 16:02 To: r-help@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@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-helpdata=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248735184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=dNwMcJa6okIxlK97dprkVkCk4g5mn6hYsBr1Hez7m%2F8%3Dreserved=0 PLEASE do read the posting guide https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.htmldata=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248745142%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=YZlqRVki%2FaQMdaGQgddyLLmAH3bCsnhPTuhlnrSb1PE%3Dreserved=0 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. __ 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.
Re: [R] [External] Package for "design graphs"
Thank you for the example. Here is a simple function in base graphics that does what you ask for. You can turn off the default borders and ticks and tick labels and xlab and ylab, and add your own x tick labels, and then it will look exactly like the example you sent. Rich expt1 <- data.frame(from=c(1,1,2,2,3,3,4,4), to=c("A","B","A","B","C","D","C","D")) expt2 <- data.frame(from=c(1,1,2,2,3,3,4,4), to=c("A","B","B","C","C","D","D","A")) DesignGraph <- function(x, pch.from=19, pch.to=19) { from <- unique(x$from) to <- unique(x$to) n.from <- length(from) n.to <- length(to) Nrows<- max(1:n.from, 1:n.to) plot(1 ~ 1, type="n", xlim=c(1-.5, 2+.5), ylim=c(Nrows, 1)) points(x=rep(1, n.from), y=1:n.from, pch=pch.from) text(x=1-.3, y=1:n.from, labels=from) points(x=rep(2, n.to), y=1:n.to, pch=pch.to) text(x=2+.3, y=1:n.to, labels=to) index.from <- which index.to <- which segments(1, match(x$from, from), 2, match(x$to, to)) } DesignGraph(expt1) DesignGraph(expt2) > On Aug 18, 2021, at 10:29, mad...@gmail.com wrote: > > I have attached a photo from our book > > E. Hansen "Introduktion til matematisk statistik" > > the numbers represent the labels of one factor while the letters > represent the labels of anothr factor. > > .. Mads > > > On Tue, 2021-08-17 at 22:42 +, Richard M. Heiberger wrote: >> can you post an example of the graph? >> >> From: R-help on behalf of >> mad...@gmail.com >> Sent: Tuesday, August 17, 2021 16:02 >> To: r-help@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@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-helpdata=04%7C01%7Crmh%40temple.edu%7Cf18619e1691a4333682a08d962549a74%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648937938659341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=0LTywXuQ5Y%2FymuUTKOQeeozEx4MpAnF9QavJBcd4FNE%3Dreserved=0 >> PLEASE do read the posting guide >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.htmldata=04%7C01%7Crmh%40temple.edu%7Cf18619e1691a4333682a08d962549a74%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648937938659341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=GT1zdL3%2BOAuVkXGGRMysbsfucmiIz6Dqozr6xyNbm8s%3Dreserved=0 >> 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.
Re: [R] [External] Package for "design graphs"
I have attached a photo from our book E. Hansen "Introduktion til matematisk statistik" the numbers represent the labels of one factor while the letters represent the labels of anothr factor. .. Mads On Tue, 2021-08-17 at 22:42 +, Richard M. Heiberger wrote: > can you post an example of the graph? > > From: R-help on behalf of > mad...@gmail.com > Sent: Tuesday, August 17, 2021 16:02 > To: r-help@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@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-helpdata=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248735184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=dNwMcJa6okIxlK97dprkVkCk4g5mn6hYsBr1Hez7m%2F8%3Dreserved=0 > PLEASE do read the posting guide > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.htmldata=04%7C01%7Crmh%40temple.edu%7C00a59081bd66463e433d08d961b9e105%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637648273248745142%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=YZlqRVki%2FaQMdaGQgddyLLmAH3bCsnhPTuhlnrSb1PE%3Dreserved=0 > 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.
[R] Fwd: R Windows 64 bit Version above 4.01 crash on Windows 10 on startup
Hi, I did not know where to turn to, but I found a bug in all versions of rgui.exe from 4.0.2 to 4.1.1patched. On a brandnew Windows 10 Pro 64bit Version: 21H1 the 64 bit gui crashes at startup. No console is displayed. 32 bit works fine. Eventmanager applications log shows consistently follwing entry: Name der fehlerhaften Anwendung: Rgui.exe, Version: 4.11.15200.0, Zeitstempel: 0x611470e7 Name des fehlerhaften Moduls: msvcrt.dll, Version: 7.0.19041.546, Zeitstempel: 0x564f9f39 Ausnahmecode: 0xc409 Fehleroffset: 0x00030a70 ID des fehlerhaften Prozesses: 0x171c Startzeit der fehlerhaften Anwendung: 0x01d78f719895911a Pfad der fehlerhaften Anwendung: C:\Program Files\R\R-4.1.1patched\bin\x64\Rgui.exe Pfad des fehlerhaften Moduls: C:\Windows\System32\msvcrt.dll 4.0.1 works fine. Tinkering with the msvcrt.dll did not help! It is a physical machine, a Dell XPS Laptop, no virtual machine. I tried at least 5 different versions 4.1.0, 4.0.3 etc. they all show the same behavior. Maybe you find this information usefull enough to relay it to whomever could fix this. Best regards Frank __ 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.