Displaying 10 results from an estimated 10 matches similar to: "nnet Multinom output of ordered predictors"
2005 Mar 02
1
Applying a function to all combinations of factors
Is there a way to apply a function, say cor(), to each combination of some
number 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
2008 Feb 18
2
skip non-converging nls() in a list
Howdee,
My question appears at #6 below:
1. I want to model the growth of each of a large number of individuals using
a 4-parameter logistic growth curve.
2. nlme does not converge with the random structure that I want to use.
3. nlsList does not converge for some individuals.
4. I decided to go around nlsList using:
t(sapply(split(data, list(data$id)),
function(subd){coef(nls(mass ~
2008 Feb 15
2
lmList, tapply() and lm()
Howdee,
*** I know that the lmList() function exists, yet I don't want to use it.
***
Would anyone be kind enough to tell how I can apply the function lm() to
each level of a given factor so 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
2008 Jan 29
0
number of rescaling cycles in decorana
How do one dertermine the optimal number of rescaling cycles to use when
performing DCA using the decorana function (library vegan)?
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
2008 Feb 19
0
nlsList - Error in !unlist(lapply(coefs, is.null))
Howdee,
I am able to fit a 4-parameter logistic growth curve to a dataset which
comprise many individuals (using R v. 2.3.1). Yet, if I want to obtain the
parameters for each individual (i.e., for each 'id') using nlsList, then I
obtain an Error message which I have trouble interpreting. Any advice as to
how I can solve this problem?
Thanks for your time,
Marc
> reg <-nls(mass ~
2009 Jun 05
3
from 3 numeric variables to a string
Hi there,
I have 3 numeric variables: day (e.g., 05), month (e.g., 06), year (e.g.,
2009).
I would like to create a (string) variable of the following form:
month/day/year (e.g., 06/05/2009).
I would be grateful to anyone who could point me toward a solution.
Sincerely,
Marc
===================
Marc B?lisle
Professeur agr?g?
Chaire de recherche du Canada en ?cologie spatiale et en ?cologie
2004 Nov 29
0
Re: Mode context extremely poor performance and varyio
Stephen, all,
Thank u very much for your answer and i wish you an happy thanksgiving.
Currently we tried to migrate our base on RAW devices already using e41smp, SecurePath (HP) 3C and Qlogic 7.00. The average response time of our sql request on ia32 is 0.32Sec very regularly. On our Itanium on OCFS that's very randomly between 1 and 15Sec, and on RAW between <1s and 3 sec. David is an
2004 Nov 29
0
Re: Mode context extremely poor performance and varyio
Stephen, all,
Thank u very much for your answer and i wish you an happy thanksgiving.
Currently we tried to migrate our base on RAW devices already using e41smp, SecurePath (HP) 3C and Qlogic 7.00. The average response time of our sql request on ia32 is 0.32Sec very regularly. On our Itanium on OCFS that's very randomly between 1 and 15Sec, and on RAW between <1s and 3 sec. David is an
2004 Nov 22
3
Mode context extremely poor performance.
Hi all,
I curently have a big problem. One request (listed above) using context
take up to 1000 more time than the on RAW or ext2 database. I have ran
this request on a single IA32 machine with Redhat and dbf on ext2. The
average reponse time is less than a sec. The same request on RAC 4 nodes
cluster on RAW take the same average time. On ext2 idem. But on OCFS it
took up to 15 sec randomly
2004 Nov 22
3
Mode context extremely poor performance.
Hi all,
I curently have a big problem. One request (listed above) using context
take up to 1000 more time than the on RAW or ext2 database. I have ran
this request on a single IA32 machine with Redhat and dbf on ext2. The
average reponse time is less than a sec. The same request on RAC 4 nodes
cluster on RAW take the same average time. On ext2 idem. But on OCFS it
took up to 15 sec randomly