Displaying 3 results from an estimated 3 matches for "copymostattrib".
1998 Apr 02
1
attributes now inherited
...al). We've just made the
following changes here, which appear to implement the rules in the
Blue Book (pg. 257)
Enclosed is the output from "diff -c" from /R-0.61.1/src for:
main/arithmetic.c (calls my new routine based on Blue Book rules)
main/attrib.c (I added a new routine: copyMostAttrib)
main/complex.c (calls my new routine based on Blue Book rules)
include/Defn.h (one line addition to define copyMostAttrib)
We hope you will find this useful and install it in the next R release.
...Steve Oncley and Gordon Maclean
National Center for Atmospheric Research
Boulder, Colorado USA...
2006 Jan 30
2
[R] Integer bit size and the modulus operator (PR#8541)
On 1/30/2006 1:39 PM, Ionut Florescu wrote:
> Thank you for the quick reply, I will look into the R packages.
> For crashing R try this:
>
> generator.zp=function(x,p)
> {a=1:(p-1); b=x^a%%p;
> if(all(b[1:(p-2)]!=1)&&(b[p-1]==1)){return(x, " Good ")}
> else{return(x, " No Good, try another integer ")}
> }
Thanks, I can reproduce the crash using
2004 Aug 21
3
Puzzled at lm() and time-series
I tried toy problems and there doesn't seem to be a basic problem
between lm() and ts objects:
X = data.frame(x=c(1,2,7,9), y=c(7,2,3,1))
lm(y ~ x, X)
X <- lapply(X, function(x) ts(x, frequency=12, start=c(1994,7)))
lm(y ~ x, X)
and this works fine - whether you do an lm() before or after making ts
objects, it's okay.
But I have a situation where things aren't okay.