search for: jorismey

Displaying 20 results from an estimated 198 matches for "jorismey".

Did you mean: jorismeys
2015 Oct 05
9
Error generated by .Internal(nchar) disappears when debugging
On 05/10/2015 7:24 PM, Matt Dowle wrote: > Joris Meys <jorismeys <at> gmail.com> writes: > >> >> Hi all, >> >> I have a puzzling problem related to nchar. In R 3.2.1, the internal > nchar >> gained an extra argument (see >> https://stat.ethz.ch/pipermail/r-announce/2015/000586.html) >> >> I've...
2017 Mar 28
2
`[` not recognized as a primitive in certain cases.
...would _not_ be evaluated, quote() would return the symbol, and > the symbol would end up in the call. > > The two forms have virtually identical behavior as long as the call > ends up getting evaluated in the same environment. > > On Tue, Mar 28, 2017 at 3:03 AM, Joris Meys <jorismeys at gmail.com> wrote: >> Dear, >> >> I have noticed this problem while looking at the following question on >> Stackoverflow : >> >> http://stackoverflow.com/questions/42894213/s4-class-subset-inheritance-with-additional-arguments >> >> While go...
2019 Oct 11
2
New matrix function
I think you are confusing package and function here. Plus some of the R Core packages, that you mention, contain functions that should probably be replaced by functions with better implementation from packages on CRAN. Best regards Morgan On Fri, 11 Oct 2019 15:22 Joris Meys, <jorismeys at gmail.com> wrote: > > > On Fri, Oct 11, 2019 at 3:55 PM Morgan Morgan <morgan.emailbox at gmail.com> > wrote: > >> How do you prove usefulness of a feature? >> Do you have an example of a feature that has been added after proving to >> be >> usef...
2010 Jun 03
3
ordinal variables
Dear colleagues, I teach statistics using SPSS. I want to use R instead. I hit on one problem and I need some quick advice. When I want to work with ordinal variables, in SPSS I can compute the median or create a barchart or compute a spearman correlation with no problems. In R, if I "read" the ordinal variable as numeric, then I cannot do a barplot because I miss the category names. If
2017 May 18
2
[R] R-3.4.0 fails test
> On 18 May 2017, at 13:47 , Joris Meys <jorismeys at gmail.com> wrote: > > Correction: Also dlt uses the default timezone, but POSIXlt is not recalculated whereas POSIXct is. Reason for that is the different way values are stored (hours, minutes, seconds as opposed to minutes from origin, as explained in my previous mail) > I would...
2009 Oct 12
2
Error: cannot allocate vector of size 1.2 Gb
Dear List, today I turn to you with a next problem. I'm trying to compare species richness between various datasets (locations) using species accumulation curves (Chapter 4, page 54 in Tree diversity analysis<http://www.worldagroforestry.org/treesandmarkets/tree_diversity_analysis.asp>by Kindt & Coe). To accomplish this I'm using package BiodiversityR. My data is comprised of
2018 Jan 31
1
Best practices in developing package: From a single file
...'parent' of roxygen is Doxygen, which was already widely used (also by me) in the C/C++ community before roxygen was published. I cannot remember anyone ever complaining about C/C++ documentation deteriorating because of Doxygen. -Mark Op wo 31 jan. 2018 om 14:02 schreef Joris Meys <jorismeys at gmail.com>: > On Wed, Jan 31, 2018 at 1:41 PM, Duncan Murdoch <murdoch.duncan at gmail.com> > wrote: > > > On 31/01/2018 6:33 AM, Joris Meys wrote: > > > > 3. given your criticism, I'd like your opinion on where I can improve the > >> documentat...
2014 Aug 25
3
dubious behaviour of match.arg() with nested functions.
Dear all, I initially ran into this problem while rebuilding a package dependent on nleqslv. I got the following error: Error in match.arg(global) : 'arg' must be of length 1 This didn't occur in previous versions of nleqslv, but did in the current one (2.4). I think I pinned the problem down to the following example: Take two functions: test <-
2018 Jun 09
4
Date class shows Inf as NA; this confuses the use of is.na()
....na applied to an atomic vector returns a logical vector of the same length as its argument x, containing TRUE for those elements marked NA or, for numeric or complex vectors, NaN, and FALSE otherwise. Key point being "atomic vector" here. On Sat, Jun 9, 2018 at 1:41 PM, Joris Meys <jorismeys at gmail.com> wrote: > Hi Werner, > > on ?is.na it says: > > > The default method for anyNA handles atomic vectors without a class and > NULL. > > I hear you, and it is confusing to say the least. Looking deeper, the > culprit seems to be in the conversion of a Da...
2015 Apr 01
4
evaluation in transform versus within
...262064017 5.5 > 8 8 -0.652301191 5.5 > 9 9 0.673609455 5.5 > 10 10 -0.075590905 5.5 > > with(df, mean(x)) > [1] 5.5 > > P.S. this is probably an r-help question. > > Best, > ~G > > > > > On Wed, Apr 1, 2015 at 10:21 AM, Joris Meys <jorismeys at gmail.com> wrote: > > > Dear list members, > > > > I'm a bit confused about the evaluation of expressions using with() or > > within() versus subset() and transform(). I always teach my students to use > > with() and within() because of the warning mentio...
2015 Oct 07
1
Error generated by .Internal(nchar) disappears when debugging
...5, 2015 6:57 PM > > To: Matt Dowle <mattjdowle at gmail.com>; r-devel at stat.math.ethz.ch > > Subject: Re: [Rd] Error generated by .Internal(nchar) disappears when > > debugging > > > > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > > Joris Meys <jorismeys <at> gmail.com> writes: > > > > > >> > > >> Hi all, > > >> > > >> I have a puzzling problem related to nchar. In R 3.2.1, the internal > > > nchar > > >> gained an extra argument (see > > >>...
2015 Apr 01
1
evaluation in transform versus within
...55 5.5 > 10 10 -0.075590905 5.5 > > with(df, mean(x)) > [1] 5.5 > > P.S. this is probably an r-help question. > > Best, > ~G > > > > > On Wed, Apr 1, 2015 at 10:21 AM, Joris Meys > <jorismeys at gmail.com <mailto:jorismeys at gmail.com>> wrote: > > > Dear list members, > > > > I'm a bit confused about the evaluation of expressions using > with() or > > within() versus subset() and transform(). I always t...
2018 Jun 11
2
Date class shows Inf as NA; this confuses the use of is.na()
...; and > funding organisation NWO <http://www.nwo.nl/>. > > Who will be the winner of the Dutch Data Prize 2018? Go to researchdata.nl > to nominate. > > ?On 09/06/2018, 13:52, "R-devel on behalf of Joris Meys" < > r-devel-bounces at r-project.org on behalf of jorismeys at gmail.com> wrote: > > And now I've seen I copied the wrong part of ?is.na > > > The default method for is.na applied to an atomic vector returns a > logical vector of the same length as its argument x, containing TRUE > for > those elements marked...
2010 Mar 30
2
weighted.median function from package R.basic
Dear all, I want to apply a weighted median on a huge dataset, and I remember a function from the package R.basic that could do this using an internal sorting algorithm qsort. This speeded things up quite a bit. Alas, I can't find that package anywhere anymore. There is a weighted.median function in the package limma too, but I didn't use that before. Anybody who knows what happened to
2015 Oct 05
2
Error generated by .Internal(nchar) disappears when debugging
Hi all, I have a puzzling problem related to nchar. In R 3.2.1, the internal nchar gained an extra argument (see https://stat.ethz.ch/pipermail/r-announce/2015/000586.html) I've been testing code using the package copula, and at home I'm still running R 3.2.0 (I know, I know...). When trying the following code, I got an error: > library(copula) > fgmCopula(0.8) Error in
2017 Jun 16
3
duplicated factor labels.
To extwnd on Martin 's explanation : In factor(), levels are the unique input values and labels the unique output values. So the function levels() actually displays the labels. Cheers Joris On 15 Jun 2017 17:15, "Martin Maechler" <maechler at stat.math.ethz.ch> wrote: >>>>> Paul Johnson <pauljohn32 at gmail.com> >>>>> on Wed, 14 Jun
2017 May 18
2
[R] R-3.4.0 fails test
> On 18 May 2017, at 14:58 , Martyn Plummer <plummerM at iarc.fr> wrote: > > > >> On 18 May 2017, at 14:51, peter dalgaard <pdalgd at gmail.com> wrote: >> >> >>> On 18 May 2017, at 13:47 , Joris Meys <jorismeys at gmail.com> wrote: >>> >>> Correction: Also dlt uses the default timezone, but POSIXlt is not recalculated whereas POSIXct is. Reason for that is the different way values are stored (hours, minutes, seconds as opposed to minutes from origin, as explained in my previous mail...
2014 Oct 03
2
How I() works in a formula
Dear all, I'm updating a package regarding a new type of models, and I'm looking to extend the formula interface with two functions (L() and R() ) for construction of these models. I want to use as much of the formula interface as possible, and hoped to do something similarly to I(). I know the I() function does nothing more than add the class "AsIs". I've been browsing the
2017 Jun 22
2
duplicated factor labels.
>>>>> Paul Johnson <pauljohn32 at gmail.com> >>>>> on Fri, 16 Jun 2017 11:02:34 -0500 writes: > On Fri, Jun 16, 2017 at 2:35 AM, Joris Meys <jorismeys at gmail.com> wrote: >> To extwnd on Martin 's explanation : >> >> In factor(), levels are the unique input values and labels the unique output >> values. So the function levels() actually displays the labels. >> > Dear Joris...
2017 Mar 28
2
`[` not recognized as a primitive in certain cases.
Dear, I have noticed this problem while looking at the following question on Stackoverflow : http://stackoverflow.com/questions/42894213/s4-class-subset-inheritance-with-additional-arguments While going through callNextMethod, I've noticed the following odd behaviour: mc <- call("[",iris,2,"Species") mc[[1]] ## `[` is.primitive(`[`) ## [1] TRUE