similar to: returning the largest element in an array/matrix?

Displaying 20 results from an estimated 10000 matches similar to: "returning the largest element in an array/matrix?"

2003 Dec 18
2
: Lp norm estimation
Hi all Just wondering whether one can undertake Lp norm estimation (a type of regression analysis) in R? i.e. argmin S ( | y(i) - x(i)b | ^p ) where: * S is the summation over observation i= 1,2,...,n * y is a vector of n observations * x is an n by p matrix of explanatory variables * b is a p by 1 vector of beta coefficients and * p is a constant to be estimated such that
2012 Jun 12
4
How to subset a matrix?
Hi all, Lets say I have a matrix A which is m x n. I also have a mask matrix MASK which is m x n with values in T/F, where T values make a sub-matrix in regutangular shape... I applied B=A[MASK] and it didn't work as expected... Any thoughts? [[alternative HTML version deleted]]
2011 May 02
1
Optimization - n dimension matrix
Dear all, I am facing the following problem in optimization: w = (d, o1, ..., op, m1, ..., mq) is a 1 + p + q vector I want to determine: w = argmin (a - d(w))' A (a - d(w)) where a is a 1xK marix, A is the covariance matrix of vector a, d(w) is a 1xK vector which parameters are functions of parameters d, o1 .. op, m1 .. mq. Is there some function to solve this problem easily? I know
2006 Feb 13
5
search algorithm
Hi! I have a problem of finding a specific value in a column. For example, I have a matrix with say 2 columns X Y 1 -2.0341602 9.036689e-05 2 -1.4287230 1.807338e-04 3 -1.1194402 2.711007e-04 4 -1.0327582 3.614676e-04 5 -0.8130556 4.518344e-04 6 -0.7138212 5.422013e-04 7 -0.6634425 6.325682e-04 8 -0.6512083 7.229351e-04 9
2003 Jul 02
3
Asterisk PBX Billing
Hi I would like to use the Asterisk PBX as part of a phone shop system instead of the usual PBX plus PC. How can I do the the billing in a way that is convinient to the phone shop attendant? Regards Shepherd _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
1999 Dec 27
3
How to kill samba users
Hi! How to kill samba users connected to shares I migrated from Novell fileserver. There it was very convinient ... I hope Samba could have similar thing Thank in advance Danila Vologdin
2008 Nov 24
6
optimization problem
Dear list, hi ! I am a R beginner and I have a function to optimize . alpha = argmin{ f(x,alpha) } I want alpha to be in [0,1]. Is there any function that can work? I use nlm() but i can't fix the domain of alpha. thanks in advance _______________________ Jiang Peng, Ph.D. Candidate Department of Mathematics & Antai college of Economics and Management Shanghai Jiao
2006 Apr 29
1
SSPIR problem
I am having a problem with the package SSPIR. The code below illustrates it. I keep getting the message: "Error in y - f : non-conformable arrays." I tried to tweak the code below in many different ways, for example, substituting rbind for cbind, and sometimes I get a different error message, but I could not find a variation of this code that would work. Any help will be greatly
2016 May 04
4
[PATCH] tools/virtio/ringtest: add usage example to README
Having typical usage example in the README file is more convinient than in the git history... Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com> --- tools/virtio/ringtest/README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/virtio/ringtest/README b/tools/virtio/ringtest/README index 34e94c4..d83707a 100644 --- a/tools/virtio/ringtest/README +++
2016 May 04
4
[PATCH] tools/virtio/ringtest: add usage example to README
Having typical usage example in the README file is more convinient than in the git history... Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com> --- tools/virtio/ringtest/README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/virtio/ringtest/README b/tools/virtio/ringtest/README index 34e94c4..d83707a 100644 --- a/tools/virtio/ringtest/README +++
2006 Jan 30
2
How to add two different axis to one plot?
Hi all, I need to put two different axis to one plot. On the top of the plot, I need to put one axis, with increments from left side to the right side; then at the bottom of the same plot, I need to put another axis, with increments from right side to the left side and showing a different unit. How do I do that? By the way, is there a "hold" command for plotting? If I first plot a
2007 Aug 01
1
constrOptim
Hi, I'm having trouble using the constrOptim function to generate the 9-component vector argmin of the function ELfsds: ELfsds <- function(pvechat){ LG=0 for(i in 1:9){ LG=LG+log(pvechat[i]) } return(-LG) } with accompanying gradient function: gradfunc <- function(thetavec){ g=1/(9*thetavec) return(g) } The constraints on the optimization problem are: 1 - components of
2004 Aug 06
2
a new directory service
> > type > > type of the stream > > ex.: audio/mpeg or application/ogg > > > > This would be confusing to the end-user just looking for something to > listen to. The average user doesn't understand what a MIME type is. I'd > suggest just something like "MP3" or "Ogg" instead. Note that this is information stored in the database.
2004 Nov 28
1
use of file.show() under linux session....
Hi all, I know this is a stupid question, but I can't display a text file in a separate console window under a R session in X11 (gnome with MDK 9.2). I use R 2.0.0. When I enter : > file.show("/path/to/my/file/filename.txt" ,pager="gnome-terminal") the new window opens and then I just obtain the blinking cursor after the console prompt :-( I always obtain the same
2006 Dec 07
1
Client-identifier option in PXE search order
>/> This allows us to bind the UUID to IP, and then pxelinux branches based />/> on the IP... />/> /> > You can also tell dhcpd to generate an option 209 from the UUID, if you > prefer. It is doable from dhcpd.conf, however when adding a node, one must do: * add uuid entry to dhcpd.conf * restart dhcp It is not always desirable (or convinient) when managing
2012 Jun 29
0
[LLVMdev] [cfe-dev] is configure+make dead yet?
Hi, Óscar: nice to hear some voice on this. about LLVM_TOOLS_BINARY_DIR, yes, it made the installed version work only, if you'd like the uninstalled version to work, it should be detected as you suggested. about LLVM_INSTALL_PREFIX the purpose is to make it really relocatable, eg, when installed under /lib/llvm I just later need to move the installation tree to /lusr/local/lib/llvm
2007 Apr 27
4
Randomising matrices
I would like to be able to randomise presence-absence (i.e. binary) matrices whilst keeping both the row and column totals constant. Is there a function in R that would allow me to do this? I'm working with vegetation presence-absence matrices based on field observations. The matrices are formatted to have sites as rows and species as columns. The presence of a species on a site is
2006 Feb 04
3
R command line: need intelligent command history recall?
Hi all, I am not sure if this feature exists in the R-console command line prompt: In Matlab, if I want to enter a command which is similar to what I have entered before, I can enter a few prefix, then press "->", the previous command that matches with this prefix will then appear on this command line, and it saves a lot of our time. For example: > abline(lm(new~old)) >
2003 May 09
2
Data-mining using R
Is it possible to use R as a data-mining tool? Here's the problem I've got. I have a couple of data sets consisting of results from a cDNA microarray experiment - the details about the biology don't really matter here, the same theory applies for any other data-mining task (that's why I thought it'd be more appropriate to post this on r-user). Each of these datasets consists
2011 Dec 06
4
how to view/edit large matrix/array in R?
head, tail and fix commands don't really work well if I have large matrix/array for which I would like to be able to scroll up and dow, left and right ... Could anybody please help me? Thanks [[alternative HTML version deleted]]