search for: professeur

Displaying 20 results from an estimated 76 matches for "professeur".

2003 Oct 31
4
dnorm() lead to a probability >1
...sd=0.39) [1] 1.022929 > dnorm(x=1, mean=1, sd=0.3) [1] 1.329808 > dnorm(x=1, mean=1, sd=0.1) [1] 3.989423 > dnorm(x=1, mean=1, sd=0.01) [1] 39.89423 > dnorm(x=1, mean=1, sd=0.001) [1] 398.9423 Is there a bug with the algorithm? Thanks, Marc ======================== Marc B?lisle Professeur adjoint D?partement de biologie Universit? de Sherbrooke 2500 boul. de l'Universit? Sherbrooke, Qu?bec J1K 2R1 CANADA T?l: +1-819-821-8000 poste 1313 Fax: +1-819-821-8049 Courri?l: Marc.M.Belisle at USherbrooke.ca Site Web: www.usherbrooke.ca/biologie/recherche/ecologie/Belisle/belisle.html
2008 Feb 18
2
skip non-converging nls() in a list
...nd(1, 1/(1 + exp((xmid - x)/exp(lscal)))), data = xy, : singular gradient' 6. Would anyone know if I can get R to skip non-converging use of nls() so that I can at least obtain the parameters for the curves which R can fit? Thanks for your time, Marc =================== Marc B?lisle Professeur adjoint Chaire de recherche du Canada en ?cologie spatiale et en ?cologie du paysage D?partement de biologie Universit? de Sherbrooke 2500 Boul. de l'Universit? Sherbrooke, Qu?bec J1K 2R1 Canada T?l: +1-819-821-8000 poste 61313 Fax: +1-819-821-8049 Courri?l: Marc.M.Belisle at USherbrooke.ca
2005 Mar 02
1
Applying a function to all combinations of factors
...mber of variables, and this, without using loops? For example, I have day, hour, var1 and var2. How could I compute cor(var1,var2) for each day*hour combination and obtain a matrix with day, hour and the cor value for each combination? Thanks for your time, Marc =================== Marc Bélisle Professeur adjoint Chaire de recherche du Canada en écologie spatiale et en écologie du paysage Département de biologie Université de Sherbrooke 2500 Boul. de l'Université Sherbrooke, Québec J1K 2R1 Canada Tél: +1-819-821-8000 poste 1313 Fax: +1-819-821-8049 Courriél: Marc.M.Belisle@USherbrooke.ca [[al...
2006 Jul 06
2
questions on data management
Dear friends, suppose i have two datasets: A and B A: id<-1:6 x<-c(1,2,3,4,5,6) y<-c(2,4,6,8,3,2) xy<-data.frame(id,x,y) B m<-c(1,1,3,3,5,5) n<-c(2,2,6,6,3,3) mn<-data.frame(m,n) Now, i want to perfomr two tasks: 1. get a subset of B,no duplicate values,: C: m n 1 2 3 6 5 3 2.Extract the values in A on the conditions that x=m and y=n the results should be: id x y 1 1 2 3
2020 Jun 26
1
"R CMD Sweave --driver=..." woes
...#39;, if used, is added to the vector of arguments of ''buildVignette' without being named. It ends up being passed to argument 'dir', hence rhe error. I believe the simple patch below should fix the issue, but I wasn't able to test it. Hope this helps. v. Vincent Goulet Professeur titulaire ?cole d'actuariat, Universit? Laval Index: src/library/utils/R/Sweave.R =================================================================== --- src/library/utils/R/Sweave.R (revision 78746) +++ src/library/utils/R/Sweave.R (working copy) @@ -516,7 +516,7 @@ do_exit(1L) }...
2006 Jul 18
2
A contingency table of counts by case
Here is an example of the data.frame that I have, df<-data.frame("case"=rep(1:5,each=9),"id"=rep(1:9,times=5),"x"=round(runif(length(rep(1:5,each=9))))) "case" represents the cases, "id" the persons, and "x" is the binary state. I would like to know in how many cases any two persons a. both have "1", b. the first has
2008 Feb 15
2
lmList, tapply() and lm()
...to obtain the intercept and slope for each factor level within a matrix? For instance, suppose a dataframe containing 3 variables: id, x and y. I want to compute the function lm() for each level contained in id, as lmList would do... Thanks for your time, Marc =================== Marc B?lisle Professeur adjoint Chaire de recherche du Canada en ?cologie spatiale et en ?cologie du paysage D?partement de biologie Universit? de Sherbrooke 2500 Boul. de l'Universit? Sherbrooke, Qu?bec J1K 2R1 Canada T?l: +1-819-821-8000 poste 61313 Fax: +1-819-821-8049 Courri?l: Marc.M.Belisle at USherbrooke.ca
2006 Sep 17
2
Building the call of an arbitrary function
...t the arguments of the output function are those of dgamma().) I tried all sorts of combinations 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
2007 May 05
3
pseudo-R2 or GOF for regression trees?
...uestion. Thanks very much, Jeff ------------------------------------------ Prof. Jeffrey Cardille jeffrey.cardille@umontreal.ca ************************************************************************ ************************************ ** Département de Géographie ** Bureau: ** ** professeur adjoint / assistant professor ** Salle 440 ** ** Université de Montréal ** Pavillon Strathcona ** ** C.P. 6128 ** 520, chemin de la Côte-Ste-Catherine ** ** Succursale Centre-ville ** Montreal, QC H2V 2B8 ** ** Montréal, QC, H3C 3J7 ** Télé: (514) 343-8003...
2006 Jan 31
2
Announce: Contributed Documentation
...mme support d'un cours dans lequel les ??tudiants doivent apprendre un second langage de programmation. On y trouve donc de nombreux exemples et exercices. Le document est publi?? sous la GNU Free Documentation License. En esp??rant que le document s'av??rera utile, -- Vincent Goulet, Professeur agr??g?? ??cole d'actuariat Universit?? Laval, Qu??bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
2006 Sep 26
2
Vectorise a for loop?
Hi R guru coders I wrote a bit of code to add a new column onto a "topTable" dataframe. That is a list of genes processed using the limma package. I used a for loop but I kept feeling there was a better way using a more vector oriented approach. I looked at several commands such as "apply", "by" etc but could not find a good way to do it. I have this feeling there
2002 Jan 23
6
multivariate simulation
...-normal multivariate distribution. The MASS package allows by mean of "mvrnorm" command to perform a multivariate normal simulation. Is there an equivalent command for an arbitrary multivariate distribution available in the R-language? Thank you in advance. Bernard Colin Colin Bernard Professeur titulaire D?partement de Math?matiques et d'Informatique Facult? des Sciences Universit? de Sherbrooke SHERBROOKE J1K-2R1 (Qu?bec) Canada Tel : (819)821-8000 poste 2012 Fax :(819)821-8200 e-mail : bernard.colin at dmi.usherb.ca -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2002 Dec 09
0
Re : Information
...umulative distribution function of (X,Y) at each point (xi,yi) and I have not find in R a package that evaluate this function. Is there a such package in R? If no, how can I do to make my simulation succesful? Thank you very much for your assistance. Sincerely yours Colin Bernard Colin Bernard Professeur titulaire D?partement de Math?matiques et d'Informatique Facult? des Sciences Universit? de Sherbrooke SHERBROOKE J1K-2R1 (Qu?bec) Canada Tel : (819)821-8000 poste 2012 Fax :(819)821-8200 e-mail : bernard.colin at dmi.usherb.ca
2005 Mar 12
1
pretty print of summary
...y word on its own line, so "tmp" contains a very long column of words. - dump will output the structure of the object so it can be loaded back. - write is suited for matrices of data, not arbitrary objects. Something else i should look at ? Thanks, Chuck --- Charles Dugas, Ph.D., A.S.A. Professeur adjoint, D?partement de Math?matiques et Statistique Universit? de Montr?al www.dms.umontreal.ca t?l. : (514) 343-6433 cell. : (514) 592-9301
2006 May 03
1
Breaking a matrix into parts
Hi, I've a matrix in 20*11 order. There are 11 variables, i.e 11 columns and each variable have 20 row data. Now i want to calculate covariance between any variable with others taking 4 rows at a time, so that there will be 5 blocks. How can i do this using any R-function? If i want to do it in any 'loop' function? Thanks a lot, SB.
2006 May 03
3
Giving Error
I tried your code, but it's giving the following error.. Error in match.fun(FUN) : argument "FUN" is missing, with no default
2006 May 11
2
Break Matrix
Hi All, I have a (331*12) matrix. I wan t to braek it into 28 parts each window having 12 rows, so that each matrix become (12*12) matrix. How can i do this. Thanks, Sumanta. --------------------------------- Send instant messages to your online friends - NOW [[alternative HTML version deleted]]
2006 May 18
1
Function (x) as consecutive values
Hi - I'm trying to avoid using a 'for' loop due to inefficiency and instead use a function (and ultimately tapply as I'm working on a matrix) but I can't figure out how to get 'function' to take the variables as anything other than vectors for example aa<-0 x<-1:4 test.fun<-function(x) {aa<-(x*x +aa) return(aa)} test.fun(1:4) This code
2006 Jun 06
2
SPSS variable lables import
Hi, I try to get the variable labels of a SPSS data file into R but don't find this mentioned in the help file for foreign. Is there another way to get them ? BTW: An SPSS variable name is like: VAR001, whereas the variable label might be 'Identification no.' Thanks in advance, F. Thomas -- .......................................... Dr. Frank Thomas FTR Internet Research 93110
2006 Jun 13
1
plotting gaussian data
Ok I guess it's time to ask. So I want to plot my data. It's my data from a frequency table, "temp". My formula is just a Gaussian eq. I have done the nls function to get my parameters and now I want to do the whole plot (...) and then lines(..) This is what I have done. > temp bin x 1 -4.0 0 2 -3.9 0 3 -3.8 0 4 -3.7 0 5 -3.6 0 6 -3.5 0 .... and so