similar to: how to get the index of entry with max value in an array?

Displaying 20 results from an estimated 10000 matches similar to: "how to get the index of entry with max value in an array?"

2006 Dec 04
2
ask for help
Dear Sir I would appreciate recieving the manul instruction of the program foe geochemical calculations.please what are the requirmentsof using the program Thanks Tanat university faculty of science , geology department ,tanta Egypt Prof.Mohamed Fouad Ghoneim Ph.D- D.Sc. Head of Geology Department Faculty of Science Tanta University, Egypt www.profghoneim.tk
2007 Jul 29
4
Call R program from C++ code
Hi All: I'm developing an application program using C++. From my C++ code, I would call some R program I have written. I' wondering if R provide some compiler that can compile R program into executable program. I searched R-help, there are a lot of posts talking about writing C++ code in R program, but few about calling R from C++. I might be wrong that R
2007 Oct 02
1
kernel about file-max
Hi all I am wandering how to control /proc/sys/fs/file-max ls it automatically? and what is for? and the maxium? Thank you --------------------------------- Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jan 10
3
Fractional brownian motion
Dear All; I have used fbmSim to simulate a fbm sequence, however, when I tried to estimate the Hurst effect, none of the nine procedures gave me an answer close enough to the real value, which is 0.5 (n=1000). So, would you please advice, 1. which is the best method to estimate the H among the 9 mehods, R/S, higuchi or Whittle? 2. how to choose the levels (default=50), minnpts, cutoff values or
2005 Feb 11
1
Help concerning Lasso::l1ce
Hi, First, when I try the example Prostate with bound 0.44 (as in the manual), I got a different result: > l1c.P <- l1ce(lpsa ~ ., Prostate, bound=0.44) > l1c.P .... Coefficients: (Intercept) lcavol lweight age lbph svi 1.0435803 0.4740831 0.1953156 0.0000000 0.0000000 0.3758199 lcp gleason pgg45 0.0000000 0.0000000
2009 Oct 04
2
is that possible to graph 4 dimention plot
Suppose there are 4 variables d is a function of a , b and c I want to know how a, b and c change will make d change It will be straightforward to see it if we can graph the d surface if d is only a function of a and b, I can use 'persp' to see the surface of d. I can easily see at what values of a and b, d will get the maxium or minium or multiple modes, etc But for 4 dimention graph,
2007 May 10
1
anyone konw Polyclass package in R?
Hi everyone: Polyclass is a polytomous logistic regression model using linear splines and their tensor products. It provides estimates for conditional class probabilities which can then be used to predict class labels. I know there is Polyclass package in S-plus. So I'm wondering if there is a corresponding package in R? I have been searching for it for quite a while, but still
2023 Jan 30
1
System Requirements for Samba?
> > There is also Citrix XenServer for maxium > comfort. It offers GUI tools under Windows for managing VMs. The > drawback is, there are a lot of parameters you cannot set in the non > paid version. Just to throw it out there, there's also XCP-NG which is a rebranded (w/o Citrix) version of XenServer without all of the proprietary bits. The same people also produce
2007 Nov 15
1
Plot problem
Dear list, I have a question about using plot(). I tried the code: <pdf("mel_chr_all_13cancer_cghFLasso_all.pdf", height=6, width=11);plot( Disease.FL, index=1:4, type="All");dev.off(); and it went through well which outputed 4 plots for 4 samples in one page. But if I increase the numbers of plots(samples) which I want, saying to 11,
2007 May 31
1
how to preserve trained model in LDA?
Hi all: I'm developing an application in which I use standard data to train the model in LDA and use the trained model to predict on test data. I can't train the model every time when I do prediction. So I need to save the trained model onto disk after the first training. Does anybody have idea about this? You help is highly appreciated. Best Regards Feng
2008 Oct 22
3
Substitute problem
hello R users, I didn't find a solution for a special problem. I have two dataframes. dataframe1: X value row col ID 1 8.973498062 5512625 3460000 1 2 11.656658570 5501625 3464000 2 3 11.121777570 5495625 3473000 3 4 9.310465964 5508625 3477000 4 5 8.883483845 5515625 3496000 5 dataframe2: X value
2005 Jan 23
1
Looking for a prepaid calling card platform
I'm looking for a prepaid calling card platform that: * easily scales to multiple servers with a common database for: redundancy, capacity, and performance Looking to start with capacity to handle 100 simultaneous calls and be able to easily scale to 1000+ simultaneous calls. * in addition to the normal anti-fraud measures, supports an API for easily adding new anti-fraud tests along the
2023 Jan 30
1
System Requirements for Samba?
Hi Rob, I'm not sure you will get much pleasure out of VirtualBox on that hardware. It sits completely on top of the OS and it will grab most of the resources, even hogging from the OS. And it will run very hot. The Xen hypervisor (incl. XenServer, XCP-NG) is very resource efficient and with Linux guests (PV or PVHVM), it will run very smoothly. The same applies to KVM. My FX-6300 box
2006 Jan 10
0
Max calls & IAX2 trunking
Is it possible to increment a call group (Max_Calls) from one server to the next server? I'm trying to set a maximum call limit between two facilities (2 Asterisk servers) using Set Group. I want the limit to be set at 4. The problem with the code that I have in place, is it allows for 4 on each server, hence the possibility of maxium of 8 concurrent calls. I need to be able to, when 1
2007 Jan 01
4
if ... problem with compound instructions
I am having problems with the 'if' syntax. I have an n x 4 matrix, X say. The first two columns hold x, y values and I am attempting to fill the second two columns with the quadrant in which the datapoint (x, y) is and with the heading angle. So I have two problems 1) how to do this elegantly (at which I've failed as I can't seem to vectorize the problem) and 2) how to
2007 Feb 05
2
Rconsole - setting the size and location of Windows help files (Rgui)
Hi, Using the Rconsole file I can specify the size and location of the Rgui windows on NT. e.g. # Dimensions (in characters) of the console. rows = 51 columns = 100 How can I specify the size of the help windows that popups when I ask for help? e.g. '?help' I would like the popup window to have say rows = 51 and columns = 100, just like the main window but a different location on the
2011 Apr 28
4
how to generate a normal distribution with mean=1, min=0.2, max=0.8
Dear all, This is a simple probability problem. I want to know, How to generate a normal distribution with mean=1, min=0.2 and max=0.8? I know how the generate a normal distribution of mean = 1 and sd = 1 and with 500 data point. rnorm(n=500, m=1, sd=1) But, I am confusing with how to generate a normal distribution with expected min and max. I expect to hear your directions. Thanks in
2007 Jan 05
4
ifelse on data frames
[Using R 2.2.0 on Windows XP; OK, OK, I will update soon!] I have noticed some undesirable behaviour when applying ifelse to a data frame. Here is my code: A <- scan() 1.000000 0.000000 0.000000 0 0.00000 0.027702 0.972045 0.000253 0 0.00000 A <- matrix(A,nrow=2,ncol=5,byrow=T) A == 0 ifelse(A==0,0,-A*log(A)) A <- as.data.frame(A) ifelse(A==0,0,-A*log(A)) and this is the output:
2007 Mar 18
1
multcomp
I used the multcomp package sometime back for doing multiple comparisons. I see that it has been updated and the methods like simint are no longer supported. When I run the program it prompts to me to use glht. How do I get the lower and upper conf int and the pValues using glht? Does anyone have an example? Thanks ../Murli [[alternative HTML version deleted]]
2009 May 21
5
Authenticating with /etc/passwd
I am trying to do authentication with /etc/passwd and something is not working right for me. Pls help! When i try to authenticate via pop3, I get: -ERR Authentication failed. In the logs, I get: May 21 11:14:07 Info: auth(default): client in: AUTH 1 PLAIN service=pop3 secured lip=127.0.0.1 rip=127.0.0.1 lport=110 rport=32774 resp=AGp1bmUAU0lORzNlcnQ= May 21 11:14:07 Info: auth(default):