Displaying 20 results from an estimated 1000 matches similar to: "Combination with repetition"
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 |
|
2007 Mar 26
5
Developer work cycle
Hi! I've been browsing through the last months' archive and I can't
find an answer to my question, so here it is (let's hope it's not too
obvious):
I'm working on extensions of an R library, and I would be very
surprised if everyone developing R packages is doing the following, as I do:
1.- Write down a modification of an R file
2.- Exit the current R
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
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:
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
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.
2007 Oct 23
1
Multivariate regression tree: problems with surrogate splits
R helpers,
I am working with the R program performing multivariate regression trees (MRT). I have a matrix with species and environmental variables saved as a CSV file (sprot_matrix.csv), I have 42 species and 8 environmental variables (SECCHI+PH+TA+PTOT+NTOT+CHLA+AREA+ MEANDEP) for 104 samples
Title
SpA
SpB
SpC
SpD
Varible1
Variable2
Variable3
Sample1
Sample 2
2002 Jul 15
2
problems with CarbonLib
I tried to intall R in a iMac with Mac OS E1- 9.0.4 (Mac OS ROM VE-4.6.1).
When I tried to run R for the first time I got a message about
"Carbonlib-- CF RangeMake" not beeing found. Please, could you help me to
tackle the problem. Thanks very much.
Barahona
--
Enrique Barahona Fernandez
ESTACION EXPERIMENTAL DEL ZAIDIN, CSIC
Profesor Albareda, 1
18008, GRANADA (Spain)
Tel. + 34
2008 Dec 11
3
generate combination multiset (set with repetition)
Hi,
This has been asked before but not sufficiently answered from what I
could find. How do you create combinations
with repetitions (multisets) in R?
If I have
> set <- array(1:3)
And I want to choose all combinations of picking 2 numbers, I want to
get a print out like
[,1] [,2]
[1,] 1 1
[2,] 1 2
[3,] 1 3
[4,] 2 2
[5,] 2 3
[6,] 3 3
subsets(set,
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
2014 Jul 17
2
[Grupo de Usuarios R Madrid]: Siguiente reunión el 1-julio... (Agenda disponible)...
Hola:
El 02/07/14 a las #4, Jose Luis Cañadas Reche escribió:
> [...]
> Ya de paso pregunto si alguien está interesado en
> hacer un GIL (Grupo de Interés Local) en Andalucía..
¿En que zona tienes interés?
En Almería no hay muchos eRReros pero alguno que otro estamos.
Salud y Revolución.
Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no
2001 Jan 09
2
PAM clustering (using triangular matrix)
Hi,
I'm trying to use a similarity matrix (triangular) as input for pam() or
fanny() clustering algorithms.
The problem is that this algorithms can only accept a dissimilarity
matrix, normally generated by daisy().
However, daisy only accept 'data matrix or dataframe. Dissimilarities
will be computed between the rows of x'.
Is there any way to say to that your data are already a
2009 Dec 09
11
Problems with pci passthrough with Xen 3.4.2
Hi all!.
First of all sorry about my English it''s not very fluid.
I have a small server based upon Supermicro X7DBN (Chipset Intel®
5000P) motherboard and Intel Xeon E5320 (1,83Ghz) with 4Gb of FB-DIMM
RAM.
The OS is Debian Lenny in dom0 (2.6.26-2-xen-amd64) and Debian Lenny
in domU (2.6.26-2-xen-amd64).
Xen is 3.4.2 compiled from sources.
The problem comes when I need to passthrough