Displaying 20 results from an estimated 3000 matches similar to: "Developer work cycle"
2007 Apr 06
4
Computing the rank of a matrix.
Hi! Maybe this is a silly question, but I need the column rank
(http://en.wikipedia.org/wiki/Rank_matrix) of a matrix and R function
'rank()' only gives me the ordering of the elements of my matrix.
How can I compute the column rank of a matrix? Is there not an R
equivalent to Matlab's 'rank()'?
I've been browsing for a time now and I can't find anything, so any
2007 Sep 11
5
Percentiles in R
Hi there! Still struggling to translate Matlab code into R's tsDyn package.
Here is my question: Is there in R an equivalent function to Matlab's
prctile()? To the moment I thought it was quantile(), but I just
realized I was wrong. The definition of the Matlab function:
prctile
Percentiles of a sample
SyntaxY = prctile(X,p)
Description
Y = prctile(X,p) calculates a value that is
2008 Sep 30
1
ordering problem
Hi there!
I need some assistance here with vector orderings. I have a set
of q vectors of length p, grouped by rows in a matrix A, q?p, that I
need to order lexicographically
(http://en.wikipedia.org/wiki/Lexicographical_order).
I also have another matrix B, p?r, and a vector c, that should
be ordered according to the order of A. So far, I was doing
ordering <-
2008 Aug 28
3
Plots spanning columns
Hi! I want to plot three graphs (residuals, ACF and PACF of a
model). Ideally I would use a c(2,2) disposition where the residuals
plot would start at position 1,1 and span to position 1,2. Then I would
plot the ACF in position 2,1 and the PACF in position 2,2. Maybe is
clearer like this:
--------------------------
| |
| residuals |
|
2008 Aug 15
2
Combination with repetition
Hi there! I can't find any information about creating combinations
with repetitions in R. The function combn() does create combinations,
but _without_ repetitions.
Here is what I need to do:
svIter <- 1000
xx <- matrix(rnorm(m*n), c(m, n))
sequence <- seq(range(xx)[1], range(xx)[2], length.out = svIter^(1/q))
expand.grid(secuence, secuence, .../q times/..., secuence)
That is,
2007 Sep 07
2
Matlab's lsqnonlin
Hi! I'm translating some code from Matlab to R and I found a problem.
I need to translate Matlab's function 'lsqnonlin'
(http://www-ccs.ucsd.edu/matlab/toolbox/optim/lsqnonlin.html) into R,
and at the beginning I thought it would be the same as R's 'optim'. But
then I looked at the definition of 'lsqnonlin' and I don't quite see how
to make
2007 Sep 27
1
A matrix multiplication
Dear all,
I'm having trouble using the 'apply' function to multiply some
arrays. Let A be a 500x2 array and B a 500x3 array. I need a vector C
which has 6 columns being the first three the result of A[,1] * B and
the second three the result of A[,2] * B. What is the most efficient way
to express that? I'm trying to use 'apply' with no success...
Thanks for your
2007 Sep 12
3
Passing parameters to 'optim' fn function
Hi again! I'm using the 'optim' method to fix the parameters of a
model. I have written the function to be minimised and another function
which returns the gradient of the error. Now my problem is that, in
order to compute that gradient, it would be extremely convenient to be
able to pass some parameters to the gradient function. I don't see how
to do it given the fixed syntax
2019 Jan 16
2
optimizacion costos
Estimados.
Hace un tiempo que tengo una duda, estaba pensando en los problemas como
optimización de costos, donde hay varias alternativas y librerías, pasando
por soluciones inspiradas en energía, genética o algo matemático como
matrices y álgebra.
Luego aparecen tensorflow, cntk, y otros tantos, de los cuáles
https://keras.rstudio.com/ ofrece alternativas para mezclar los mundos por
decirlo de
2019 Jan 16
2
optimizacion costos
Estimado Jesús Para Fernández
En teoría es ese material, lo vi muy rápido y en la parte genética tiene
cosas que biológicamente no son así, hay un libro de Falconer, Introducción
a la genética cuantitativa, que tiene escrita la parte matemática, hay un
abismo entre la biología y los ingenieros que se inspiran en la biología.
Yo pensaba en la resolución de un problema real, aunque relativamente
2005 Feb 15
1
convolution of functions
Dear sir,
we would like to know if there exist any R package containing the
computational performance of the n-fold Stieljes' convolution of functions.
We look forward to hearing from you.
Thank you in advance.
____________________________________
M.Luz G?miz P?rez
Dpt. Estad?stica e Investigaci?n Operativa
Facultad de Ciencias
Universidad de Granada
Telf.: 958-243156
e-mail:
2003 Mar 13
2
subdirectory of home
Hi.
Sorry: my level of english is not enough good. I hope you understand
what I mean.
My question is: it's possible to share a subdirectory (and only one
subdirectory for every user) in the section [homes]?
The version of samba which i'm working is 2.2.7a, over Solaris 8.
Thanks in advance.
--
2004 Nov 10
1
Program for encrypt passwords
Hello!
At the University of Granada (Spain) we use a Samba Server for aprox. 1000
users and runs ok.
But (there's always a but) we need to know how encript password for the
smbpasswd file. I know that we can use the smbpasswd program but we need get
the encrypted password in the stdout. Has someone a program than does this??
TIA.
2010 May 03
2
toma de muestras
Buenas tardes a todos.
Mi problema es el siguiente:
Calculo una muestra de unos índices (s) y a partir de esa muestra elijo
aquellos elementos de una tabla de datos que tengo (en este caso XP4) que
cumplen la condición de que el índice de XYP sea el de la muestra. Ahora
comienza mi problema, la única forma que he encontrado para que me R me
tome todos los elementos que necesito es creando un
2008 Jul 07
2
Running "all possible subsets" of a GLM (binomial) model
I have spent a fair amount of time looking for a package that is automated
to run glm (binomial) regression models with all possible subsets of my
independent variables. Something akin to Lumley's "leaps" package, but can
be applied to glms, not just lms; or something similar to Stata's brute
force "tryem" function? If anyone can point me in the right direction I
2009 Jan 07
1
how to estimate overdispersion in glmer models?
Dear all,
I am using function glmer from package lme4 to fit a generalized linear
mixed effect model. My model is as follows:
model1 <- glmer(fruitset ~ Dist*wire + (1|Site), data, binomial)
summary(model1)
Generalized linear mixed model fit by the Laplace approximation
Formula: fruitset ~ Dist * wire + (1 | Site)
Data: data
AIC BIC logLik deviance
68.23 70.65 -29.11 58.23
Random
2007 Apr 13
1
Simulated annealing using optim()
I'm preparing some code to compute the optimal geometry of stressed
solids. The core of the calculations is the optimization of elastic energy
using the simulated annealing method implemented in the R optim() rutine.
I've defined a function to compute this "energy" scalar (the fn parameter
for optim) and prepared a list with the arrays defining the geometry and
the elastic
2013 Nov 28
2
derivar una función
Las dos
Enviado desde mi iPhone
> El 28/11/2013, a las 18:07, "Carlos J. Gil Bellosta " <cgb en datanalytics.com> escribió:
>
> ¿Numérica o simbólicamente?
>
> Un saludo,
>
> Carlos J. Gil Bellosta
> http://www.datanalytics.com
>
> El día 28 de noviembre de 2013 18:03, jmcontreras <jmcontreras en ugr.es> escribió:
>> Hola a todos
2011 Feb 05
1
Reading a specific file during "R CMD check"?
Hello, All:
How can I obtain the location of an example data file in a
package during "R CMD check"?
I want to include sample raw data files in a package and have
them read by a function in the package. It occurs to me to put such a
file in "\inst\rawdata" and have examples find the data using something
like "system.file('rawdata',
2008 Jan 04
1
Multi-dimensional function.
Hi there! Happy new year to everyone!
There's a piece of code that I must write that's driving me crazy.
Maybe any of you has previous experiences in something similar. Any help
will be greatly appreciated!
The problem is as follows. I have a matrix Z with dimensions c(m,
p). I have two vectors
Gamma and Th with length p.
What I want to do is, for j in 1:p, for each pair