search for: reformul

Displaying 20 results from an estimated 118 matches for "reformul".

Did you mean: reformulo
2012 Oct 12
7
ifelse reformulation
...from x1 to x7 equals to 40 --> 0, else --> 1 I was trying to do something like: count40aux<-ifelse(test[,2:8]==40,0,1) count40aux It doesn't work as i expected... Can anyone help me please? Regards, Bruno -- View this message in context: http://r.789695.n4.nabble.com/ifelse-reformulation-tp4645981.html Sent from the R help mailing list archive at Nabble.com.
2019 Apr 04
2
Bug in the "reformulate" function in stats package
...; > which shows that variables with spaces in them (or otherwise > > 'non-syntactic', i.e. not satisfying the constraints of legal R symbols) > > can be handled by protecting them with backticks (``) > > > ## using non-syntactic names: > > reformulate(c("`P/E`", "`% Growth`"), response = as.name("+-")) > > > It seems to me there could be room for a *documentation* patch (stating > > explicitly that if termlabels has length > 1 its elements are > > concatenated with "+&quo...
2019 Mar 29
2
Bug in the "reformulate" function in stats package
...suspect that the issue is addressed (obliquely) in the examples, which shows that variables with spaces in them (or otherwise 'non-syntactic', i.e. not satisfying the constraints of legal R symbols) can be handled by protecting them with backticks (``) ## using non-syntactic names: reformulate(c("`P/E`", "`% Growth`"), response = as.name("+-")) It seems to me there could be room for a *documentation* patch (stating explicitly that if termlabels has length > 1 its elements are concatenated with "+", and explicitly stating that non-syntactic n...
2019 Apr 05
0
Bug in the "reformulate" function in stats package
...ing opened at delete.response.Rd:78:63) In addition: Warning message: In parse_Rd("/u/maechler/R/D/r-devel/R/src/library/stats/man/delete.response.Rd", : newline within quoted string at delete.response.Rd:74 and even I needed more than a minute to find out that the culprit was that reformulate(sprintf("`%s`", x)) is not ok in *.Rd and must be reformulate(sprintf("`\%s`", x)) --------- > (I think .txt files work OK as attachments to the list?) yes, typically -- what really counts is if your e-mail program marks them with MIME-type 'text/plain'...
2019 Apr 04
0
Bug in the "reformulate" function in stats package
...bliquely) in the examples, > which shows that variables with spaces in them (or otherwise > 'non-syntactic', i.e. not satisfying the constraints of legal R symbols) > can be handled by protecting them with backticks (``) > ## using non-syntactic names: > reformulate(c("`P/E`", "`% Growth`"), response = as.name("+-")) > It seems to me there could be room for a *documentation* patch (stating > explicitly that if termlabels has length > 1 its elements are > concatenated with "+", and explicitly s...
2019 Apr 18
3
Bug in the "reformulate" function in stats package
...> In addition: Warning message: > In parse_Rd("/u/maechler/R/D/r-devel/R/src/library/stats/man/delete.response.Rd", : > newline within quoted string at delete.response.Rd:74 > > and even I needed more than a minute to find out that the > culprit was that > > reformulate(sprintf("`%s`", x)) > > is not ok in *.Rd and must be > > reformulate(sprintf("`\%s`", x)) > > --------- > > > (I think .txt files work OK as attachments to the list?) > > yes, typically -- what really counts is if your e-mail program &...
2019 Apr 18
0
Bug in the "reformulate" function in stats package
...>> parse_Rd("/u/maechler/R/D/r-devel/R/src/library/stats/man/delete.response.Rd",? >> : >> ?? newline within quoted string at delete.response.Rd:74 >> >> and even I needed more than a minute to find out that the >> culprit was that >> >> ?? reformulate(sprintf("`%s`", x)) >> >> is not ok in *.Rd? and must be >> >> ?? reformulate(sprintf("`\%s`", x)) >> >> --------- >> >> ?? > (I think .txt files work OK as attachments to the list?) >> >> yes, typically -- what r...
2011 Aug 19
3
ATSP to TSP reformulation
Greetings, I am having trouble getting the function reformulate_ATSP_as_TSP to work for me. I have provided a simple example of some of the code I've been using. In particular, I'm not sure why I'm getting the error "Error in dimnames(tsp) <- list(lab, lab) : length of 'dimnames' [1] not equal to array extent" since I...
2019 Mar 29
2
Bug in the "reformulate" function in stats package
...direction to developers. I don't mind whichever is preferred here. Best, Saren On 29.03.19 09:29, Martin Maechler wrote: >>>>>> Saren Tasciyan >>>>>> on Thu, 28 Mar 2019 17:02:10 +0100 writes: > > Hi, > > I have found a bug in reformulate function and have a solution for it. I > > was wondering, where I can submit it? > > > Best, > > Saren > > > Well, you could have given a small reproducible example > depicting the bug, notably when posting here: > Just a prose text with no R co...
2019 Apr 18
1
Bug in the "reformulate" function in stats package
...to me that they are doing a great job. I don't mind also someone rejecting this tiny fix I have found, which works for me now. I can only thank for their time spent considering it. Actually, I had in mind a more complex but cleaner solution with recursive functions to implement any kind of reformulation (not only with "+"). But I simple lack the big picture on R expressions, I need to read more. Maybe I will come back with that in the future. Cheers to all, Saren On 18.04.19 17:51, Ben Bolker wrote: > I appreciate your enthusiasm and persistence for this issue, but I >...
2019 Mar 28
2
Bug in the "reformulate" function in stats package
Hi, I have found a bug in reformulate function and have a solution for it. I was wondering, where I can submit it? Best, Saren -- Saren Tasciyan /PhD Student / Sixt Group/ Institute of Science and Technology Austria Am Campus 1 3400 Klosterneuburg, Austria
2019 Mar 29
0
Bug in the "reformulate" function in stats package
>>>>> Saren Tasciyan >>>>> on Thu, 28 Mar 2019 17:02:10 +0100 writes: > Hi, > I have found a bug in reformulate function and have a solution for it. I > was wondering, where I can submit it? > Best, > Saren Well, you could have given a small reproducible example depicting the bug, notably when posting here: Just a prose text with no R code or other technical content is almost alw...
2019 Mar 29
0
Bug in the "reformulate" function in stats package
...er is preferred here. > > Best, > > Saren > > > On 29.03.19 09:29, Martin Maechler wrote: >>>>>>> Saren Tasciyan >>>>>>> ???? on Thu, 28 Mar 2019 17:02:10 +0100 writes: >> ???? > Hi, >> ???? > I have found a bug in reformulate function and have a solution for it. I >> ???? > was wondering, where I can submit it? >> >> ???? > Best, >> ???? > Saren >> >> >> Well, you could have given a small reproducible example >> depicting the bug, notably when posting here: &gt...
2007 Mar 02
3
Reformulated matrices dimensions limitation problem
First I wanted to thank both Marc Schwartz Greg Snow and for their reply. Then I needed to add a level of complexity to the problem. I would be able to create the biggest possible matrix. In other way does it exist a method to ask smthing like the following : max number of rows for a matrix if column=x? Thank you ------------------------------------------------------ Passa a Infostrada.
2016 Aug 24
3
Request suggestions about how to remove redundencies caused by SCEV expansion fundementally
...s smart as" SCEV in most cases. > > — Sanjoy SCEV is super useful as an analysis without SCEVExpander. The only real issue with SCEV itself is invalidating the expressions. I’ve always thought SCEVExpander is very dangerous to use directly. Ideally the SCEV expression should always be reformulated based on existing IR values before expanding. It would be nice if that was provided as a layer of functionality on top of SCEVExpander. -Andy
2019 Oct 04
0
Error in [.terms
...e code in models.R <<>>= `[.terms` <- function (termobj, i) { ??? resp <- if (attr(termobj, "response")) termobj[[2L]] ??? newformula <- attr(termobj, "term.labels")[i] ??? if (length(newformula) == 0L) newformula <- "1" ??? newformula <- reformulate(newformula, resp, attr(termobj, "intercept"), environment(termobj)) ??? result <- terms(newformula, specials = names(attr(termobj, "specials"))) ??? # Edit the optional attributes } @ The use of reformulate() is a nice trick.? However, the index reported in the specia...
2009 Nov 18
2
Website
Hey! Our flac's official website is looking so old, isn't it? Let's reformulate it. I wanna do this, anyone else? Regards, Lucas Correia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20091118/cabc7c52/attachment.htm
2009 Mar 15
2
Sun ONE and Samba
Has anyone had success using Sun ONE as an LDAP (authentication) back-end to Samba (preferably 4.0, but 3.3 would be fine)? I've found people who've tried and given up. Sun itself hasn't provided answers, but I haven't given up on them; I'll keep reformulating my questions, and asking again. One speculation on my part is that, if I can just figure out where in Sun ONE the LANMAN passwords are kept, I could write my own PAM and get somewhere.
2004 Nov 23
2
IFELSE across large array?
Dear all, As our previous email did not get any response, we try again with a reformulated question! We are trying to do something which needs an efficient loop over a huge array, possibly functions such as apply and related (tapply, lapply...?), but can't really understand syntax and examples in practice...i.e. cant' make it work. to be more specific: we are trying to ap...
2016 Mar 31
1
LoopStrengthReduce.cpp
...the > work for hardware loop generation. I have thought about it, but I > won't be able to do anything in the short term. > > -Krzysztof > I think a first and useful step would be to let targets optionally have the loop induction variable which controls the back-branching be reformulated as a decrement towards zero with a -1 step. Should this be an extension of LSR, or should it be a simple beginning of a HW-loop pass running after it? /Jonas