Displaying 20 results from an estimated 21 matches for "krantz".
Did you mean:
frantz
2019 Feb 26
5
Improved Data Aggregation and Summary Statistics in R
...nchmark
results are provided in the attached vignette.
Since both commands accommodate existing functionality while adding
significant basic functionality, I though that their addition to the stats
package would be a worthwhile consideration. I am happy for your feedback.
Best regards,
Sebastian Krantz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collap & qsu vignette.pdf
Type: application/pdf
Size: 569278 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20190226/eb4dd92d/attachment.pdf>
2019 Feb 27
0
Improved Data Aggregation and Summary Statistics in R
...functions to get the required tables for specific data sets,
but this would reduce that effort to simply using the right collap() call.
Like Inaki, I'm very interested in trying it out if you have the code
available somewhere.
Cheers
Joris
On Wed, Feb 27, 2019 at 9:01 AM Sebastian Martin Krantz <
sebastian.krantz at graduateinstitute.ch> wrote:
> Dear Developers,
>
> Having spent time developing and thinking about how data aggregation and
> summary statistics can be enhanced in R, I would like to present my
> ideas/efforts in the form of two commands:
>
> The f...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...%<-%", zeallot::zeallot_assign_detect)
in their .onLoad() function. Similarly, users of 'dotty' could set up
callbacks for all standard assignment operators to inform the code
about the nonstandard assignment.
Best Regards,Pavel
On Sun, 2023-03-12 at 14:05 +0200, Sebastian Martin Krantz wrote:
> Kevins package is very nice as a proof of concept, no doubt about
> that, but
> it is not at the level of performance or convenience that a native R
> implementation would offer. I would probably not use it to translate
> matlab
> routines into R packages placed on CRAN,...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
On 12/03/2023 6:07 a.m., Sebastian Martin Krantz wrote:
> Thinking more about this, and seeing Kevins examples at
> https://github.com/kevinushey/dotty
> <https://github.com/kevinushey/dotty>, I think this is the most R-like
> way of doing it,
> with an additional benefit as it would allow to introduce the useful
> dat...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
...oes not violate fundamental principles of the language.
Which could form a basis for thinking about an actual addition to the
language.
Best regards,
Sebastian
On Sun 12. Mar 2023 at 13:18, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 12/03/2023 6:07 a.m., Sebastian Martin Krantz wrote:
> > Thinking more about this, and seeing Kevins examples at
> > https://github.com/kevinushey/dotty
> > <https://github.com/kevinushey/dotty>, I think this is the most R-like
> > way of doing it,
> > with an additional benefit as it would allow to introduc...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...etect)
>
> in their .onLoad() function. Similarly, users of 'dotty' could set up
> callbacks for all standard assignment operators to inform the code
> about the nonstandard assignment.
>
> Best Regards,Pavel
>
> On Sun, 2023-03-12 at 14:05 +0200, Sebastian Martin Krantz wrote:
>> Kevins package is very nice as a proof of concept, no doubt about
>> that, but
>> it is not at the level of performance or convenience that a native R
>> implementation would offer. I would probably not use it to translate
>> matlab
>> routines into R p...
2023 Mar 12
2
Multiple Assignment built into the R Interpreter?
...very heavy hammer to swing for this
> issue, but you might consider the benefits worth the tradeoffs.
>
> Best,
> Kevin
>
> On Sat, Mar 11, 2023 at 2:53?PM Duncan Murdoch <murdoch.duncan at gmail.com>
> wrote:
> >
> > On 11/03/2023 4:42 p.m., Sebastian Martin Krantz wrote:
> > > Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can
> > > follow all aspects you raised, but to give my limited take on a few:
> > >
> > >> your proposal violates a very basic property of the language, i.e.
> that all state...
2023 Mar 11
3
Multiple Assignment built into the R Interpreter?
Dear R Core,
working on my dynamic factor modelling package, which requires several
subroutines to create and update several system matrices, I come back to
the issue of being annoyed by R not supporting multiple assignment out of
the box like Matlab, Python and julia. e.g. something like
A, C, Q, R = init_matrices(X, Y, Z)
would be a great addition to the language. I know there are several
1998 Dec 18
1
8.3 filename format
...est
[catalog]
comment = Files for Acrobat Cataloger
path = /pub/dept/mfg/teng/doc/gos
read only = No
create mask = 0664
directory mask = 0775
dos filetimes = Yes
dos filetime resolution = Yes
fake directory create times = Yes
--
DAN KRANTZ
Hewlett-Packard Company (Spokane Division)
24001 E Mission Liberty Lake, WA 99019-9599
mailto:dan_krantz@hp.com phoneto:509-921-4548 faxto:509-921-3500
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...t think
it can/should return the full list of results, because that introduces the
ambiguity this is trying to avoid right back in. Perhaps just the first
thing returned? That is internally consistent, but somewhat strange
behavior...
Best,
~G
On Sat, Mar 11, 2023 at 2:15?PM Sebastian Martin Krantz <
sebastian.krantz at graduateinstitute.ch> wrote:
> Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can follow
> all aspects you raised, but to give my limited take on a few:
>
> > your proposal violates a very basic property of the language, i.e. that
&g...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...th(rhs)) stop("length(lhs) not equal to
length(rhs)")
list2env(`names<-`(rhs, lhs), envir = parent.frame())
invisible()
}
but as you say, the input needs to be converted to a list, and it calls
several R functions, which led me to end up writing `%=%` in C:
https://github.com/SebKrantz/collapse/blob/master/src/small_helper.c#L162.
This implementation works in the way you describe, i.e. it has separate
methods for all the standard vector types, and coerces to list otherwise.
That being said, all implementations in packages falls short of being very
useful, because R CMD Check it...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
On 11/03/2023 9:54 a.m., Sebastian Martin Krantz wrote:
> Thanks Duncan,
>
> I know about list2env(), in fact a previous version of collapse::`%=%`
> was coded as
>
> "%=%" <- function(lhs, rhs) {
> ?? if(!is.character(lhs)) stop("lhs needs to be character")
> ?? if(!is.list(rhs)) rhs <- as.v...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...vir =
parent.frame())
value[[1]]
}
You call it as
vals(a, b, c) <- 1:3
and it assigns 1 to a, 2 to b, and 3 to c. It doesn't quite do what you
want because it requires that a exists already, but b and c don't have to.
Duncan Murdoch
On 11/03/2023 4:04 a.m., Sebastian Martin Krantz wrote:
> Dear R Core,
>
> working on my dynamic factor modelling package, which requires several
> subroutines to create and update several system matrices, I come back to
> the issue of being annoyed by R not supporting multiple assignment out of
> the box like Matlab, Python an...
2023 Mar 11
3
Multiple Assignment built into the R Interpreter?
Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can follow
all aspects you raised, but to give my limited take on a few:
> your proposal violates a very basic property of the language, i.e. that all statements are expressions and have a value.
> What's the value of 1 + (A, C = init_matrices()).
I'm not sure I see the point here. I evaluated 1 + (d =
2006 May 25
1
Instructions for virtual hosting with Apache + Mongrel?
...l for virtual hosting
specifically. My hosting provider runs FreeBSD.
Installing the Mongrel gem and providing each account with an extra
higher port for proxing behind Apache seems to easy. Could it really
be that simple?
Kind regards,
Peter
http://www.standards-schmandards.com
http://www.peterkrantz.com
2019 Feb 27
0
Improved Data Aggregation and Summary Statistics in R
On 26/02/2019 8:25 a.m., Sebastian Martin Krantz wrote:
> Dear Developers,
>
> Having spent time developing and thinking about how data aggregation and
> summary statistics can be enhanced in R, I would like to present my
> ideas/efforts in the form of two commands:
>
> The first, which for now I called 'collap', is...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
On 11/03/2023 4:42 p.m., Sebastian Martin Krantz wrote:
> Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can
> follow all aspects you raised, but to give my limited take on a few:
>
>> your proposal violates a very basic property of the language, i.e. that all statements are expressions and have a value. &g...
2023 Mar 11
2
Multiple Assignment built into the R Interpreter?
...llapse).
Obviously, globalVariables() is a very heavy hammer to swing for this
issue, but you might consider the benefits worth the tradeoffs.
Best,
Kevin
On Sat, Mar 11, 2023 at 2:53?PM Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> On 11/03/2023 4:42 p.m., Sebastian Martin Krantz wrote:
> > Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can
> > follow all aspects you raised, but to give my limited take on a few:
> >
> >> your proposal violates a very basic property of the language, i.e. that all statements are expressions and...
2002 Oct 10
2
tapply for matrices
Does anyone have something like tapply that is extremely fast for matrices when there is a very large number of levels of the grouping variable?
I'm referring to, for example,
tapply(x, grouping.variable, function.operating.on.submatrix)
where x is a matrix and the submatrix is a subset of the rows of x. The grouping variable's length equals the number of rows of x.
--
Frank E
2012 Oct 10
3
RGL package surface plot
I'm completely new at R... I have sinkhole survey data (lat, long, and
elevation) and have been trying to plot a rotatable 3d plot for several
hours... cannot get it right. Examples I see tend to be grid data (one
elevation value per grid cell); however, my data are more random (known
elevations at known (but random) x-y positions). Data format is tab
separated, i.e.:
lat long