search for: diffid

Displaying 9 results from an estimated 9 matches for "diffid".

Did you mean: diffie
2010 May 20
1
esthetics --- extending the lm command to fixed effects?
dear R wizards: not important. more a curiosity or esthetics question. is there a way to extend the standard lm command, so that it takes a new argument that handles fixed effects? right now, I have (provided to me from an expert---I would have never figured this one out): diffid <- function(h,id) { id <- as.factor(id)[, drop=TRUE] apply(as.matrix(h), 2, function(x) x - tapply(x,id,mean)[id] } which is used as r= lm( diffid(y, firmid) ~ diffid(x, firmid ) ) it works, but it would be much nicer if I could just write r= lm( y ~ x + z, fixed...
2015 Jan 09
1
Question about log file format
...example of a resulting lines looks like: [2015/01/08 14:48:48.124825, 2, pid=19808, effective(51002, 100), real(0, 0)]modules/vfs_extd_audit.c:259(audit_unlink..... [2015/01/08 13:43:59.147208, 0, pid=41390, effective(50038, 100), real(0, 0)] rpc_server/srv_pipe.... Because of the splitting in diffident logfiles, one logfile represents one smbd process. In one file, I see different numbers for this field. Can someone tell me please, what the number before pid represents? Thanks Meike PS: I it possible, to disable the line wraping in the log file?
2016 Dec 12
2
why does parent.frame() cycle when called from inside capture.output()?
Hello R devel/help, I ran into this strange behavior: # showstack is supposed to walk through the stack of parent # environments when it is called: showstack = function() { env = environment() for(i in 1:12) { env = do.call(parent.frame, list(), env=env) print(env) } } # a simple chain of functions: g3=function(t) showstack()
2016 Dec 12
2
why does parent.frame() cycle when called from inside capture.output()?
Hello R devel/help, I ran into this strange behavior: # showstack is supposed to walk through the stack of parent # environments when it is called: showstack = function() { env = environment() for(i in 1:12) { env = do.call(parent.frame, list(), env=env) print(env) } } # a simple chain of functions: g3=function(t) showstack()
1999 Nov 10
2
R.bug.report (PR#315)
....... through the origin, otherwise, the first 2 val- ues are taken to be the <<slope and intercept>> [[intercept and slope]]. (since the first parameter is interpreted as the intercept). == The following are suggestions offered with a great deal of (appropriate) diffidence: 5. ?tapply (also perhaps ?lapply, ?sapply, ?apply) I think it would be useful to add `aggregate' to the "See Also:" list. Without V&R I would not have known about aggregate. 6. ?persp d: a value which can be used to vary the strength of the perspect...
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
I used MySQL as a backend before. Now I had to move to PG since Heroku doesn''t have MySQL and forces everyone to use their Heroku-PG database. But PG virsion of Rails works diffidently. I cannot generate a model without PG server running: >> C:\ruby\Heroku\App>rails generate model Products >> >> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord- >> 3.2.13/lib/active_record/connection_adapters/postgresql_ada >> pter.rb:1216:in...
2012 Jun 22
3
converting .doc to html
...tml in no way qualifies as other than amateur crap. So far, with a little googling, I've found the wv package. wvHtml works, but I don't like the output - it insists on <div>, and on &rhquo instead of plain, simple ". mark "what, ask for an opinion in this shy, diffident group?"
2016 Dec 12
0
[RE: why does parent.frame() cycle when called from inside capture.output()?]
...up your invitation to forward your message to the list just because it gives us some valuable data on (1) how long the behavior has been around, and (2) how many other people (don't) understand the behavior, and (3) how we might fix or work around it. I notice some other people also seem to be diffident about posting on R-devel; perhaps I should conclude that bugs like this are below the radar for busy statisticians. FWIW, after playing around a bit with mvbutils::mvb.parent.frame, I now have a working "desubN" (see the attachment on my original message, and this one). I don't re...
2000 Dec 20
7
R Newsletter: 1st Call for Articles
Hi, Kurt Hornik and I will start to publish a quarterly electronic ``R Newsletter'' beginning with January 2001 (if all goes well). The idea is to have a mixture of articles describing 1) new features in R itself 2) contributed add-on packages 3) nice applications 4) more general statistical computing issues related to R 5) or ... OK, now comes my christmas wish to you: If you are