similar to: Typo in DateTimeClasses.Rd

Displaying 20 results from an estimated 4000 matches similar to: "Typo in DateTimeClasses.Rd"

2024 Oct 10
1
Typo in DateTimeClasses.Rd
Hello, When following a thread that started today [1], I read the documentation for DateTimeClasses {base} more carefully and noticed a typo in the "Details on POSIXlt" section, in the paragraph right after the components list. The original and corrected are "he" instead of "the". From earlier versions of R, he last two components will not be present for
2024 Mar 29
1
Output of tapply function as data frame: Problem Fixed
?s 01:43 de 29/03/2024, Ogbos Okike escreveu: > Dear Rui, > Thanks again for resolving this. I have already started using the version > that works for me. > > But to clarify the second part, please let me paste the what I did and the > error message: > >> set.seed(2024) >> data <- data.frame( > + Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1
2024 Jun 16
2
code for year month day hr format
?s 21:42 de 15/06/2024, Jibrin Alhassan escreveu: > Thank you Rui. I ran the following script > df1 <- read.table("solar_hour", header = TRUE) > df1$date <- as.Date(paste(df1$year, df1$hour), > format = "%Y %j", > origin = "2012-08-01-0") > df2 <- df1[c("date", "IMF", "SWS", "SSN", "Dst",
2024 Feb 23
1
help - Package: stats - function ar.ols
?s 16:34 de 22/02/2024, Pedro Gavronski. escreveu: > Hello, > > My name is Pedro and it is nice to meet you all. I am having trouble > understanding a message that I receive when use function ar.ols from > package stats, it says that "Warning message: > In ar.ols(x = dtb[2:6966, ], demean = FALSE, intercept = TRUE, > prewhite = TRUE) : > model order: 2
2023 Dec 07
1
Convert character date time to R date-time variable.
?s 16:21 de 07/12/2023, Sorkin, John escreveu: > Colleagues, > > I have a matrix of character data that represents date and time. The format of each element of the matrix is > "2020-09-17_00:00:00" > How can I convert the elements into a valid R date-time constant? > > Thank you, > John > > > > John David Sorkin M.D., Ph.D. > Professor of
2024 Feb 02
1
gathering denominator under frac
?s 10:01 de 02/02/2024, Troels Ring escreveu: > Hi friends - I'm plotting a ratio of bicarbonates i ggplot2 and > > ylab(expression(paste(frac("additive BIC","true BIC")))) worked OK - but > now I have been asked to put the chemistry instead - so I wrote > >
2024 Jun 02
1
R code for overlapping variables -- count
?s 18:34 de 02/06/2024, Leo Mada via R-help escreveu: > Dear Shadee, > > If you have a data.frame with the following columns: > > n = 100; # population size > x = data.frame( > ??????Sex = sample(c("M","F"), n, T), > ??????Country = sample(c("AA", "BB", "US"), n, T), > ??????Income = as.factor(sample(1:3, n, T)) > )
2024 Jul 13
1
Obtaining predicted probabilities for Logistic regression
?s 12:13 de 13/07/2024, Christofer Bogaso escreveu: > Hi, > > I ran below code > > Dat = read.csv('https://raw.githubusercontent.com/sam16tyagi/Machine-Learning-techniques-in-python/master/logistic%20regression%20dataset-Social_Network_Ads.csv') > head(Dat) > Model = glm(Purchased ~ Gender, data = Dat, family = binomial()) > head(predict(Model,
2024 Apr 21
1
x[0]: Can '0' be made an allowed index in R?
?s 08:55 de 21/04/2024, Hans W escreveu: > As we all know, in R indices for vectors start with 1, i.e, x[0] is not a > correct expression. Some algorithms, e.g. in graph theory or combinatorics, > are much easier to formulate and code if 0 is an allowed index pointing to > the first element of the vector. > > Some programming languages, for instance Julia (where the index for
2024 Feb 02
1
gathering denominator under frac
... or if I understand correctly, simply expression(frac(additive ~ HCO[3]^"-", true ~ HCO[3]^"-" ))) Cheers, Bert On Fri, Feb 2, 2024 at 3:06?AM Rui Barradas <ruipbarradas at sapo.pt> wrote: > ?s 10:01 de 02/02/2024, Troels Ring escreveu: > > Hi friends - I'm plotting a ratio of bicarbonates i ggplot2 and > > > >
2024 Sep 17
1
(no subject)
Hmmm... typos and thinkos ? Maybe: mean_narm<- function(x) { m <- mean(x, na.rm = T) if (is.nan (m)) NA else m } -- Bert On Mon, Sep 16, 2024 at 4:40?PM CALUM POLWART <polc1410 at gmail.com> wrote: > > Rui's solution is good. > > Bert's suggestion is also good! > > For Berts suggestion you'd make the list bit > > list(mean = mean_narm) >
2024 Apr 07
1
Question regarding reservoir volume and water level
?s 13:27 de 07/04/2024, javad bayat escreveu: > Dear all; > I have a question about the water level of a reservoir, when the volume > changed or doubled. > There is a DEM file with the highest elevation 1267 m. The lowest elevation > is 1230 m. The current volume of the reservoir is 7,000,000 m3 at 1240 m. > Now I want to know what would be the water level if the volume rises to
2024 Jul 18
1
ggplot two-factor legend
?s 16:27 de 18/07/2024, SIBYLLE ST?CKLI via R-help escreveu: > Hi > > I am using ggplot to visualise y for a two-factorial group (Bio: 0 and 1) x > = 6 years. I was able to adapt the colour of the lines (green and red) and > the linetype (solid and dashed). > Challenge: my code produces now two legends. One with the colors for the > group and one with the linetype for the
2024 Mar 29
2
Output of tapply function as data frame: Problem Fixed
Dear Rui, Thanks again for resolving this. I have already started using the version that works for me. But to clarify the second part, please let me paste the what I did and the error message: > set.seed(2024) > data <- data.frame( + Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1 days"), 100L, + TRUE), + count = sample(10L, 100L, TRUE) + ) > > # coerce
2024 Feb 23
2
help - Package: stats - function ar.ols
Hello, Thanks for the reply Rui and for pointing out that I forgot to attach my code. Please find attached in this email my code and data. Thanks in advance. Best regards, Pedro Gerhardt Gavronski. On Fri, Feb 23, 2024 at 5:50?AM Rui Barradas <ruipbarradas at sapo.pt> wrote: > > ?s 16:34 de 22/02/2024, Pedro Gavronski. escreveu: > > Hello, > > > > My name is Pedro
2023 Nov 27
1
Rtools error
?s 05:07 de 27/11/2023, Neha gupta escreveu: > Hello, I want to download a package and it gives me the error: > > WARNING: Rtools is required to build R packages, but no version of > Rtools compatible with R 4.2.0 was found. (Only the following > incompatible version(s) of Rtools were found: 4.3.5550) > > Please download and install Rtools 4.2 from >
2024 Apr 16
1
read.csv
?s 11:46 de 16/04/2024, jing hua zhao escreveu: > Dear R-developers, > > I came to a somewhat unexpected behaviour of read.csv() which is trivial but worthwhile to note -- my data involves a protein named "1433E" but to save space I drop the quote so it becomes, > > Gene,SNP,prot,log10p > YWHAE,13:62129097_C_T,1433E,7.35 > YWHAE,4:72617557_T_TA,1433E,7.73 >
2024 Feb 23
1
help - Package: stats - function ar.ols
The data came through fine, the program was a miss. Can you paste the program into a ".txt" document like a notepad file and send that? You could also paste it into your email IF your email is configured to send text and NOT html. TIm -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Pedro Gavronski. Sent: Friday, February 23, 2024 5:00 AM To:
2024 Jul 18
1
ggplot two-factor legend
?s 17:43 de 18/07/2024, Rui Barradas escreveu: > ?s 16:27 de 18/07/2024, SIBYLLE ST?CKLI via R-help escreveu: >> Hi >> >> I am using ggplot to visualise y for a two-factorial group (Bio: 0 and >> 1) x >> = 6 years. I was able to adapt the colour of the lines (green and red) >> and >> the linetype (solid and dashed). >> Challenge: my code
2024 Aug 11
1
Printing
?s 09:51 de 11/08/2024, Steven Yen escreveu: > Hi > > In the following codes, I had to choose between printing (= TRUE) or > deliver something for grab (ei, vi). Is there a way to get both--that > is, to print and also have ei and vi for grab? Thanks. > > Steven > > ... > > out<-round(as.data.frame(cbind(ap,se,t,p)),digits) > out<-cbind(out,sig) >