similar to: how to edit my R codes into a efficient way

Displaying 20 results from an estimated 400 matches similar to: "how to edit my R codes into a efficient way"

2006 Jul 01
4
Start Model for POLYCLASS
Dear all, I have a question on how to set up the starting model in POLYCLASS and make sure the terms in the starting model retained in the final POLYCLASS model. In the function POLYMARS, this can be done using the STARTMODEL option. See below for example, I started with model y= b0 + b1*X1 + b2*X2 + b3*X4 + b4*X5 + b5*X2*X5 + e > m00 <- matrix(c( 1, NA, 0, NA, 1, 2,
2010 Jun 26
2
Recoding dates to session id in a longitudinal dataset
Hi, I'm fairly new to R but I have a large dataset (300000 obs) containing patient material. Some patients came 2-9 times during the three year observation period. The patients are identified by a unique idnr, the sessions can be distinguished using the session date. How can I recode the date of the session to a session id (1-9). This would be necessary to obtain information and do some
2013 Dec 17
3
In-string variable/symbol substitution: What formats/syntax is out there?
Hi, I'm try to collect a list of methods/packages available in R for doing in-string variable/symbol substitution, e.g. someFcn("pi=${pi}"), anotherFcn("pi=@pi@") and so on becomes "pi=3.141593". I am aware of the following: ** gsubfn() in the 'gsubfn' package, e.g. > gsubfn( , , "pi = $pi, 2pi = `2*pi`") [1] "pi = 3.14159265358979,
2009 Apr 21
3
Deleting rows or cols that do not meet cut off
How can I delete both rows and columns that do not meet a particular cut off value. Example: > d <- rbind(c(0, 1, 6, 4), + c(2, 5, 7, 5), + c(3, 6, 1, 6), + c(4, 4, 4, 4)) > f <- as.matrix(d) > f [,1] [,2] [,3] [,4] [1,] 0 1 6 4 [2,] 2 5 7 5 [3,] 3 6 1 6 [4,] 4 4 4 4 I would like to delete all
2013 Jun 26
3
[LLVMdev] Proposal: extended MDString syntax
> > > I think that the two alternatives that are obvious are for the MF to contain > the IR, or for the IR to contain the MF. Alternatively, they can live in > parallel and the MF may reference the IR. I am not sure what is the right > approach here, but my gut feeling is that metadata is not necessarily the > right container for MF. Off the cuff I'd think that IR
2011 Sep 19
2
[LLVMdev] LLVM,metadata for namespaces
just off the cuff, have you actually created and used any names in the namespace. I don't know for sure, but it wouldn't surprise me if the namespace doesn't exist independently of any uses. ------------------------------ From: Irina Lipov Sent: 9/19/2011 3:16 AM To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] LLVM,metadata for namespaces Hello, I am wring front end for compiler ,the
2006 Aug 21
0
Assistant Professor Position - Univ. of Central Florida (Orlando, FL)
ASSISTANT PROFESSOR DEPARTMENT OF STATISTICS & ACTUARIAL SCIENCE UNIVERSITY OF CENTRAL FLORIDA The Department of Statistics & Actuarial Science at the University of Central Florida (UCF) invites applications for a tenure-track position at the assistant professor level beginning August 8th, 2007. Qualifications include a Ph.D. in Statistics or related area by date of hire and demonstrated
2015 Jul 29
2
Fedora change that will probably affect RHEL
Chris Murphy wrote: >>> No, I am making the assumption that the vast majority of CentOS installs >>> are racked up in datacenters, VPS hosts, etc. >> Is that true, I wonder? >> For some reason Fedora and CentOS seem reluctant to find out anything >> about their users (or what their users want). > This is confusing. I think it's overwhelmingly,
2011 Oct 12
3
large numbers
Hi, When I import an excel "CSV" file, large numbers such as " 43988014.3" is imported as "43988014", leaving out the decimal ".4". How to import keeping the fraction? Thanks. Chetty -- Professor of Family Medicine Boston University Tel: 617-414-6221, Fax:617-414-3345 emails: chettyvk@gmail.com,vchetty@bu.edu [[alternative HTML version deleted]]
2014 Mar 04
2
[LLVMdev] [cfe-dev] C++11 reverse iterators (was C++11 is here)
On Mar 3, 2014, at 10:29 AM, Chandler Carruth <chandlerc at google.com> wrote: > > On Mon, Mar 3, 2014 at 9:48 AM, Chris Lattner <sabre at nondot.org> wrote: >> In the best case 'get' doesn't really add any meaning, and in the worst case it is actively misleading > > It's getting the range though, just like Function::getArgumentList() returns the
2012 Jul 05
2
[LLVMdev] C++ demangling in LLVM
On Jul 5, 2012, at 1:08 AM, Chandler Carruth <chandlerc at google.com> wrote: > In the same way that the core LLVM libraries have support routines for DWARF, I think that both mangling and demangling should be provided as well. How would LLVM provide support for mangling? And what tools actually need it? I also wonder if we need more from a demangler than just a string. I know linker
2005 May 22
2
Re: Hi, Bryan; was: Re: pronunciation? <snip> -- don't shoot the messenger ...
From: Collins Richey > Sounds pretty religious-based to me. > IBM=bad > HP,Sun, RedHat, SCO=good. > OTOH, from some of your comments, Novell=better. Are you really that shallow? IBM is our partner, not our friend. Sun has its interests too, and has 5 different entities of focus, which vary. Red Hat is a tale of two companies, cut-throat business combined with GPL-analness (like
2012 Jul 05
0
[LLVMdev] C++ demangling in LLVM
On Thu, Jul 5, 2012 at 12:10 AM, <bigcheesegs at gmail.com> wrote: > On Jul 5, 2012, at 1:08 AM, Chandler Carruth <chandlerc at google.com> wrote: > > In the same way that the core LLVM libraries have support routines for > DWARF, I think that both mangling and demangling should be provided as well. > > > How would LLVM provide support for mangling? And what tools
2013 Nov 19
2
[LLVMdev] Debug Info Verifier: should we create a module pass for it?
Hi all, Currently, debug info verifier is part of the IR verifier which is a function pass. One part of the IR verifier that I don't like is it verifies module-level data in doFinalization. If we have two verifier passes in a single module pass manager, doFinalization of the two passes will run on the same module data after all passes. I followed the same model for debug info verifier:
2006 Jul 25
1
Best place for authorization management tool?
Hi all, I''m sitting on a home-brew rule-based authorization system that I''d like to release as open source. Its current interface is either the console or raw SQL though, which makes things pretty unfriendly, so I was wondering just what would be the most idiomatic interface to such a system. I was envisioning a "authorization console" in script/ that might
2002 Aug 20
2
feedback/help request
Hi, First, let me thank you for the excellent documentation and programming work on Syslinux. It has made getting to this point infinitely easier. Unfortunately, I need to request some guidance in troubleshooting a problem I am having using the RedHat installer on their version 7.3, which uses Syslinux as the boot mechanism. A little background: I have an old Micron Powerdigm XsU dual PII
2011 Sep 19
0
[LLVMdev] LLVM,metadata for namespaces
yes.I have in each namespace at least one function.And I call these functions later. What I tried to do is to take module scope iterate all namespaces defined in it and call createNameSpace for each of them. When debugging I see that the namespaces are generated ,but in IR file there is no debug information for namespaces Also I tried to generate debug information for namespaces ,while treating
2016 Apr 25
5
[cfe-dev] [Openmp-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
Speaking from 1st hand experience - The off-the-cuff high level benefits 1) Better interopt of different programming models - For example what if someone wants to mix SE+OMP(4). Having the same runtime on the backend should make this a lot easier. (Maybe this particular example may never happen, but I hope you get what I'm talking about) 2) Less duplication of effort for common things. 3)
2014 Apr 18
3
[LLVMdev] RFC: Binary format for instrumentation based profiling data
On Fri, Apr 18, 2014 at 12:22 PM, Evan Cheng <evan.cheng at apple.com> wrote: > I agree the top priority should always be "getting it right”. But I can’t > agree with this thinking completely. This has to be balanced with > pragmatism. If we completely disregard the practical concerns of commercial > use, it makes LLVM hostile towards an important group of users. Clearly,
2020 Nov 13
4
Musings on the TableGen -emit-dag-isel backend
I wouldn't want to be too hasty about simply removing the relaxation algorithm. The size and speed of the compiler affects all users, but the time to compile the compiler "only" affects us compiler developers. And I speak as a developer who is heavily affected by the time to compile the AMDGPU backend. One off-the-cuff idea (I haven't even looked at the code yet): could we pass