Displaying 20 results from an estimated 110 matches similar to: "aggregation-type question"
2011 Apr 04
2
Examples of web-based Sweave use?
I appreciate that this is OT, but I'd be grateful for pointers to examples of
where
Sweave has been used for web-based applications. In particular, examples of
where reports/analyses are produced automatically through submission of data
to a web-sever. I am mostly interested in situations where pdf reports have
been produced rather than, say, a plot/table etc shown on a web page.
2010 May 28
5
difference in sort order linux/Windows (R.2.11.0)
Dear R users,
I'm a bit perplexed with the effect sort has here, as it is different on
Windows vs. linux.
It makes my factor levels and subsequent plots different on the two systems.
Given:
types <- c("PC-D-Euro-0", "PC-D-Euro-1", "PC-D-Euro-2", "PC-D-Euro-3",
"PC-D-Euro-4", "PC-D-Euro-5", "PC-D-Euro-6",
2008 Aug 22
1
subset grouped data with quantile and NA's
I can't quite seem to solve a problem subsetting a data frame. Here's a
reproducible example.
Given a data frame:
dat <- data.frame(fac = rep(c("a", "b"), each = 100),
value = c(rnorm(130), rep(NA, 70)),
other = rnorm(200))
What I want is a new data frame (with the same columns as dat) excluding the
top 5% of "value"
2008 Sep 09
1
how to split a data framed with sequences
Hi all,
Given a data frame:
my.df <- data.frame(a = c(1:5, 1:10, 1:20), b = runif(35))
I want to split it by "a" such that I end up with a list containing 3
components i.e. the first containing a = 1 to 5, the second a = 1 to 10 etc.
In other words, sets of sequences of a.
I can't seem to find the right form using the split function - can you help?
Much appreciated.
David
2011 Jun 17
1
question about split
Dear R-users
I seem to be stumped on something simple. I want to split a data frame
by factor levels given in one or more columns e.g. given
dat <- data.frame(x = runif(100),
fac1 = rep(c("a", "b", "c", "d"), each = 25),
fac2 = rep(c("A", "B"), 50))
I know I can split it by fac1, fac2 by:
2010 May 03
1
Plotting the explanatory against the dependent in a GAM
?
To whoever it may correspond,
My name is Oscar Saenz and I am working on my thesis in Spain.
I am using GAMs in "R" and, now that I have estimated my models, I need to plot the predicted smooth functions against the dependent variable (just as in Carlslaw et al. 2007, fig. 1*).
Otherwise, I'd like to know how to plot the smoothed predictor variable values against the partial
1998 Feb 27
5
cross subnet browsing
It seems to be working for us now. I have the following relevant
settings in the [global] section of smb.conf ...
remote announce = 199.170.245.255/ENGINEER 199.170.224.255/ENGINEER 199.170.232.255/ENGINEER
workgroup = ENGINEER
wins support = no
wins server = 199.170.224.6
domain master = yes
local master = yes
preferred master = yes
; os level = 0 don't want Samba to
2006 Dec 11
0
Link aggregation
Hello everybody,
I am a (very) beginner in linux routing. I would like to solve in general
term
(the kind and amount of traffic aren''t known)this problem:
A router links some client with two net across two interface.
I''d like to know how should I be setting the router in this case.
and how to share the traffic on the two interfaces.
Like I said, I''m no expert, hope it
2005 Dec 17
1
How to use validation with aggregation (composed_of)?
At the risk of being banned for posting the same question twice, I
thought I''d try once more with a question for the title rather than a
statement (on the basis that perhaps questions get answered and
statements ignored ;-) )
ActiveRecord supports composed_of for value objects which is
fantastic but one thing that it doesn''t seem to support (or at least
I am unable to
2007 Apr 13
1
How can I use aggregation objects in form_for?
Say I have a person object which has a aggregation object call
address. The the code to manipulate a form for create a new person
should be:
# new.rhtml
<% form_for :person, :url => {:action => ''create''} do |f| %>
<%= render :partial => ''form'', :locals => {:f => form} %>
<%= submit_tag "Create" %>
<% end %>
2013 Jun 26
1
Error when using median as aggregation function in dcast
Hi,
I am trying to calculated various summary statistics using the dcast
function
of reshape2. This works perfectly for getting the mean, sum, length, sd. But
when I want to calculate the median I get an error. I tried it with and
without removing
NAs:
my_median <- function(x) median(x, na.rm = FALSE)
median_df <- dcast(patch_stats_dfm,formula=species~input+barriers,my_median)
Error in
2008 Apr 14
0
Link Aggregation limitations
Is there any limitations about using link aggregation (dladm)?
- maximum number of link aggregation per server?
- maximum number of NICs per link aggregation?
Is there any documentation where I can read more abaout it?
Thanks,
Gustavo.
This message posted from opensolaris.org
2009 Jan 16
1
Aggregation: problem with uninitialized composed_of object
Hi,
I''m getting this error:
>> p = Plan.new
>> p.amount
TypeError: wrong argument type String (expected Fixnum)
Apparently this happens because the aggregation isn''t initialized.
Here''s the code:
class Plan < ActiveRecord::Base
composed_of :amount,
:class_name => "Money",
:converter => Proc.new { |s|
2013 Jul 12
1
Use R for data aggregation
I have a set of evaluation variables (n) for each sample (sample size is
large enough) and I am trying to use R (nnet package) to aggregate the data.
However, I don't know the weight for each variable (I am sure the weight
shouldn't be equally assigned). Specifically, I have 12 indices (CO2, SO2,
TSP...) for 100 cities and I want to calculate weight for each and finally
obtain a
2007 Feb 12
0
truncating aggregation output
Hi,
there was discussion on "truncating aggregation output only"
(http://www.opensolaris.org/jive/thread.jspa?messageID=19008) on DTrace
forum.
From what was discussed the aggregation options like aggsortrev,
aggsortkey, aggsortpos, aggsortkeypos are already available (Thanks Bryan!).
I am wondering what are current plans for ''aggtop'' option (or
2006 Aug 23
0
active record aggregation
I defined the aggregation name of first_name and last_name as
recommended, works fine but I''d like to know if it''s possible (and how)
to use it in a find condition ..
@full_name ="Georges Washington"
@person = User.find(:all , :conditions => ["name LIKE ?", @full_name"]
#doesn''t run
I also tried
@person = User.find( :all, :conditions
2014 Jan 28
0
Moderated News Aggregation for Asterisk
Hi all.
Just wanted to let people know about a small project I started over the weekend to help me keep up with news about Asterisk. http://asterisktimes.xdev.net/
Some of the other new sites are either not there anymore or slow to update, so I've come up with a different idea for keeping Asterisk news up-to date and in one place. For the moment, I call it Asterisk Times.
OK, so maybe not
2013 Oct 27
0
Email Aggregation for Secure Local, Remote and Mobile Access
Further to my inquiry a while back, if any of you fine folks want to set up something like this, here is a "cookbook" to get it done.
http://www.melvilletheatre.com/articles/secure-email-aggregation/
It's very convenient, and the whole thing lives on the computer under my desk so I'm not handing my life over to google or whoever, either.
--
MELVILLE THEATRE ~ Real D 3D
2010 Nov 16
2
IMAP aggregation and MUPDATE protocolo
Hi.
I'm just having a look about aggregating several IMAP sources and a
IMAP aggregator proxy would come very handy.
I just read:
http://www.cyrusimap.org/mediawiki/index.php/Cyrus_Murder_Design
and found it very interesting.
Anyone did something similar based on:
http://tools.ietf.org/html/rfc3656
Thanx.
Erny
--
Ernesto Revilla
Yaco Sistemas
+34 954 500 057
2019 Apr 29
0
tinc works well using Tor v3 onions, with MPTCP link aggregation
tinc hosts listen for connections to Tor v3 onion services, and they connect to peers using Tor SocksPorts. MPTCP aggregates full-mesh connections between hosts. For Internet hosts with well-peered gigabit uplinks, this permits throughput among peers at 30-50 Mbps for multiple streams, vs ~10 Mbps at most for individual connections.
https://github.com/annymous/oniontinc includes bash scripts for