search for: ctab

Displaying 19 results from an estimated 19 matches for "ctab".

Did you mean: cab
2003 Feb 28
0
(multiway) percentage tables
...Marc Schwartz in the gregmisc library makes percentage tables a breeze but is limited to two-way tables. So I decided to try my own hand at writing an R-function that would make it easy to produce nicely formatted percentage tables for one-way, two-way, or multi-way tables. The first argument for ctab can be either a table object or one or more factors. The first variable is assumed to be the row variable, the second the column variable, subsequent variables are grouping variables. The "type" option can be used to specify percentage type ("n", "row", "column&qu...
2006 Jun 15
0
[PATCH 1/2] Runtime configuration of HTB''s HYSTERESIS option (kernel)
...0000 +1000 @@ -231,6 +231,10 @@ struct tc_gred_sopt #define TC_HTB_MAXDEPTH 8 #define TC_HTB_PROTOVER 3 /* the same as HTB and TC''s major */ +struct tc_htb_hopt +{ + __u32 nohyst; +}; struct tc_htb_opt { struct tc_ratespec rate; @@ -258,6 +262,7 @@ enum TCA_HTB_INIT, TCA_HTB_CTAB, TCA_HTB_RTAB, + TCA_HTB_NOHYST, __TCA_HTB_MAX, }; diff -Nurp kernel-source-2.6.11.orig/net/sched/sch_htb.c kernel-source-2.6.11/net/sched/sch_htb.c --- kernel-source-2.6.11.orig/net/sched/sch_htb.c 2005-03-02 17:38:12.000000000 +1000 +++ kernel-source-2.6.11/net/sched/sch_htb.c 2006-06-13 1...
2006 Oct 22
2
cross tabs with percents?
-- apologies if this is a dup - i got a bounce saying the message was unprocessed. Is there a straightforward way to get a table with percents in the cells rather than counts? I've looked at table, ftable, xtabs, and ctab, which did the conversion but returned the results in a single row without labels. any suggestions are appreciated. thank you.
2006 Apr 25
1
by() and CrossTable()
I am attempting to produce crosstabulations between two variables for subgroups defined by a third factor variable. I'm using by() and CrossTable() in package gmodels. I get the printing of the tables first and then a printing of each level of the INDICES. For example: library(gmodels) by(warpbreaks, warpbreaks$tension, function(x){CrossTable(x$wool, x$breaks > 30,
2004 Aug 22
4
Question about htb class
...It''s mainly from the source code. 1. What is the cell_log ? (its everywhere in the code) 2. Why does htb calculate its burst(buffer) with tc_xmit_time() ? Is opt.rate.buffer supposed to have the time it takes to transmit the packet ? (in q_htb.c around 223 lines) 3. What does rtab and ctab arrays do ? And what kind of value should be in there ? (its set in tc_core.c tc_calc_rtable()) I''d really appreciate your help. Thankyou very much in advance. Eme -- Eme _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/...
2008 Sep 02
3
ftables package, zero rows
dear all, i'm just about to do some straightforward contingency tables using ftables (and ctab() for percents). the problem: factor "a" are regions, factor "b" are subregions. every region "a" consists of some subregions "b", but obviously not every subregion "b" is part of every region "a". if i use the ftable() function, the tab...
2005 Apr 12
0
New version of "catspec" package
I've uploaded a new version of "catspec" to CRAN. Catspec is for estimating certain "special categorical" models. It also contains "ctab", a function for creating one-way, two-way, and multi-way percentage tables (nothing special there really). Ctab can now print more than one percentage type, as well as table marginals. The first special model in catspec is "mclgen". Mclgen restructures a data frame so a multinomial...
2005 Apr 12
0
New version of "catspec" package
I've uploaded a new version of "catspec" to CRAN. Catspec is for estimating certain "special categorical" models. It also contains "ctab", a function for creating one-way, two-way, and multi-way percentage tables (nothing special there really). Ctab can now print more than one percentage type, as well as table marginals. The first special model in catspec is "mclgen". Mclgen restructures a data frame so a multinomial...
2008 Nov 03
3
descretizing xy data
Hello, I have a dataset with a continuous independent variable (fish length, range: 30-150 mm) and a binary response (foraging success, 0 or 1). I want to discretize fish length into 5 mm bins and give the proportion of individuals who successfully foraged in each each size bin. I have used the cut function to discretize the length values into my desired bins, but I can't figure out how to
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
...0000 +1000 @@ -232,6 +232,10 @@ struct tc_gred_sopt #define TC_HTB_MAXDEPTH 8 #define TC_HTB_PROTOVER 3 /* the same as HTB and TC''s major */ +struct tc_htb_hopt +{ + __u32 nohyst; +}; struct tc_htb_opt { struct tc_ratespec rate; @@ -259,6 +263,7 @@ enum TCA_HTB_INIT, TCA_HTB_CTAB, TCA_HTB_RTAB, + TCA_HTB_NOHYST, __TCA_HTB_MAX, }; diff -Nurp iproute2.orig/tc/q_htb.c iproute2/tc/q_htb.c --- iproute2.orig/tc/q_htb.c 2006-06-13 11:53:27.000000000 +1000 +++ iproute2/tc/q_htb.c 2006-06-13 11:54:50.000000000 +1000 @@ -35,7 +35,7 @@ static void explain(void) " r2q...
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2003 May 14
1
mcl models, percentages
I've put two packages for R on my home page at http://www.xs4all.nl/~jhckx/R/. The "pcnt" package is for multiway percentage tables. I've posted a first effort called "ctab" on this group and a request for enhancing "ftable" with percentages on the wishlist. The "mcl" package is for estimating multinomial logistic models using conditional logistic regression. This gives greater flexibility in imposing restrictions on the dependent variable. O...
2006 Apr 19
1
prop.table on three-way table?
Dear list, I am trying to create a three-way table with percent occurrence instead of raw frequencies. However, I cannot get the results I expected: I have the following table: > ftable(table( mannerDF$agem, mannerDF$target, mannerDF$manner )) <snip> 50 bak 0 0 0 0 1 0 pak 0 0 0 0 3 0 sak
2009 Jan 22
0
error using heatmap :"evaluation nested too deeply....."
Hi, I get following error when trying to plot a heatmap on a very large matrix (808 x5000). heatmap(ctab) Error: evaluation nested too deeply: infinite recursion / options(expressions=)? Call to heatmap function is not contained within any other function or so. Upon searching the R mailing list, I found that someone had the same problem and the suggested solution was to set an option using options...
2010 Feb 10
1
Count variables by ID
Hello, I have an education dataset and I'd like to know how to count the number of courses each student has taken in a particular subject. For instance, say the course codes for "History" are 20-26 & 31 and I have the following data Student ID Course Code 1 16 1 17 1 21 1 31 2 10 2
2009 Jul 03
2
table () for more variables
Dear All, I want to create a table for several variables. As example. I have a dataframe with following data: Gender transport driving 1 0 1 0 1 0 1 0 1 Now I want to create a table in the following form: Gender
2005 Aug 30
2
crosstab for n-way contingency tables
Dear list. New to R, I'm looking for a way of using crosstab to output low-dimensional (higher than 2) contingency tables (frequencies, per-cents by rows, % by columns, mean, quantiles....) I'm looking for something of the following sort dataframe: singers, categorical variates: voice category (soprano,mezzo-soprano, ...) , voice type( drammatic, spinto, lirico-spinto, lirico,
2010 Mar 19
0
Wine release 1.1.41
...emplates or objects size. d3dx9_36: Rename variables in D3DXGetShaderConstantTable(Ex) to match naming convention used in the file. d3dx9: Fix typo in ID3DXConstantTable_SetMatrixTranspose macro. d3dx9: Add some shader definitions. d3dx9_36/tests: Fix contant table header in ctab data. d3dx9_36: Add stub for D3DXCreateTextureFromFileInMemoryEx. d3dx9_36: Implement ID3DXConstantTableImpl_GetDesc + tests. d3dx9_36: Add missing GetSamplerIndex method to ID3DXConstantTable. d3dx9_36: Fix method name. d3dx9_36: Use %u to print unsigned integer....
2010 Mar 05
0
Wine release 1.1.40
...r macro for AddRef. ddraw/tests: Fix typos. d3drm: Use proper macro for AddRef. d3dx9_36: Implement stubbed ID3DXConstantTable interface. d3dx9_36: Implement D3DXFindShaderComment (based on code from Luis Busquets) + tests. d3dx9_36: Find, store and enable retreival of CTAB comment data in shader (based on code from Luis Busquets). d3dx9_36: Remove useless HEAP_ZERO_MEMORY flag (spotted by Henri Verbeet). d3dxof: Turn some TRACEs into WARNs in case of parsing error. d3dx9_36: Avoid dereferencing null pointers in trace (spotted by Paul Vriens). David...