search for: ulaval

Displaying 20 results from an estimated 173 matches for "ulaval".

2005 Aug 29
5
Testing if all elements are equal in a vector/matrix
...lt;- rep(1, 10) > all(x == x[1]) # == operator does not provide for small differences [1] TRUE > isTRUE(all.equal(x, rep(x[1], length(x)))) # ugly [1] TRUE Best, Vincent -- Vincent Goulet, Associate Professor ??cole d'actuariat Universit?? Laval, Qu??bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2007 Mar 13
2
An example of "overloading" [
Hello: Could anyone point me to a nice example where someone has created methods for "[" on a user defined Class? I looked at the package Matrix but that was a little daunting. I'm looking for someone a little more introductory. I've tried to search the help section and the web but its difficult since "[" isn't searchable. Thanks in advance! Greg [[alternative
2005 Apr 20
1
Negative argument for head() and tail()
...x)) the last one. Is there any interest for such an extension? I would be very willing to contribute a patch, although I don't have much experience in doing so. Best regards, -- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet@act.ulaval.ca http://vgoulet.act.ulaval.ca
2006 Jan 31
2
Announce: Contributed Documentation
...is any interest, I might prepare an English version of the document. The document is published under the GNU Free Documentation License. In the hope the document may be useful, -- Vincent Goulet, Associate Professor ??cole d'actuariat Universit?? Laval, Qu??bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca ===== ===== ===== ===== ===== ?? la communaut?? francophone de R, Un petit mot pour annoncer la publication de mon document ??Introduction ?? la programmation en S??. Il est disponible dans la section ??French?? de la page ??Contributed Documentation?? de CRAN....
2009 Jun 16
1
Testing if all elements are equal in a vector/matrix
...documentation for isTRUE reads 'isTRUE(x)' is an abbreviation of 'identical(TRUE,x)' so actually Vincent's solutions is "cleaner" than using identical :) Cheers Francisco />From: "Doran, Harold" <HDoran@air.org> / />To: <vincent.goulet@act.ulaval.ca>, <r-help@stat.math.ethz.ch> / />Subject: Re: [R] Testing if all elements are equal in a vector/matrix / />Date: Mon, 29 Aug 2005 15:49:20 -0400 / /> / >See ?identical <http://tolstoy.newcastle.edu.au/R/help/05/08/11201.html#11202qlink1> /> / />-----Original Me...
2006 Sep 27
1
S3 methods for cbind/rbind
...own method. Is there 1) a workaround to and 2) a rationale for this? (Other than creating a generic Rbind() or whatever, that is.) I'm using S3 methods. Thanks in advance! -- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2005 Feb 23
3
and [ESS] Starting ESS
Dear R People: I have finally seen the error of my ways and have decided to use ESS for R and S + stuff. However, I have a question right from the beginning. I'm somewhat confused by the installation instructions. Do I install XEMACS or ESS first, please? Windows XP R Version 2.0.1 (S + 6.2) Thanks so much! Sincerely, Laura Holt mailto: lauraholt_983 at hotmail.com
2006 Sep 17
2
Building the call of an arbitrary function
...ons of call(), formals(), args() et al. to no avail. But then, I avoided, so far, to build the whole thing as a character string. Would it be the only option? Thanks for any help. -- Vincent Goulet, Professeur agr?g? ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2005 Sep 07
1
Avoid Sweave from stopping on errors
...d that I will be pointed to options("error"). That'd be fine, but which error parameter will just "do nothing" in case of an error? Thanks in advance! -- Vincent Goulet, Associate Professor ??cole d'actuariat Universit?? Laval, Qu??bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2010 May 31
1
Suggested tidying up
...ay I propose to remove this apparently useless function from the sources? [I stubbled upon this function because my package actuar also has a cm() function that masks the one from grDevices.] Dr. Vincent Goulet Full Professor ?cole d'actuariat, Universit? Laval, Qu?bec vincent.goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2008 Feb 14
1
Small encoding question
...ils datasets grDevices graphics methods base other attached packages: [1] CarbonEL_0.1-4 loaded via a namespace (and not attached): [1] tools_2.6.2 Thanks in advance! --- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2006 Jul 17
1
Patch to allow negative argument in head() and tail()
...package utils to allow for a negative 'n' argument. This allows to extract all but the first/last 'n' elements/rows/lines of an object, similar to the "drop" operator of APL. [1] I put the patched head.R and head.Rd files, along with diff files in http://vgoulet.act.ulaval.ca/pub/R/ The differences were obtained against today's version of r-devel (more specifically revision 30277 of head.R and revision 30915 of head.Rd). Some comments: - The current version of head() and tail() will accept a vector of length > 1 for argument 'n' but will silently...
2006 Sep 08
2
Multiple matrix multiplication with two 3-dimensional arrays
...t Thank you very much! Sophie Baillargeon __________________________________________ Sophie Baillargeon, M.Sc. Professionnelle de recherche en statistique D?partement de math?matiques et de statistique Universit? Laval t?l?phone: (418) 656-2131 poste 2333 courriel: Sophie.Baillargeon at mat.ulaval.ca
2006 Jul 05
2
Compilation of R packages
...try to do my part. I'll just need a mentor. ;-) Bye! Vincent > Dirk > > | Thanks a lot in advance! > | > | Cordialement, > | > | -- > | Vincent Goulet, Professeur agr?g? > | ?cole d'actuariat > | Universit? Laval, Qu?bec > | Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca -- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2007 Dec 18
2
bug in r-base (PR#10521)
Full_Name: marco zamboni Version: no R version OS: ubuntu gusty Submission from: (NULL) (87.9.174.188) I have just finish to install gusty ubuntu on my AMD sempron. I would like to: $ sudo apt-get install r-base but ... I seguenti pacchetti hanno dipendenze non soddisfatte: r-base: Dipende: r-base-core (>= 2.6.1-1gutsy0) ma 2.5.1-1 sta per essere installato Dipende:
2007 Dec 18
2
bug in r-base (PR#10521)
Full_Name: marco zamboni Version: no R version OS: ubuntu gusty Submission from: (NULL) (87.9.174.188) I have just finish to install gusty ubuntu on my AMD sempron. I would like to: $ sudo apt-get install r-base but ... I seguenti pacchetti hanno dipendenze non soddisfatte: r-base: Dipende: r-base-core (>= 2.6.1-1gutsy0) ma 2.5.1-1 sta per essere installato Dipende:
2008 Mar 20
2
Installation of R, Sweave, ESS and [X]Emacs on Windows?
I'm trying to get R, Sweave, ESS and XEmacs or emacs all installed and working together on my Windows XP Pro system. I've got R 2.6.0 working just fine, installed from the R Windows installer. I also have CYGWIN_NT-5.1 with XEmacs 21.4 working okay. Can anyone point me to any documentation on how to bring these together so that R code typed in Xemacs can be run in R? I found the ESS
2007 Jan 24
0
Easy to install GNU Emacs for Windows
...e of R; * AUCTeX 11.84; * Aspell 0.50.3; * English and French dictionaries for Aspell; * w32-winprint.el, to ease printing under Windows; * htmlize.el, to print in color with w32-winprint.el; * site-start.el, a site wide configuration file to make everything work. For details: http://vgoulet.act.ulaval.ca/en/emacs/ The plan is to keep my distribution current with R releases. The installation wizard is not all that smart for now, but I'll try to improve it in the future. For example, it creates a HOME environment variable (if it doesn't already exist), but doesn't ask for a value....
2008 Mar 28
0
Emacs 22.2-modified-1 is out
I updated my modified GNU Emacs for Windows release to the now current version 22.2 of Emacs. The distribution is available at http://vgoulet.act.ulaval.ca/en/emacs For those hearing about this distribution for the first time, here's a short description: ready-to-install version of GNU Emacs 22.2 for Windows (released March 26, 2008) with the following additions: * ESS 5.3.6; * AUCTeX 11.85; * Aspell 0.50.3; * English and French dictionar...
2008 May 02
2
Out of bounds negative index
...ive subscript is mixed with NAs. In other cases, out of bounds negative indexes just seem silently ignored. Did I missed or misinterpreted something, here? Thanks in advance --- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca