Displaying 20 results from an estimated 29 matches for "ggrothend".
2019 Oct 11
0
New matrix function
...[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2023 Feb 18
0
summary.lm fails for difftime objects
...in Ops.difftime((f - mean(f)), 2) :
## '^' not defined for "difftime" objects
A number of other lm methods also fail, e.g. plot(fit), but others
work, e.g. coef(fit), resid(fit)
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2023 Nov 14
1
data.frame weirdness
...###
## Warning message:
## In data.frame(stack(a2[ix]), a2[-ix]) :
## row names were found from a short variable and have been discarded
# results are identical
identical(res1, res2)
## [1] TRUE
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Mar 02
1
capture "->"
...[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Sep 08
1
Inconsistency between row and nrow
...h fail.
aa <- array(dim = 5:3)
nrow(aa)
## [1] 5
row(aa)
## Error in row(aa) : a matrix-like object is required as argument to 'row'
# this does work:
slice.index(aa, 1)
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2020 Oct 23
0
formula mungeing
...tps://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.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2023 Nov 14
1
data.frame weirdness
...eepayan.sarkar at gmail.com> wrote:
>
> They differ in whether the row names are "automatic":
>
> > .row_names_info(a1)
> [1] -3
> > .row_names_info(a2)
> [1] 3
>
> Best,
> -Deepayan
>
> On Tue, 14 Nov 2023 at 08:23, Gabor Grothendieck
> <ggrothendieck at gmail.com> wrote:
> >
> > What is going on here? In the lines ending in #### the inputs and outputs
> > are identical yet one gives a warning and the other does not.
> >
> > a1 <- `rownames<-`(anscombe[1:3, ], NULL)
> > a2 <- anscombe[1:3, ]...
2024 Sep 05
1
Calculation of VCV matrix of estimated coefficient
...ps://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Sep 16
1
findInterval
...s which is shorter, more understandable
and avoids the need for zero2na:
# if nomatch= were implemented
seek |>
transform(result = y[ findInterval(x, nomatch = NA) ] ) |>
_$result
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Aug 24
1
transform
...ple columns in data frame it uses x.y and x.z as names
transform(BOD, data.frame(y = 1:6, z = 6:1)) |> names()
## [1] "Time" "demand" "x.y" "x.z"
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2019 Oct 11
1
New matrix function
Also note that the functionality discussed could be regarded as a generalization
of matrix multiplication where * and + are general functions and in this case
we have * replaced by == and + replaced by &.
On Fri, Oct 11, 2019 at 10:46 AM Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
>
> Using the example in the link here are two one-liners:
>
> A <- c(2,3,4,1,2,3,4,1,1,2)
> x <- c(1,2)
>
> # 1 - zoo
> library(zoo)
> which( rollapply(A, length(x), identical, x, fill = FALSE, align = "left") )
>...
2024 Jul 21
1
Extract
...tps://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.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2020 May 14
0
justify hard coded in format.ftable
...; >>>> format.ftable(ftab, justify = c("none", "none"))
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Thomas
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2023 Mar 07
1
Augment base::replace(x, list, value) to allow list= to be a predicate?
...Any thoughts?
> Pavel
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2023 Nov 14
1
data.frame weirdness
Also why should that difference result in different behavior?
On Tue, Nov 14, 2023 at 9:38?AM Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
>
> In that case identical should be FALSE but it is TRUE
>
> identical(a1, a2)
> ## [1] TRUE
>
>
> On Tue, Nov 14, 2023 at 8:58?AM Deepayan Sarkar
> <deepayan.sarkar at gmail.com> wrote:
> >
> > They differ in whether the ro...
2019 Oct 11
1
New matrix function
...Phone: (206) 667-5791
> Fax: (206) 667-1319
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Jul 21
1
Using the pipe, |>, syntax with "names<-"
...tps://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.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Jun 16
1
slowness when I use a list comprehension
...tps://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.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2020 Apr 19
0
suggestion: "." in [lsv]apply()
...at.ethz.ch/mailman/listinfo/r-devel
> >
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
2024 Sep 08
1
Inconsistency between row and nrow
...n, the difference in behavior appears to be intentional and expected.
>
> Regards,
>
> Marc Schwartz
>
>
> ?-----Original Message-----
> From: R-devel <r-devel-bounces at r-project.org <mailto:r-devel-bounces at r-project.org>> on behalf of Gabor Grothendieck <ggrothendieck at gmail.com <mailto:ggrothendieck at gmail.com>>
> Date: Sunday, September 8, 2024 at 7:31 AM
> To: "r-devel at r-project.org <mailto:r-devel at r-project.org>" <r-devel at r-project.org <mailto:r-devel at r-project.org>>
> Subject: [Rd] Inconsiste...