similar to: Reshape:cast; error using "..." in formula expression.

Displaying 20 results from an estimated 800 matches similar to: "Reshape:cast; error using "..." in formula expression."

2009 May 05
1
re shape package - use one cast() instead of many
I have a data set that I'm trying to melt and cast in a specific way using the reshape package. (I'll use the ff_d dataset from reshape so I don't have to post a toy data set here. ) Lets say I'm looking for the interaction of treatment with each type of "variable" in ff_d. Using the command below gets me this. Subject will get a column and each treatment type by each
2008 Nov 26
1
Reshape with var as fun.aggregate
I used to be able to use variance for fun.aggregate, but since I upgraded from R 2.6 to 2.7 (Ubuntu hardy to intrepid), it no longer works. > library("reshape") > data("french_fries") > ffm <- melt(french_fries, id=1:4, na.rm = TRUE) > cast(ffm, rep ~ treatment, length) rep 1 2 3 1 1 579 578 575 2 2 580 579 580 > cast(ffm, rep ~ treatment, mean)
2007 Mar 08
1
how to assign fixed factor in lm
Hi there, > Value=c(709,679,699,657,594,677,592,538,476,508,505,539) > Lard=rep(c("Fresh","Rancid"),each=6) > Gender=rep(c("Male","Male","Male","Female","Female","Female"),2) > Food=data.frame(Value,Lard,Gender) > Food Value Lard Gender 1 709 Fresh Male 2 679 Fresh Male 3 699 Fresh
2004 Mar 25
1
factor based on pattern match ?
Hello, is't possible to specify pattern in levels ? > y=c("ff","f","m","mm","fm","mf","ffm","mmf","mmm","fff"); > factor(y) [1] ff f m mm fm mf ffm mmf mmm fff Levels: f ff fff ffm fm m mf mm mmf mmm I want to specify levels using regexp ("f.*","m.*") or use
2006 Jul 05
3
Web Based scheduler like LiveSupport for icecast
I've thought about it briefly (I'm in the same boat as you, but I've been tinkering with making my own interface) and I more or less came to the conclusion that it was more complicated than it was worth, for me at least. For my purposes having spoken content recorded beforehand, uploaded, added to the playlist and played back a couple hours later was good enough. What you might
2007 Oct 28
4
A better way to stub out constants
Hi Something that''s gnawing at me... to avoid using the SQLite3 gem I''m stubbing it out like this: before(:each) do @database = mock("SQLite3 database") SQLite3 = Module.new SQLite3::Database = Class.new SQLite3::Database.stub!(:new).and_return(@database) end But then it keeps nagging me:
2009 May 21
1
Colour Schemes
I've been thinking hard about generating colour schemes for data. There's quite a bit of existing code scattered in various packages for playing with colours and colour palettes, but I can't find the sort of thing I'm after for applying colours to data... To my mind a colour scheme is a mapping from data values to colours. There's a multitude of such mappings depending on the
2011 Sep 09
4
reshape data from long to wide format
This is my reproducible example: example<-structure(list(SENSOR = structure(1:6, .Label = c("A", "B", "C", "D", "E", "F"), class = "factor"), VALUE = c(270, 292.5, 0, 45, 247.5, 315), DATE = structure(1:6, .Label = c(" 01/01/2010 1", " 01/01/2010 2", " 01/01/2010 3", " 01/01/2010
2009 Mar 29
9
budgetdedicated server (ubuntu) down?
I was trying to update my wine package because synaptic said there was an update available and I got the following message W: Failed to fetch http://wine.budgetdedicated.com/apt/pool/main/w/wine/wine_1.1.18~winehq0~ubuntu~8.04-0ubuntu1_amd64.deb Could not connect to wine.budgetdedicated.com:80 (81.171.111.184). - connect (111 Connection refused) [IP: 81.171.111.184 80] I also can not connect
2009 Jan 23
2
OT: Managing change control in servers, LDAP, firewalls and switches question
Hi, being an off-topic questions with so many vendors involved I had no definitive place to go to ask but here. So maybe some of the list members have ideas in mind. Currently we manage several switches,firewalls and MS LDAP and Centos OpenLDAP installations. We are looking for a "man in the middle" or "framework" to manage change on our network devices and LDAP-based servers.
2006 Jul 04
2
Web Based scheduler like LiveSupport for icecast
You might like my project called tunequeue, though it might be overkill or too much effort to install. It does provide a web interface to ices and allows fairly complex scheduling. It is perl with a mysql backend. http://tunequeue.sf.net -Aaron On 7/4/06, oDDskOOL <oddskool@gmail.com> wrote: > > Hi, > > I think what you want can be (easily ;) ) built around Ices, using perl
2020 Mar 15
1
EPEL Package update?
We run RANCID at the day job to back up switch and router configs. Version 3.11 adds some support for devices we need. The current EPEL version is 3.9. I filed a request at Fedora to get it updated, which they have completed (version 3.11), but it still hasn't made it into the EPEL for CentOS. What's the right place/process to get the update into EPEL for CentOS? All pointers
2011 Oct 03
4
distance coefficient for amatrix with ngative valus
Hi, I need to run a PCoA (PCO) for a data set wich has both positive and negative values for variables. I  could not find any distancecoefficient other than euclidean distace running for the data set. Are there any other coefficient works with negtive values.Also I cannot get summary out put (the eigen values) for PCO as for PCA.   Thanks. Dilshan [[alternative HTML version deleted]]
2012 Nov 17
3
Reshaping a dataframe
Seems like this should be easy but I'm struggling a bit. How do I rearrange a data frame to go from the first one to the second shown below ? State Date lbs TX 200701 400 TX 200702 650 TX 200703 950 TX 200704 1000 FL 200701 200 FL 200702 300 FL 200703 500 FL 200704 333 NJ 200701 409 NJ 200702 308 NJ 200703 300 NJ 200704 800 Date TX FL NJ 200701 400 200 409 200702 650
2011 Nov 19
3
reshape data.frame
A late friday afternoon coding question. I'm having a hard time thinking of the correct search terms for what I want to do. If I have a df like this: a <- data.frame(name=c(rep('a',10),rep('b',15)),year=c(1971:1980,1971:1985),amount=1:25) name year amount 1 a 1971 1 2 a 1972 2 3 a 1973 3 4 a 1974 4 5 a 1975 5 6 a 1976
2018 Nov 07
4
openssh-based file transfers (e.g. rsync, scp, ...) are running 40 (!!) times faster via IPv4 than IPv6
openssh 7.6p1-lp150.7.4 on OpenSuse Leap 15 (both server and client) Hi all, first post to list, hopefully on-topic. Haven't found anything on the net, tried to ask at first in OpenSuse forums a while ago (https://forums.opensuse.org/showthread.php/533588-rsnapshot-rsync-massive-performance-decrease) and today opened a bug in OpenSuse's Bugzilla
2011 Sep 28
3
Data transformation & cleaning
Hi, I have a few methodological and implementation questions for ya'll. Thank you in advance for your help. I have a dataset that reflects people's preference choices. I want to see if there's any kind of clustering effect among certain preference choices (e.g. do people who pick choice A also pick choice D). I have a data set that has one record per user ID, per preference choice.
2006 Jan 08
3
metadata history
I think this has come up before a few times, but Icecast still doesn't have this feature. A history of metadata changes. Metadata is generally updated at a change of song so it usually provides a song played history. It was argued that a Song History could not be done reliably because metadata could be updated at any time, but perhaps it should be thought of as Metadata History
2006 Jun 16
1
icecast2 and lynx?
Hallo, 16.06.06 I'd like to periodicly update metadata using a script that calls http://localhost:port/admin/stats.xsl and specialized URLs. I prefere to use lynx with a command sript to doing this. But using lynx I don't get any conection to my Icecast server, even pages I don't need authentification. Using Firefox connection works
2006 Sep 26
3
Pix Firewall Monitoring Software on Linux
hey friends, I am looking for a free open source software (web based or application) through which I can monitor the Pix Firewall. What it should show Interface status or traffic , VPN Connectivity status, CPU Status, Memory Status etc. I am also running DHCP server on Pix Firewall (due to some reasons) If it can monitor that also means showing how many IPAddresses has been assigned, to whom,