similar to: Re-ordering factors

Displaying 20 results from an estimated 90 matches similar to: "Re-ordering factors"

2009 Aug 25
4
table, xyplot, names, & loops
Hi R community, I'm just starting out in R and have a basic question about xyplot and tables. Suppose I had a table of data with the following names: Height, Age_group, City. I'd like to plot mean Height vs Age_group for each City. When I try to do the following: > library(lattice) > xyplot(mean(Height) ~ Age_group | City) of course I get just one data point, the mean Height for
2008 Mar 12
1
ftable and xtabs
Hoping someone can help me with xtabs and ftable. I'm trying to get a pair of ftables (possibly more) next to each other. For example: > dunhill_lights_xtab<-ftable(xtabs(grossedupobs ~ gender+age_group + dunhill_lights, data = ciggs)) > dunhill_lights_xtab dunhill_lights No Yes gender age_group Female
2008 Oct 11
1
producing colour .eps output
I am using the following code to produce a graphic: library(lattice) postscript("figs%03d.eps", width = 6.0, height = 6.0, ?????????? horizontal = FALSE, onefile = FALSE, paper = "special") xyplot(cases~yr|agrp*sex,data=data[tse==0 & expgrp==1,], groups=source, pch=".", type="l", ?????? main="Exposure group 1, time since entry 0") The
2012 Nov 16
2
Calculateing means
Dear List, I have a data matrix with 570 columns containing 95 (samples) with 6 replicates each. How can I calculate the mean of the replicates for 95 samples? Thank you. The information contained in this electronic e-mail transmission and any attachments are intended only for the use of the individual or entity to whom or to which it is addressed, and may contain information that is
2012 Dec 14
1
format.pval () and printCoefmat ()
Hi List, My goal is to force R not to print in scientific notation in the sixth column (rel_diff - for the p-value) of my data frame (not a matrix). I have used the format.pval () and printCoefmat () functions on the data frame. The R script is appended below. This issue is that use of the format.pval () and printCoefmat () functions on the data frame gives me the desired results, but coerces
2007 Apr 09
1
help with ActiveRecord joins
I''m working on a fairly complex join query and could use a bit of advice from more expert users of ActiveRecord. I have an events table with quite a lot of data, with has_many relations to categories, age_groups, and event_images. In my first naive implementation, each event had a date, so to load all upcoming events efficiently, I''d do: Event.find(:all,
2007 Mar 26
5
Session trouble
I am having a problem with an assignment to an object stored in session. for example when I am in console o = NewOrder.new # dl = DeliveryLocation.new # o.delivery_location = dl #=> returns a delivery location object # o.delivery_loaction.save #=> returns true when I am using the controller delivery_location = DeliveryLocation.new(params[:delivery_location])
2004 Jul 21
2
where are sources diffs?
Hello all, I'd like to update my local src tree (from Wine 20040615), and I'd rather grab a diff instead of the full 10MB so tarball; the README in source.winehq.org refers to some 'Wine-yymmdd.diff.gz' but I can't find any of such. Did I overlook some infos, or are such diffs not available, and I'm supposed to use CVS? thanks -- paolo GPG/PGP id:0x21426690 kfp:EDFB
2007 Jun 09
23
hoverclass on droppable zone
Hi guys, I''m trying to make a drag''n''drop portal using sortable element. I would like to apply the "hoverclass" option only on the droppable zone instead of the column border. Any idea a about the solution? Thanks for any help, Sabri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 Jul 16
2
Error when running my unit test...
Hi Rails team Learning ROR, and is doing the chapter with test..... feel like skipping this, but.... (using NetBeans IDE 6.1) I have created this story_test.rb, and when I run the ''rake test:units (selected from the GUI), I get this error: (in /data/NewOrder/Projects/ROR/shovell) ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment
2006 Aug 16
1
Active Record Observers causing 404''s and other weird issues
Hi all. I''ve got a simple AR Observer: class NewOrderObserver < ActiveRecord::Observer observe NewOrder def after_create(object) Note.create(...) end end In environment.rb I have the following line: config.active_record.observers = :new_order_observer And in application.rb I have: NewOrderObserver.instance Aside from simply not working, it''s causing
2004 Feb 24
3
Calculate Distance and Aggregate Data?
Hi all, I've been struggling learning R and need to turn to the list again. I've got a dataset (comma-delimited file) with the following fields: recid, latitude, longitude, population, dwelling and age. For each observation, I'd like to calculate the total number of people and dwellings and average age within 2 k.m. Distance could be Euclidean, however, a proper distance
2008 Jun 19
7
JUST A COUPLE OF NUBBY QUESTIONS BETWEEN ME AND FREEDOM
1. What does ~ mean? cd ie. "~/.wine/drive_c/" 2. Steam runs. Hurray. But I can't chat with friends. I can see their messages, but not mine. I assume they never get them because they never say anything more. 3. I launch TF2, I get the valve logo, source logo, then BAM back to desktop. No error boxes. And my screen resolution stays "minimized" to what tf2 was
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this: http://myapp.mydomain.com/myapp and and https://myapp.mydomain.com/myapp are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster on the same machine. But I need to make these available here: https://www.mydomain.com/myapp and https://myapp.mydomain.com/myapp are on a second server using ProxyPass and ProxyPassReverse to
2013 Jun 16
2
MOH don't work after update
Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx at Accueil_HNO:2] BackGround("SIP/SIP000005-0000000c", "Fermeture") in new stack [Jun 16 07:35:06] WARNING[7634][C-00000006]: file.c:701 ast_openstream_full: File Fermeture does
2019 Apr 09
3
large cover size bug with android?
When trying to play vorbis or opus files that have large cover sizes >1MB on android 8.0 built in player, they fail to play. Removing the cover allows them to play.  Has anyone encountered this before or know if it is a known android or opus/vorbis bug?
2015 Mar 10
2
Bug#780227: XSA-123 / CVE-2015-2151 Hypervisor memory corruption due to x86 emulator flaw
Package: xen-hypervisor-4.1-amd64 Version: 4.1.4-3+deb7u4 Severity: critical Hi, Not sure how come I'm the first one to file this kind of a bug report :) but here goes JFTR... http://xenbits.xen.org/xsa/advisory-123.html was embargoed, but advance warning was given to several big Xen VM farms, which led to e.g. https://aws.amazon.com/premiumsupport/maintenance-2015-03/
2007 Aug 04
2
patch for oggz-comment
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: oggz-comment.patch Type: text/x-patch Size: 9771 bytes Desc: not available Url : http://lists.xiph.org/pipermail/ogg-dev/attachments/20070804/b06ca92e/oggz-comment.bin
2013 Oct 19
0
[Bug 10219] New: Warn if list files more than once
https://bugzilla.samba.org/show_bug.cgi?id=10219 Summary: Warn if list files more than once Product: rsync Version: 3.0.9 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: jidanni at jidanni.org
2015 Jan 29
6
Indexing Mail faster
> * Kevin Laurie <superinterstellar at gmail.com> 2015.01.24 19:41: > > > Currently the time it takes to search 25,000mails is 4mins. If indexed > how > > much faster are we looking at? > > With a current version of Dovecot a search is pretty fast _without_ using > external indexes. I have a view defined (virtual plugin) with around 22.000 > messages in it,