search for: term

Displaying 20 results from an estimated 23942 matches for "term".

Did you mean: terms
2001 Jun 06
1
ppr, number of terms, and data ordering
...ion is: is there a recommended way to sort the data before running ppr? In the meantime, I'll try sorting by my two continuous RHS variables to see if it makes a difference -- not a definitive answer but it may be suggestive. My second question is: is my method for deciding on the number of terms in the regression okay? What I am doing is first running ppr with a large maximum number of terms, then finding the number of terms that minimizes the goodness-of-fit statistic. Looking at the cpus example in the section of MASS that deals with ppr (pp. 293-294), it is unclear why eight terms we...
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6675)
The bug exists on R-1.9.0-alpha compiled the 10/3. Termplot has a problem if either the model only contains a single term or if asked to plot a single term. In addition there are problems with the option se = TRUE. Analysis: termplot starts with terms <- if (is.null(terms)) predict(model, type = "terms", se = se) else predict(mo...
2006 May 23
5
AR Caching and Reflection
When I do this: term = Term.find(1, :include => :definition) term.definition.term Two SQL queries are fired, why? -- Posted via http://www.ruby-forum.com/.
2006 Oct 05
4
search results autocompletion
Dear list, I ''m using a text input field with autocompletion . The suggestions come from a ferret index which is created by getting all the terms belonging to other indices. Here is the code: class Suggestion attr_accessor :term def self.index(create) [Person, Project, Orgunit].each{|kl| terms = self.all_terms(kl) terms.each{|term| suggestion = Suggestion.new suggestion.term = term SUGGESTION_...
2004 Mar 31
6
Can't compile asterisk.
...pile errors message is follows. Someone cleared this problem? Please, help! Regards. ---------------------------------------------------------------------------------- gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config. o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o call erid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast _expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum .o srv.o dns.o aescrypt.o aestab.o aeskey.o -ldl -lpthread -lncurses -lm -lresol v editline/libedit.a db1-ast/libd...
2010 Aug 03
5
grep with search terms defined by a variable
Hi, I have a good grasp of grep() and gsub() for finding and extracting character strings. However, I cannot figure out how to use a search term that is stored in a variable when the search string is more complex. #Say I have a string, and want to know whether the last name "Jannings" is in the string. This is done by names=c("Emil Jannings") grep("Emil",names) #Yet, I need to store the search terms in a var...
2009 Feb 24
1
odfWeave problem "Error in xmlEventParse"
.../Bitmaps/ inflating: layout-cache inflating: content.xml inflating: styles.xml extracting: meta.xml inflating: Thumbnails/thumbnail.png inflating: settings.xml inflating: META-INF/manifest.xml Sweaving content.Rnw Writing to file content_1.xml Processing code chunks ... 1 : term verbatim(label=Init) 2 : term xml(label=IPTransSummary_SL) 3 : term xml(label=IPTransSummary_SP) 4 : term xml(label=IPTransSummary_SL_CY) 5 : term xml(label=IPTransSummary_SP_CY) 6 : term xml(label=IPTransSummary_SP_CY_SE) 7 : term xml(label=IPTransSummary_SL_IPL) 8 : te...
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6679)
On Thu, 18 Mar 2004 k.hansen@biostat.ku.dk wrote: > The bug exists on R-1.9.0-alpha compiled the 10/3. > > Termplot has a problem if either the model only contains a single term > or if asked to plot a single term. In addition there are problems with > the option se = TRUE. I can't reproduce this in either R-devel or 1.8.1, and termplot hasn't changed since January. I do example(termplot) ter...
2018 Mar 08
4
Fwd: Re: [EXTERNAL] Re: backquotes and term.labels
Ben, Looking at your notes, it appears that your solution is to write your own terms() function for lme.? It is easy to verify that the "varnames.fixed" attribute is not returned by the ususal terms function. Then I also need to write my own terms function for the survival and coxme pacakges? Because of the need to treat strata() terms in a special way I manipulate the...
2018 Mar 05
2
backquotes and term.labels
...iff(Surv(time, status) ~ `in st`, data=lung2) Error in `[.data.frame`(m, ll) : undefined columns selected In the body of the code the program want to send all of the right-hand side variables forward to the strata() function.? The code looks more or less like this, where m is the model frame ? Terms <- terms(m) ? index <- attr(Terms, "term.labels") ? if (length(index) ==0)? X <- rep(1L, n)? # no coariates ? else X <- strata(m[index]) For the variable with a space in the name the term.label is "`in st`", and the subscript fails. Is this intended behaviour...
2012 Aug 31
2
[PATCH] Add missing options to flac man page.
...eated as raw sampl .TP \fB--no-qlp-coeff-precision-search\fR .TP +\fB--no-replay-gain\fR +.TP \fB--no-residual-gnuplot\fR .TP \fB--no-residual-text\fR diff --git a/man/flac.sgml b/man/flac.sgml index 3b96644..587e377 100644 --- a/man/flac.sgml +++ b/man/flac.sgml @@ -698,11 +698,13 @@ <term><option>--no-preserve-modtime</option></term> <term><option>--no-keep-foreign-metadata</option></term> <term><option>--no-exhaustive-model-search</option></term> + <term><option>--no-force</option></...
2018 Mar 07
1
backquotes and term.labels
Thanks to Bill Dunlap for the clarification. On follow-up it turns out that this will be an issue for many if not most of the routines in the survival package: a lot of them look at the terms structure and make use of the dimnames of attr(terms, 'factors'), which also keeps the unneeded backquotes. Others use the term.labels attribute. To dodge this I will need to create a fixterms() routine which I call at the top of every single routine in the library. Is there a chance...
2018 Mar 08
1
Fwd: Re: [EXTERNAL] Re: backquotes and term.labels
>>>>> Ben Bolker <bbolker at gmail.com> >>>>> on Thu, 8 Mar 2018 09:42:40 -0500 writes: > Meant to respond to this but forgot. > I didn't write a new terms() function -- I added an attribute to the > terms() (a vector of the names > of the constructed model matrix), thus preserving the information at > the point when it was available. > I do agree that it would be preferable to have an upstream fix ... did anybody ever p...
2010 Jan 16
1
PHP XapianTermIterator/XapianPositionIterator usage
Hello again, /thanks to Peter for previous response. I've been digging around trying to find sample usage of XapianTermIterator/XapianPositionIterator in PHP. The idea is to code up a test case in PHP to perform snippet extraction (with a possible view to coding a pecl extension in C). I found a C++ sample, but that wasn't much help. I must be dense this morning though, since I can't get my head around h...
2008 Mar 30
1
Second & subsequent calls to function fails. Please help debug.
Dear R-helpers, I'm running Sweave() on a file. First run: > Sweave('20080331.Rnw') Writing to file 20080331.tex Processing code chunks ... 1 : term hide (label=setup) 2 : echo term verbatim (label=oatvar) 3 : echo term verbatim (label=oatvar1) 4 : echo term verbatim (label=oat2wt) 5 : echo term verbatim (label=oat2wt) 6 : echo term verbatim (label=lm) 7 : echo term verbatim (label=diag) 8 : echo term verbatim (label=tukey) 9 :...
2017 Mar 10
2
named arguments in formula and terms
Hi, we came across the following unexpected (for us) behavior in terms.formula: When determining whether a term is duplicated, only the order of the arguments in function calls seems to be checked but not their names. Thus the terms f(x, a = z) and f(x, b = z) are deemed to be duplicated and one of the terms is thus dropped. R> attr(terms(y ~ f(x, a = z) + f(x...
2015 Jun 15
2
Different behavior of model.matrix between R 3.2 and R3.1.1
Terry - your example didn't demonstrate the problem because the variable that interacted with strata (zed) was not a factor variable. But I had stated the problem incorrectly. It's not that there are too many strata terms; there are too many non-strata terms when the variable interacting with the stratification factor is a factor variable. Here is a simple example, where I have attached no packages other than the basic startup packages. strat <- function(x) x d <- expand.grid(a=c('a1','a2'...
2015 Jun 15
2
Different behavior of model.matrix between R 3.2 and R3.1.1
Terry - your example didn't demonstrate the problem because the variable that interacted with strata (zed) was not a factor variable. But I had stated the problem incorrectly. It's not that there are too many strata terms; there are too many non-strata terms when the variable interacting with the stratification factor is a factor variable. Here is a simple example, where I have attached no packages other than the basic startup packages. strat <- function(x) x d <- expand.grid(a=c('a1','a2'...
2004 Dec 13
3
Advice on parsing formulae
Dear list I would like to be able to group terms in a formula using a function that I will call tvar(), eg. the formula Y ~ 1 + tvar(x:A) + tvar(z) + u + tvar(B) + tvar(poly(v,3)) where x,u and v are numeric and A and B are factors - binary, say. As output, I want the model.matrix as if tvar had not been there at all. In addition, I would lik...
2005 Jul 08
4
Sweave resource leak: leftover temp files (PR#7998)
...them at the end. For example: > list.files(tempdir()) character(0) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > Sweave(testfile, out="junk.tex") Writing to file junk.tex Processing code chunks ... 1 : print term verbatim 2 : term hide 3 : echo print term verbatim 4 : term verbatim 5 : echo term verbatim 6 : echo term verbatim eps pdf 7 : echo term verbatim eps pdf You can now run LaTeX on 'junk.tex' > list.files(tempdir()) [1] "Rf10523" "Rf13872" "Rf17129...