Displaying 20 results from an estimated 700 matches similar to: "By= levels with the Hmisc summarize function."
2009 Apr 22
1
How to make a time series object from a data frame containing dates.
Hi, All
I have a data frame like this.
> names(x)
[1] "month" "alloc_gb"
One of the columns contains the dates I want to use:
> data.class(x$month)
[1] "yearmon"
I would like to make a time series object out of this. However the ts
function seems to require me to spell out the starting date. Is there a
way to tell ts to use the date column I already
2009 Apr 15
3
How to apply a function to all combinations of the values of 2 or more variables?
Hi, All
Forgive me if this is a stupid newbie question. I'm having no luck
googling an answer to this, probably because I don't know the right R
terminology to frame my question. I want to know how to run an R
function on each combination of the values of 2 or more variables. In
SAS-speak this is multiple "BY variables" or "CLASS variables".
In R I've figured
2009 Jun 26
1
How to create separate plots for all combinations of some factors
Hi, All
I have a data frame as follows:
> data.class(tapes)
[1] "data.frame"
> names(tapes)
[1] "date" "loc" "class" "drp" "data" "scratch"
"reclaim" "total"
Date is a date; loc, class and drp are factors; the rest are numerics.
I want to generate separate plots by date for the
2008 Aug 20
0
How to concatenate values from a time series and a forecast
Hi, All
I have a time series object:
o1ts
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2005 56 58 67 68 69 71 78 78
2006 84 83 86 97 103 123 120 134 131 127 135 137
2007 142 138 141 151 155 173 181 188 195 191 262 273
2008 283 295 311 327 334 340 361
And a forecast derived from it:
> o1fa
Point Forecast Lo 95 Hi 95
Aug 2009 374
2012 Jun 20
0
formula method with "special" characters
Dear List,
I'm trying to create a formula method, allowing for a "special"
character in the formula (i.e., similar to for example the gam package
with the character "s" in y ~ s(x)). I've checked and it seems this is
done through attr(,"specials"). However, the section of code below (as
an example extracted from the gam package) gives me an error as shown at
2003 Jun 26
1
HELP
I am including my config.log in the hopes that someone can tell me what
is going on with dovecot installing on Mac OSX 10.2.6
Sincerely,
?
Roger Cates, CCNA
Vice President & Chief Technical Officer
Xpower Internet, LLC
Xpowerhosting.com | Xpoweronline.com
P 888.245.7501 | F 270.338.4602
Internet to the power of X.
?
begin 666 dovecot_config.log
2012 May 10
0
Time series and stl in R: Error only univariate series are allowed
I am doing analysis on hourly precipitation on a file that is disorganized.
However, I managed to clean it up and store it in a dataframe (called CA1)
which takes the form as followed:
Station_ID Guage_Type Lat Long Date Time_Zone Time_Frame H0
H1 H2 H3 H4 H5 H6 H7 H8 H9 H10 H11
H12 H13 H14 H15 H16 H17 H18 H19 H20 H21 H22 H23
1
2008 Jul 16
0
[LLVMdev] GEP::getIndexValid() with other iterators
Hi all,
once more with the patch inline for easy review. I did not include the
argpromotion pass here, since it's not the main topic of this post.
Gr.
Matthijs
Index: lib/VMCore/Instructions.cpp
===================================================================
--- lib/VMCore/Instructions.cpp (revision 53672)
+++ lib/VMCore/Instructions.cpp (working copy)
@@ -1068,41 +1068,6 @@
2004 Oct 01
0
rebelotte samba et les accents....je m'en sort pas
Bonjour,
je reviens ? l'attaque avec mes probl?mes d'accents sous samba.
Depuis la mise ? jour de mes serveurs (mandrake 10 samba 3.0.2a), j'ai des probl?mes avec les
fichiers enregistr?s par les utilisateurs.
Mon fichier de conf samba ne comporte pas les lignes suivantes :
dos charset = cp850
display charset = cp850
unix charset = ISO8859-15
d'ailleurs je suis bien embarrass?
2006 Sep 21
1
transforming factor back to numbers
Hi
I generate a new dataframe by doing:
npl.agg <- aggregate(npl$DensPlants, list(year=npl$year, sim=npl$sim),
mean, na.rm=TRUE )
Now I want to plot it by using
coplot(npl.agg$x ~ npl.agg$year | npl.agg$sim, type="l")
but, as npl.agg$year is seen as a factor, the order of the points on the
x-axis (time axis) does not follow the numerical sorting 1...100, but
rather the text
2012 May 08
2
How to deal with a dataframe within a dataframe?
Hello all,
I am doing an aggregation where the aggregating function returns not a
single numeric value but a vector of two elements using return(c(val1,
val2)). I don't know how to access the individual columns of that
vector in the resulting dataframe though. How is this done correctly?
Thanks, robert
> agg <- aggregate(formula=df$value ~ df$quarter + df$tool,
+ FUN=cp.cpk,
2009 Mar 30
3
Calculating First Occurance by a factor
I'm having difficulty finding a solution to my problem that without using a
for loop. For the amount of data I (will) have, the for loop will probably
be too slow. I tried searching around before posting and couldn't find
anything, hopefully it's not embarrassingly easy.
Consider the data.frame, Data, below
Data
Sub Tr IA FixInx FixTime
p1 t1 1 1 200
p1 t1 2
2011 Oct 06
0
[LLVMdev] A potential bug
On Thu, Oct 6, 2011 at 2:12 PM, Zeng Bin <ezengbin at gmail.com> wrote:
> Hi all,
>
> There might be a bug in DeadStoreElimination.cpp. This pass eliminates
> stores backwards aggressively in an end BB. It does not check dependencies
> on stores in an end BB though. For example, in this code snippet:
> ...
> 1. %sum.safe_r47.pre-phi = phi i64* [ %sum.safe_r47.pre,
2011 Oct 06
2
[LLVMdev] A potential bug
Hi all,
There might be a bug in DeadStoreElimination.cpp. This pass eliminates
stores backwards aggressively in an end BB. It does not check dependencies
on stores in an end BB though. For example, in this code snippet:
...
1. %sum.safe_r47.pre-phi = phi i64* [ %sum.safe_r47.pre,
%entry.for.end_crit_edge ], [ %sum.safe_r42, %for.body ]
2. %call9 = call i32 @gettimeofday(%struct.timeval* %end,
2011 Oct 06
0
[LLVMdev] A potential bug
It does not do anything. It is an abstract function which transforms a
pointer and returns another pointer of the same type. It does not visit
memory or capture the pointer parameter.
On Thu, Oct 6, 2011 at 2:22 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Oct 6, 2011 at 2:20 PM, Eli Friedman <eli.friedman at gmail.com>
> wrote:
> > On Thu, Oct 6, 2011 at
2008 Aug 12
2
perl expression question
I have a string such as
fileName<-"Agg.20.20.20-all-01".
All I want to do is pull the "20.20.20" and the "all" as strings.
Obviously, they aren't always those values.
The "20.20.20" can be "30.30.30" but it's always after the . which is
next to the second g in Agg and it's always the same length. The all
might not always be
2011 Oct 06
1
[LLVMdev] A potential bug
If int_guard_load returns a pointer based on the passed-in pointer, it
captures it (at least according to the definition of "capture" which
NoCapture uses).
-Eli
On Thu, Oct 6, 2011 at 2:26 PM, Zeng Bin <ezengbin at gmail.com> wrote:
> It does not do anything. It is an abstract function which transforms a
> pointer and returns another pointer of the same type. It does not
2005 Apr 04
2
MAC Adress / Iptables/ Shorewall
Hello,
I use Shorewall 2.0.16 on my server.
I would like to auhtorized some external desktop to connect my network. The
desktop''s IP change always, because they use dynamic addresses and they
haven''t static IP. So I would like to filter those desktop...With shorewall,
I can use an IP to drop, reject...But in my case, I can use it. So I think
to use a filter on the MAC address.
2011 Oct 06
2
[LLVMdev] A potential bug
On Thu, Oct 6, 2011 at 2:20 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Oct 6, 2011 at 2:12 PM, Zeng Bin <ezengbin at gmail.com> wrote:
>> Hi all,
>>
>> There might be a bug in DeadStoreElimination.cpp. This pass eliminates
>> stores backwards aggressively in an end BB. It does not check dependencies
>> on stores in an end BB though.
2007 Nov 06
1
[LLVMdev] Passing and returning aggregates (who is responsible for the ABI?)
On 6 nov. 07, at 06:17, Chris Lattner wrote:
>> But then, why refuse aggregates as input or output of a call? What is
>> the rationale?
>
> Because LLVM has no notion of aggregates as "values" that can be
> passed around as atomic units. This is a very important design point,
> and has many useful values.
I see. You explained one of them in a message on the XL