similar to: Splitting up large set of survey data into categories

Displaying 20 results from an estimated 300 matches similar to: "Splitting up large set of survey data into categories"

2011 Jan 16
1
Equivalent to Stata egen tag
What are the R equivalents to the Stata command egen tag and egen count? egen station_week_tag = tag(station week) Thank you
2012 Dec 10
3
equivalent of group command of the egen function in Stata
Dear R listers, I am trying to create a new variable that uniquely identifies groups of observations in a dataset. So far I couldn't figure out how to do this in R. In Stata I would simply type: egen newvar = group(dim1, dim2, dim3) Please, find below a quick example to show what I am dealing with: I have a dataset with 4 variables: var <- runif(50) ## a variable that I want to group
2005 Jun 25
2
r equivalent of egen? Not tapply
I have a list that has about 50 elements, each repeated many times (a list of states by observation). I want to create a vector with the same length with the same value repeated over and over again within states. The value I want is the number of observations that are in the same state as each observation. In stata, this is simply egen statesum = count(state), by(state). What is the r
2005 Jun 25
1
group means: split and unsplit
Took me a while but I figured out how to put in common values of group means/counts, etc. to do the same thing as egen. lapply with split and then unsplit. Thomas Davidoff Assistant Professor Haas School of Business UC Berkeley Berkeley, CA 94720 phone: (510) 643-1425 fax: (510) 643-7357 davidoff@haas.berkeley.edu http://faculty.haas.berkeley.edu/davidoff [[alternative HTML
2002 Feb 19
1
ext3fs: Bad super block
I've got this poor ext3-partition which I can't access. I have tried a lot of things but it doesn't seem to solve the problem. I've got quite important files on that particular partition. I can't even get the block groups from my /dev/hda3 with dumpe2fs! It all happened after a crash. GRUB wouldn't give me the graphical UI. I decided I had to get my dosbootdisk and do an
2011 Mar 07
1
Set Term Frequency for a Query
Hello, I have a problem when trying to define a query and setting for each term its "term frequency" with the classical constructor Xapian::Query<http://xapian.org/docs/apidoc/html/classXapian_1_1Query.html#f396e213df0d8bcffa473a75ebf228d6>(const std::string &tname_,
2011 Apr 19
0
Merge databases
Dear all, I try to use the xapian-compact tool to merge several databases. I need to keep the document ID. The problem is that xapian-compact is not able to merge databases because of overlapping "doc ID range". Nevertheless, in my case, a doc ID is always used for one and only one database. Is there a (other) clever way to simply and quickly merge databases ? Regards 2011/3/7
2007 Feb 25
0
Fedora Core 6 dom0 with a win 2003 server domU; unkown PCI device
Hello, I''ve got xen installed on a box running Fedora Core 6. In addition I''m running a Windows 2003 server as a domU. Everything work fine and I am quite satisfied with the setup. However, in win 2003''s device manager there is a unknown PCI device that I not able to find a suitable driver for. Windows update can''t find one either. Is there a way to find what
2001 Dec 10
0
Reaching different subnets
Hi! I have a problem with samba, that I don't know if it's possible to solve. This is my network: <Subnet1>-Ethernet-<Gateway>-Ethernet-<Subnet2>-Internet Subnet1 is my own local network (bcast 192.168.1.255), Gateway is my own gateway machine (FreeBSD4.4, IPs: 192.168.1.1 and 193.13.35.101), Subnet2 is my neighbours (bcast 193.13.255.255). I can configure all
2013 Feb 07
5
appending and merging data frames
I know that the basic approach to append or merge data frames is using the rbind and merge commands. However, if I understand things correctly, for both commands one needs to do quite some additional programming to get e.g. behavior as with the Stata append and morge commands or to achieve some things which I think users need quite frequently. E.g. for appending, the data frame must have
2007 Mar 13
5
can´t access share by name, but on ip
Hi All ! i?m running Clearcase (IBM Rational) and have some strange problems ... when i use Samba ver 3.21b i can?t access the samba share by name (\\servername\sambashare) but i can access it on ip (\\192.168.1.100\sambashare\) i?m running debug level 10 and it seems like it can?t authenticate when access on netbios/dns/host name but on ip it can ? when running samba ver 3.23b from
2016 Nov 02
8
[PATCH kernel v4 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission, address translation and madvise(). This can help to improve the performance by about 85%.
2016 Nov 02
8
[PATCH kernel v4 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission, address translation and madvise(). This can help to improve the performance by about 85%.
2016 Nov 30
8
[PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission, address translation and madvise(). This can help to improve the performance by about 85%.
2016 Nov 30
8
[PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission, address translation and madvise(). This can help to improve the performance by about 85%.
2006 Feb 13
2
categories and admin/categories - different controllers and templates?
Is there some way to have these two sets of URLs use totally different controllers and templates? categories/list categories/show/1 admin/categories/list admin/categories/edit/1 admin/categories/destroy/1 admin/categories/update/1 Besides, of course, using different controller names ;). The first URL is publicly accessible, while the second contains admin functions. Also, with the second,
2006 Jul 26
1
How to create table entry with multiple related categories?
Perhaps I should create a table row to hold an array of category ID''s? There''s probably an easy standard way of doing this in RoR and I just can''t wrap my brain around a practical way to do this right off. Specifically... I have a table that contains my product category names and another table that contains my actual product names with other product specific
2006 May 24
0
Routing multiple sub-categories
Hi all, Does anyone have a neat way to route n-number of sub-categories: /categories/category/sub-category/sub-sub-category/ I have the application successfully using a single level of categories, but it needs to use sub-categories now with the above format. It''d only really need to grab the last path entry and pass that onto the categories controller. These paths would only have
2005 Dec 20
3
Single controller to browse things in categories
First off, hi, I''m [obviously] new :O) Please excuse my question as I''m sure it''s been answered, but I can''t find it anywhere. I have a table of categories: id name 1 Foo 2 Bar I have things which belong_to categories: id category_id subject date 1 1 my subject 07/09/2004 and Further classifications which belong_to categories: id category_id name 1 1 More
2005 Mar 23
0
Error: Can not handle categorical predictors with more th an 32 categories.
It always helps to check whether you got the data into R correctly. Hint: What does str(credit) tell you? Andy > From: Melanie Vida > > Hi All, > > My question is in regards to an error generated when using > randomForest > in R. Is there a special way to format the data in order to > avoid this > error, or am I completely confused on what the error implies?