Re: [R] Looking for a function or a set of steps

2025-05-19 Thread Sergei Ko
y=1-x Regards, Sergiy On Mon, 19 May 2025, 16:44 Rui Barradas, wrote: > Hello, > > And a test for equality of all solutions so far. > > > do.call( >identical, >list( > 1L - x, > +!x, > as.integer(!x), > as.integer(xor(x, 1L)) >) > ) > #> [1] TRUE > > > Hope this h

Re: [R] OT: A philosophical question about statistics

2025-05-05 Thread Sergei Ko
>From a practitioner perspective. Parametric methods have more power. If assumptions are here - use formulas. On the other hand my usual recommendation to colleagues: "If you don't know what to do - use bootstrap." Regards, Sergiy On Mon, 5 May 2025, 17:06 Gregg Powell via R-help, wrote: > Hi K

Re: [R] Confirmation of no Electronic Communication functionality

2024-12-13 Thread Sergei Ko
I suspect it might be relevant for RStudio, but definitely not for pure R. On top of that you can just copy R to a flash drive or any accessible folder. It will work. Regards, Sergiy On Fri, 13 Dec 2024, 15:56 Bert Gunter, wrote: > Thanks, Ivan. Exactly my reaction. > > And as a Turing complete

[R] Unexpected result for df column $ subset with non-existent name

2022-10-28 Thread Sergei Ko
Hi All, Just noticed that R returns results for non-existent name if you have another variable with the same beginning when you subset with $. See the code below: name_0 <- "ID" name_1 <- "name" name_2 <- "name1" v0 <- 1:200 v1 <- c(rep(0,100), rep(1,100)) v2 <- c(rep(0,50), rep(1,150)) df <- as

[R] select.list cuts results to 100 characters on Win 10 when graphics = TRUE

2018-07-10 Thread Sergei Ko
mstring1 <- c("123456789012345678901234567890123456789012345678901234567890 123456789012345678901234567890123456789012345678901234567890") mstring2 <- c("123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890") vec.in <