search for: predefin

Displaying 20 results from an estimated 827 matches for "predefin".

Did you mean: predefine
2005 May 23
6
colors and palettes and things...
After trying to find if there was a color picker in the FAQs and the help, I thought I would send a post here. I was overwhelmed with all the wonderful color choices R has predefined (discovered after typing in colors()) but can't figure out what they all (by name) look like. Is there a color picker or some other method to display all those colors next to the name? I think I can put together palettes, but another question I have then regards the building of palettes (a l...
2013 Jul 26
2
[LLVMdev] arch-specific predefines in LLVM's source
...conditionals. >> >> These proposed standardized macros would only be used in LLVM project >> sources; there's no reason to exported them. >> The standardized macros would simplify conditionals and make their >> use >> less error-prone. >> >> What predefines do other architectures use? > > Would all uses of these macros be restricted to the PPC backend, or > would they appear elsewhere as well? One place I see these predefines outside of the PPC backend is lib/Support/Host.cpp Fang > -Hal > >> >> What would be a suitabl...
2013 Jul 27
0
[LLVMdev] arch-specific predefines in LLVM's source
...sed standardized macros would only be used in LLVM > >> project > >> sources; there's no reason to exported them. > >> The standardized macros would simplify conditionals and make their > >> use > >> less error-prone. > >> > >> What predefines do other architectures use? > > > > Would all uses of these macros be restricted to the PPC backend, or > > would they appear elsewhere as well? > > One place I see these predefines outside of the PPC backend is > lib/Support/Host.cpp > > Fang > > > -H...
2013 Jul 25
2
[LLVMdev] arch-specific predefines in LLVM's source
...I've even seen __POWERPC__, _POWER, _ARCH_PPC being tested in conditionals. These proposed standardized macros would only be used in LLVM project sources; there's no reason to exported them. The standardized macros would simplify conditionals and make their use less error-prone. What predefines do other architectures use? What would be a suitable place for these proposed macros? include/llvm/Support/Compiler.h? include/llvm/Support/Arch.h (new)? Fang -- David Fang http://www.csl.cornell.edu/~fang/
2013 Jul 27
1
[LLVMdev] arch-specific predefines in LLVM's source
...os would only be used in LLVM >>>> project >>>> sources; there's no reason to exported them. >>>> The standardized macros would simplify conditionals and make their >>>> use >>>> less error-prone. >>>> >>>> What predefines do other architectures use? >>> >>> Would all uses of these macros be restricted to the PPC backend, or >>> would they appear elsewhere as well? >> >> One place I see these predefines outside of the PPC backend is >> lib/Support/Host.cpp >> >&...
2013 Jul 26
0
[LLVMdev] arch-specific predefines in LLVM's source
..._ARCH_PPC being tested in > conditionals. > > These proposed standardized macros would only be used in LLVM project > sources; there's no reason to exported them. > The standardized macros would simplify conditionals and make their > use > less error-prone. > > What predefines do other architectures use? Would all uses of these macros be restricted to the PPC backend, or would they appear elsewhere as well? -Hal > > What would be a suitable place for these proposed macros? > include/llvm/Support/Compiler.h? > include/llvm/Support/Arch.h (new)? > &g...
2009 Mar 03
1
Predefined viables
Hi all, Does anyone knows how to add a new variable to the predefined variables sent by asterisk to AGI script? regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090304/80ba7bd7/attachment.htm
2012 Dec 19
0
Fitting a predefined classification tree
Hi, I've searched R-help and haven't found an answer. I have a set of data from which I can create a classification tree using rpart. However, what I'd like to do is predefine the blank structure of the binary tree (i.e., which nodes to include) and then use a package like rpart to fit for the optimal splitting criteria at each of the predefined nodes. Does such a package exist? Thanks, Lee
2009 Dec 11
1
Array of legend text with math symbols from predefined variables
Hello, I am trying to include legend text with math symbols from a predefined character variable that is read in from a file. ? If there is only one line of text in the legend, the following, although cumbersome, works for me: ? > LegendText = " 'U' [infinity], '=10 m/s' "?? # (read in from a file) ??> LegendName = paste("bquote(paste(...
2011 May 05
1
[caret package] [trainControl] supplying predefined partitions to train with cross validation
...OCV or a boot type re-sampling method along with the "index" argument of the trainControl function, one is able to supply a training partition to the train function. However, I would like to apply a 10-fold cross validation to validate the models and I did not find any way to supply some predefined partition (created with createFolds) in this setting. Any help ? Thank you and great package by the way ! Fabon Dzogang.
2009 Jul 17
1
quenstion about asterisk
Hello fellows, I want to know if there?s a way to capture the numbers typed for a user; without waiting that the IVR finish or without predefine the numbers of digits. I?m going to explain you better, for example I want to know that a user typed 12345#, but I want that the user can type over IVR and don't predefine the numbers of digits XXXXX because the user should have the quantity the digits predefine. Thanks Elvis Jorge Cell: 809...
2006 Jul 05
2
[Newbie] The pickaxe book and benchmark
...e strikes" in the Benchmark section. I have this code: #!/usr/bin/ruby -w require ''benchmark'' include Benchmark LOOP_COUNT = 1_000_000 bm(12) do |test| test.report("normal:") do LOOP_COUNT.times do |x| y = x +1 end end test.report("predefine:") do x = y = 0 LOOP_COUNT.times do |x| y = x + 1 end end end The "predefine" test is more fast than the "normal". Why? The only difference that I see is x = y = 0 but I don''t understand thanks! Rafa...
2010 May 05
5
Dynamic clustering?
Are there R packages that allow for dynamic clustering, i.e. where the number of clusters are not predefined? I have a list of numbers that falls in either 2 or just 1 cluster. Here an example of one that should be clustered into two clusters: two <- c(1,2,3,2,3,1,2,3,400,300,400) and here one that only contains one cluster and would therefore not need to be clustered at all. one <- c(400,402,4...
2010 Apr 19
1
Writing methods for existing generic function
Dear All, Suppose I want to write a method for the generic function confint(): > args(confint) function (object, parm, level = 0.95, ...) So, it looks like the second and third argument have been predefined in the generic function. Suppose one or several of the predefined arguments don't apply or fit (in some sense) with the design of the rest of the package. What should one do? I see several options: 1) Write a new generic function. 2) Rewrite the package (if possible) so that the arguments of...
2013 Nov 14
2
Autocreation of sieve filters
Hello, Is there any way to create a predefined sieve filters during mailbox autocreation? What I want is that my user's mailboxes are automatically created (using mailbox option in namespaces) but I want them to have a predefined sieve script. Using a postlogin script could be an idea, but I'd prefer an automatic one, because...
2010 Jul 26
4
Fwd: Questions about templates for R
Hi I am looking for R templates to introduce the R to my students at Seton hall university. The templates are predefined scripts in R that will retain its primary intent when individually customized with their own variable data or text. In this case, my students at Seton Hall University. For example, PSPad editor provides new users predefined templates before writing their own scripts. Please let me know if it mak...
2009 Apr 19
1
dynlm question: How to predefine formula for call to dynlm(formula) call
..."ts" data: Start = 1959(2), End = 1990(4) <snip> Works OK with a Lag with this type of call R> form <- gas~L(gas,1) R> dynlm(form) Error in merge.zoo(gas, L(gas, 1), retclass = "list", all = FALSE) : could not find function "L" Does not work using a predefined formula with a Lag (This type of call works using dyn$lm from library(dyn)) How do I make the call (or how do I setup form) so that this works in dynlm? Thanks for any help, Ron To be specific the following is an example of what I was attempting to do: m1 <- gas ~ L(gas,1) m2 <...
2012 Feb 16
1
how to get r-squared for a predefined curve or function with "other" data points
...variable vlc (the result of the nls function) for every sample. just fitting one curve to all the data points is not good enough. an extensive google search over several days hasn't gotten me anywhere, but maybe someone here can help me? is there an efficient way to calculate r squared for a predefined function with "unrelated" data points? (unrelated as in "not used directly for fitting") thanks in advance markus -- View this message in context: http://r.789695.n4.nabble.com/how-to-get-r-squared-for-a-predefined-curve-or-function-with-other-data-points-tp4394609p4394609....
2005 Apr 07
2
vectorized approach to cumulative sampling
Hi All, I need to sample a vector ("old"), with replacement, up to the point where my vector of samples ("new") sums to a predefined value ("target"), shortening the last sample if necessary so that the total sum ("newsum") of the samples matches the predefined value. While I can easily do this with a "while" loop (see below for example code), because the length of both "old" and &qu...
2012 Oct 03
1
[LLVMdev] Clang predefined macros with -fPIC and -fPIE
Hello everyone, Clang seems to only define __PIE__ when both –fPIC and –fPIE is used in the command line whereas gcc defines both __PIC__ and __PIE__. Is this intended or a bug in clang? Thanks. Command line: clang -fPIC -fPIE -dM -E - < /dev/null | grep __PI -- Tareq