similar to: Rank - Descending order

Displaying 20 results from an estimated 1100 matches similar to: "Rank - Descending order"

2004 Aug 30
3
Multiple lapply get-around
I am faced with a situation wherein I have to use multiple lapply's. The pseudo-code could be approximated to something as below: For each X from i=1 to n For each Y based on j=1 to m For each F from 1 to f Do some calculation based on Fij Store Xi,Yj = Fij End For F End for Y End for X Is there anyway to optimize the processing logic further? I *guess* using the multiple lapply
2003 Oct 20
4
Processing logic for Huge Data set
Hello All, I am new to R. I am trying to process this huge data set of matrix containing four columns, say x1, x2, x3, x4 and n number of rows. I want to aggregate the matrix by x1 and perform statistic based on columns x2, x3, x4. I tried aggregate function but it gave me memory allocation error (which I am not surprised), so I ended up performing a for loop based on x1 and
2004 Jun 09
1
Multiple regression
Hi, I am trying to do multiple regression on a set of data using backward stepwise regression....however backward stepwise regression is critised for overfitting data. To actually observe the bias and to come up with a better method to use..Could you all stats experts kindly give me pointers to any alternative procedure (or references) to use over backward stepwise regression from your
2004 Nov 19
2
Performing regression using R & C
Dear All, Is it possible to perform OLS using C code? I am trying to optimize a n-period "moving window" OLS on a huge dataset hence was wondering if such a thing is possible. Ideally the solution that I am looking for would involve a C-code accepting two float arrays and returning back computed parameters such as t-stat, coefficient etc. I have glanced thru the FAQ's and tried
2004 Jun 14
2
CVnn2 + nnet question
Hi, I am trying to determine the number of units in the hidden layer and the decay rate using the CVnn2 script found in MASS directory (reference: pg 348,MASS-4). The model that I am using is in the form of Y ~ X1 + X2 + X3... + X11 and the underlying data is time-series in nature. I found the MASS and nnet package extremely useful (many thanks to the contributors). However I am getting
2003 Dec 16
1
Calling C function in R
Hi All, I am trying to write a c function to optimize loop processing. Having read the R extension and trying out a few samples I was pretty comfortable with the basics. However, I am wondering if there is anyway to call tseries functions like adf.test or po.test from within c function. Any pointers/ code sample would be greatly appreciated. Thank you. Manoj
2004 Aug 27
1
Keyboard input into functions
?readline HTH -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Neil Leonard Sent: Friday, August 27, 2004 2:04 PM To: r-help at stat.math.ethz.ch Subject: [R] Keyboard input into functions Hi, Does anybody know if it is possible to have keyboard input into functions? Kind of like 'scanf()' in C. I want to
2011 Jul 11
8
6.0 text-mode installer broken?
(I'm doing tests in a VirtualBox instance, so take this with a grain of salt.) If you give the VM only 512 MB of RAM, the text-mode installer kicks in. It does not prompt you to configure anything related to the network or hostname. The system boots up without a network interface configured. Also, it won't let you choose the install mode, I guess it defaults to Minimal (which is fine
2006 Apr 16
3
variable variables?
Hi everyone, Does Ruby support variable variables like PHP (http://www.php.net/manual/en/language.variables.variable.php)? Or do I have to use eval, like some_hash.each_pair{|key, pair| eval "#{key} = #{value}" } Or is there some other way? I''m actually trying to figure this out in order to use ez_where to create its conditions from a hash, so if this isn''t even
2007 Jul 24
4
GemPlugin or Mongrel::HttpHandler subclass
Hey all I am working with a technology standard (specific to the commercial print industry) by which each element within the workflow has bi- directional HTTP messaging. As each side needs a http server, I thought I could either: a) use a gem plugin to modify the behavior of mongrel b) subclass Mongrel::HttpHandler In short, its xml messaging between two points; each with a HTTP client
2017 May 03
2
clang assembler keeps .Linfo_string symbols?
That was probably my fault - not sure of the niceties of the list. Also not sure I understand why the integrated assembler behaves differently. I guess gold is never used with object files produced this way? Regards Michael > Tim Northover <t.p.northover at gmail.com> writes: > >> On 3 May 2017 at 08:01, Rafael Avila de Espindola via llvm-dev >> <llvm-dev at
2004 Dec 01
2
rank in descending order?
Hi, Is there any simple solution to get ranks in descending order? Example, a <- c(10, 98, 98, 98, 99, 100) r <- rank(a, ties.method="average") produces 1 3 3 3 5 6 I would want this instead: 6 5 3 3 3 1 Note that reversing r doesn't work but in small examples. Thanks, -Jose -- jquesada at andrew.cmu.edu Research associate http://lsa.colorado.edu/~quesadaj Dept. of
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not recognized as an internal or external command, operable program or batch file. If it means anything I am running instant rails. I can invoke irb straight forward. TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Sep 08
3
Can I make spss.get reencode from Windows-1252?
Hi all. I have an SPSS file that I'm loading into R with the Hmisc spss.get function. The trouble is that the SPSS file uses the Windows-1252 character set (which I think is the default for SPSS on Windows) instead of plain-ol' Latin-1, and since spss.get doesn't allow me to pass the "reencode" option to read.spss, any characters in Windows-1252 that are not a part of Latin-1
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still confused. Please point me in the right direction. Here''s the question: I have a rails3 site (www.mysite.com). I want to have some pages use ssl, and some not. It appears the require_ssl approach is pre-Rails3 and there are other alternatives. Most of the posts I read talk about using a diff domain for ssl
2013 Feb 10
2
[LLVMdev] llvm-installation
hello sir, in llvm installation ./configure command worked properly but while giving make -j 4 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory
2000 Nov 08
1
vorbis module: Makefile cleaning
should tone barkmel and psytune be in vorbis or vorbis-tools? and if you're going to leave them around, perhaps put in the compilation rules as something like: --- vorbis/lib/Makefile.am EXTRA_PROGRAMS = psytune barkmel tone CLEANFILES = psytune barkmel tone psytune_SOURCES = psytune.c psytune_LDADD = .libs/libvorbis.a barkmel_SOURCES = barkmel.c tone_SOURCES = tone.c --- rather than just
2008 Apr 21
1
Compile libtheora 1.0beta3 with VS2005
Hi all, I tried to compile the theora source with VS2005. But it asked for the ogg library. error message is as follow. **************************************************************************** Error 1 fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory c:\Documents and Settings\Manoj\Desktop\libtheora-1.0beta3\include\theora\codec.h 64 Error
2009 May 04
8
CentOS DomU on Opensolaris Dom0 - virt-install fails with error in virDomainCreateLinux()
Hi, I am trying to install CentOS on an Opensolaris Dom0. virt-install fails with an error in virDomainCreateLinux(). Is this a known issue? Am I missing some step? manoj@mowgli:~$ uname -a SunOS mowgli 5.11 snv_101b i86pc i386 i86xpv Solaris manoj@mowgli:~$ pfexec virt-install What is the name of your virtual machine? centos How much RAM should be allocated (in megabytes)? 512 What would
1999 Aug 02
2
HTML Output from R
Task: To generate HTML output from R Details: I am trying to serve up HTML output from R. That is analyses or table of data from R saved as HTML output with formatted tables etc. This file is then called in a CGI script to output to user browser. The CGI script inspired by Mark J. Ray reads the HTML output, formats the header and footer and any graphic output if necessary. My question is: Has