similar to: Calculate weighted mean for each group

Displaying 20 results from an estimated 900 matches similar to: "Calculate weighted mean for each group"

2009 Sep 20
2
Read time series
Hi R experts, How can I get a ts object from a data frame object which contains a daily time series in order to apply it time series functions? Tanks Aleto [[alternative HTML version deleted]]
2011 Sep 21
2
Weighted Average on More than One Variable in Data Frame
Dear R Users, I have looked for a solution to the following problem and I have not been able to find it on the archive, through Google or in the R documentation. I have a data frame, say df, which has 4 variables, one of which I would like to use as a grouping variable (g), another one that I would like to use for my weights (w) The other two variables are variables (x1 and x2) for which I would
2001 Apr 17
3
Samba 2.2.0 released !
The Samba Team is pleased to announce a new major release of Samba, Samba 2.2.0. Samba 2.2.0 is available in source form from samba.org and all of our mirror sites. Binary packages will be available shortly for many popular platforms. Please check the main Web site or email announcements for details. If you have problems, or think you have found a bug please email a report to :
2007 Sep 06
3
Warning message with aggregate function
Dear all, When I use aggregate function as: attach(warpbreaks) aggregate(warpbreaks[, 1], list(wool = wool, tension = tension), sum) The results are right but I get a warning message: "number of items to replace is not a multiple of replacement length." BTW: I use R version 2.4.1 in Ubuntu 7.04. Your kind solutions will be great appreciated. Best wishes Yours, sincerely, Xingwang
2015 Feb 16
2
Small typo in german translation
Dear developers, I found a small typo in the german translation for the aggregate() function: In the string "keine Zeile f?r die Aggragation" it should be spelled 'Aggregation' instead of 'Aggragation' (e instead a). After a quick look into the sources, I found two places for it: #grep -r -e "Aggragation" * src/library/stats/po/R-de.po:msgstr "keine
2011 Jan 10
2
Aggragating subsets of data in larger vector with sapply
Have 40,000 rows of buy/sell trade data and am trying to add up the buys for each second, the code works but it is very slow. Any suggestions how to improve the sapply function ? secEP = endpoints(xSym$Direction, "secs") # vector of last second on an XTS timeseries object with multiple entries for each second. d = xSym$Direction s = xSym$Size buySize = sapply(1:(length(secEP)-1),
2005 Jul 18
5
colnames
Hi, I have a matrix with column names starting with a character in [0-9]. After some matrix operations (e.g. copy to another matrix), R seems to add a character 'X' in front of the column name. Is this a normal default behaviour of R? Why has it got this behaviour? Can it be changed? What would be the side effect? Thank you. Regards, Gilbert [[alternative HTML version deleted]]
2001 Mar 23
5
Samba 2.2 alpha3 released
Hi all, I have just released the fourth alpha snapshot of what will become Samba 2.2.0. It's available from the usual ftp sites, in the alpha directory as : <ftp mirror>:/pub/samba/alpha/samba-2.2.0-alpha3.tar.gz If people could test this snapshot out and provide feedback about what is broken and let the lists know that would help. The problem acting as a PDC for
2016 Jun 08
2
Samba AD member lost domain join after reboot
I conducted many tests and I noticed that I lose the domain-join on SMB1 soon as I joined SMB2 in the domain. Step 1: SMB1 "net ads join -Uadministrator" -> OK Step 2: SMB1 "net ads testjoin" -> OK Step 3: SMB2 "net ads join -Uadministrator" -> OK Step 4: SMB2 "net ads testjoin" -> OK Step 5: SMB1 "net ads testjoin" ->
2004 Sep 03
3
traffic queueing and ipsec vpn
Hi all, ive been reading lartc howto, im new about traffic shaping/police. As far as red (chapter 9 complete) i saw that first the packet passes at the ingress qdisc, then it passes to the ip stack if the packet is directed to the box or its forwarded (is my case), then it falls to the egress classifier/s. Now, i understand if i have an ipsec vpn at the outside interface, the egress
2016 Jun 07
6
Samba AD member lost domain join after reboot
I think I found my problem, when configuring my second domain controller, I have created by mistake a round robin DNS entry on "Forward Lookup Zones -> ad.samdom.local". I speak of round-robin because I have two fields A pointing to the same domain Now I'm lost, you have a second domain controller in failover? If so, could you give me your DNS configuration? I need information
2016 Sep 20
2
Numerical accuracy of matrix multiplication
>>>>> peter dalgaard <pdalgd at gmail.com> >>>>> on Fri, 16 Sep 2016 13:33:11 +0200 writes: > On 16 Sep 2016, at 12:41 , Alexis Sarda <alexis.sarda at gmail.com> wrote: >> Hello, >> >> while testing the crossprod() function under Linux, I noticed the following: >> >> set.seed(883)
2012 Oct 05
1
lightdm 1.4.0 released
This is the first release in the stable 1.4 series. This series will be maintained on the lp:lightdm/1.4 branch and trunk (lp:lightdm) will now be used for the unstable 1.5 series. Overview of changes in lightdm 1.4.0 * Correctly implement and test autologin timeouts * Add greeter-show-remote-login hint * Correctly annotate enums in vapi file * QLightDM: Add default constructor
2005 Jun 30
3
AMP - recording call
Hi, I'm using the new AMP which provides a call recording. The options of recording call Always and Never are well working. But how to use the On-Demand option ? Should I press a pad ? Is this configured in the featuremap of features.conf ? Why my modifications in that features.conf have no effects ? Please advice me. Alexis.
2016 Sep 16
2
Numerical accuracy of matrix multiplication
Hello, while testing the crossprod() function under Linux, I noticed the following: set.seed(883) x <- rnorm(100) x %*% x - sum(x^2) # equal to 1.421085e-14 Is this difference normal? It seems to be rather large for double precision. Regards, Alexis. [[alternative HTML version deleted]]
2011 May 25
2
g_dbus_connection_real_closed when starting lightdm
Hi, I made the switch from KDE4->XFCE, and because gdm takes more time than xfce to start I would like to replace it with lightdm. I installed lightdm, set it as default display manager and configured the gtk greeter. However, when I start I only get a black screen (x running) and nothing else happens. When I start it as root with the --test-mode argument, I get the following message: lightdm
2006 Jan 04
4
file_column
I use file_column and it works fine. I tried to change the store_dir to a the path I want my files to be stored and not the default. I stored some images fine. But when I try to reach my images it seems like file_column uses the model_name/attribute_name on the image and not the store_dir I used. How can I change this ? Thanks in advance -- Alexander Antonakakis
2016 Jun 07
2
Samba AD member lost domain join after reboot
Yes, the /etc/krb5.keytab file is created when the domain-join. I just noticed that it's not only after a reboot I have this problem. I lost the domain-join on my first SMB server, it has not been restarted. Note that I use Cluster Mode (CTDB), but the problem is the same when I remove the cluster configuration. Attached is the requested files. Thank you, Alexis. On 07/06/2016 09:43,
2010 Apr 27
4
Selecting rows based on contents of string
Hi there, I have a data frame with a column named "Flags", whose contents are strings containing any of the following characters, multiple characters allowed: A,B,C,D,E,F,G. Here is the head: GeocodeID PlaceID CountyCode CBSACode StateProvCode PropertyTypeGroupID Flags 1 0 0 0 0 AK 1 ABC 2
2006 Oct 06
1
Storing multiple choices in databases
As an example - you have a select list of all the U.S. states and the user can make multiple choices. How do you grab all those choices into the database and they would be used for queries. I was reading up on serialize() but the warning in AWDWR is that it doesn''t work well for queries. Also composites / aggragates seems a bit much, maybe not. I know in the past I''ve used