Re: [R] readxl, read_excel: how colon (:) is read ?

2022-03-31 Thread Patrick Giraudoux
This can be made using the TEXT (TEXTE in the French version) function of Excel, hence: TEXT(M2;"HH:MM") Changes the time into text, and it can be imported from R as wanted. Le 01/04/2022 à 08:34, Patrick Giraudoux a écrit : > Absolutely correct ! I checked in Excel and when I change the form

Re: [R] readxl, read_excel: how colon (:) is read ?

2022-03-31 Thread Patrick Giraudoux
Le 01/04/2022 à 08:40, Jeff Newmiller a écrit : > Both R and Excel assume a date is associated with every time object. In > Excel, when you show a date it is an integer number of days since 1899-12-31 > (due to a mistake made early in programming it). Whenever you show a time, it > it merely dis

Re: [R] pcalg library : estimated DAG graph

2022-03-31 Thread PIKAL Petr
Hallo It is not obvious what is your problem. You maybe should go through some articles about functions in the package. https://pdfs.semanticscholar.org/aee5/cca63aad422c96ee637b5561bb051724d76c.pdf?_ga=2.241710466.1872226166.1648790330-1600227915.1617009045 or maybe you do not have Rgraphviz pa

Re: [R] pcalg library : estimated DAG graph

2022-03-31 Thread Bert Gunter
Getting help here on non-standard packages -- there are tens of thousands -- is technically off topic (see the Posting Guide linked below) and hence you should not be surprised if you do not get a useful reply, though you may, of course. You might have better luck posting on r-sig-networks, https:

[R] pcalg library : estimated DAG graph

2022-03-31 Thread varin sacha via R-help
Dear R-experts, Here below my R code working but I don't know how I can get the graph (estimated DAG). If you could help me to get the graph, many thanks. ### library(pcalg) x1<-c(508,413,426,500,568,372,484,512,529,322,544,586,480,561,567,488,450,548,526,561,435,567,537,521,5

Re: [R] dagitty library : NULL response

2022-03-31 Thread varin sacha via R-help
Dear Rui, Great, many thanks ! Le jeudi 31 mars 2022, 13:48:07 UTC+2, Rui Barradas a écrit : Hello, You have spaces in the method = " holm " argument. Remove them and have the error function return the error to see the error. tryCatch ({   r <- localTests(g1, d)   p.dagitty.para

Re: [R] dagitty library : NULL response

2022-03-31 Thread Rui Barradas
Hello, You have spaces in the method = " holm " argument. Remove them and have the error function return the error to see the error. tryCatch ({ r <- localTests(g1, d) p.dagitty.param.correct <- min(p.adjust(r$p.value , method = " holm ")) }, error = function(e) {e}) ##“hochberg”, “hommel