similar to: proposal: stats::as.matrix.ftable method

Displaying 20 results from an estimated 100 matches similar to: "proposal: stats::as.matrix.ftable method"

2005 Nov 28
2
str and structable error
Hallo I encountered a behaviour which puzzles me (but finally I did get what I wanted). I used structable and strucplot but I wanted to change names of variables in structable object. I tried to subset it, use names but to no avail. So I tried str and expected to get a structure of an object but: > sss<-structable(Titanic) > str(sss) Error in "[.structable"(x, args[[1]],
2007 May 05
1
How to latex tables?
Suppose I have a table constructed from structable or simply just an object of class table. How can I convert it to a latex object? I looked in RSiteSearch, but only found info about matrices or data frames. Steve For example, here is a table t2 > str(t2) table [1:2, 1:2, 1:2] 6 8 594 592 57 ... - attr(*, "dimnames")=List of 3 ..$ Hospital : chr [1:2] "A"
2010 Dec 02
1
latex tables for 3+ dimensional tables/arrays
I'm looking for an R method to produce latex versions of tables for table/array objects of 3 or more dimensions, which, of necessity is flattened to a 2D display, for example with ftable(), or vcd::structable, as shown below. I'd be happy to settle for a flexible solution for the 3D case. > UCB <- aperm(UCBAdmissions, c(2, 1, 3)) > ftable(UCB) Dept A B
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs, a new version of the vcd package (0.9-5) is now available from CRAN. Apart from (a lot of) bug fixes, it includes the following new features (some of them have 'silently' been included in previous bug fix releases): * Improved documentation: - an introductory vignette on the strucplot framework (including mosaic, association and sieve plots) - special vignettes on
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs, a new version of the vcd package (0.9-5) is now available from CRAN. Apart from (a lot of) bug fixes, it includes the following new features (some of them have 'silently' been included in previous bug fix releases): * Improved documentation: - an introductory vignette on the strucplot framework (including mosaic, association and sieve plots) - special vignettes on
2009 May 21
1
vcd package --- change layout of plot
Hello, I'm trying to use the vcd package to analyze survey data. Expert judges ranked possible features for product packaging. Seven features were listed, and 19 judges split between 2 cities ranked them. The following code (1) works, but the side-by-side plots for Cities PX, SF are shrunk too much. Stacking PX on top of SF would make for a better plot. (I could switch the order of
2013 Jul 04
0
Modificar una función de un paquete
Estimado Manuel Spíndola Del repositorio r descargo el paquete, me refiero a: Package source: vcd_1.2-13.tar.gz Descomprimo y busco el archivo que creo conveniente, en este caso copio y pego el código de mosaicplot A partir de ahí el trabajo es interpretar el código, copiar la parte útil, modificar lo conveniente, en fin, lleva tiempo pero se aprende mucho de esa forma, yo lo realice con
2013 Jul 06
0
Modificar una función de un paquete
Muchas gracias Eva. Manuel 2013/7/5 Eva Prieto Castro <evapcastro@yahoo.es> > Hola, Manuel: > > Si descomprimes el tar.gz indicado por Marcuzzi, y accedes a la subcarpeta > R, en el archivo legends.R buscas la cadena p-value, y en el archivo > strucplot.R es donde creo que modificas el "Pearson residuals" (busca por > "Pearson\nresiduals"). > >
2013 Jul 04
1
Modificar una función de un paquete
Muchas gracias Javier, Lo que yo quiero es cambiar el título de la leyenda que dice "Pearson residuals" a español "Residuales de Pearson", pero no me doy cuenta como. También en lugar de "p-value", que diga "Valor de P". Es posible? Manuel 2013/7/4 Marcuzzi, Javier Rubén <javier.ruben.marcuzzi@gmail.com> > Estimado Manuel Spíndola > >
2007 Nov 30
1
Help with tables
Hello, I'm new using R and developing tables. I have a problem in developing a table. In a questionaire I made I ask this question "Please tell me the first three sympthoms caused by Respiratory tract infection you've caught this year", then the people answer three sympthoms, the first mention (Top of mind) is saved in a variable called "P2_A", the second mention in
2020 May 15
0
ftable <-> data.frame etc {was "justify hard coded in format.ftable"}
>>>>> Gabor Grothendieck >>>>> on Thu, 14 May 2020 06:56:06 -0400 writes: > If you are looking at ftable could you also consider adding > a way to convert an ftable into a usable data.frame such as > the ftable2df function defined here: > https://stackoverflow.com/questions/11141406/reshaping-an-array-to-data-frame/11143126#11143126 > and there
2004 Jan 19
1
ftable to LaTeX
hi there is there a way to convert objects of class ftable into LaTex code preserving the 'look' with row and column infomation? xtable() {xtable} can't handle such objects and latex() {Hmisc} just texify the number matrix, without row/column information regards soren
2008 Jan 09
0
formating ftable
Hi all, I am using ftable and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get: x - is a dataframe with the following columns: LocationID, Species, PercentCover, Category where Category tells if the Species belongs to
2007 Nov 29
0
empty cells in ftable
hello when I enter: ftable(xtabs(cnt~jeo+slp+pcurv+asp+hey),data=dt) it gives a frequncy table. But some cells are empty. like this: 19 2 72 0 3 68 0 4 99 0 5 110 0 6 97 0 7 74 0 8 46 0
2008 Jan 10
0
formatting ftable
Hi all, I am using ftable and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get: x - is a dataframe with the following columns: LocationID, Species, PercentCover, Categorywhere Category tells if the Species belongs to
2003 Mar 06
0
modifying ftable to allow percentages (wishlist) (PR#2606)
Full_Name: John Hendrickx Version: 1.6.2 OS: Windows XP Submission from: (NULL) (80.126.78.108) (This is not a bug report but a request to add a feature to future versions of R. Hope this is an appropriate place). I'd like to suggest adding an option to ftable to allow percentages. It would be easy to do and backwards compatible. Percentage tables are useful in educational contexts, whereas
2013 Mar 05
0
Patch for format.ftable()
Dear expeRts, Please find attached the .diff for a bug fix in R-devel 62124. format.ftable() fails to format ftable()s correctly which have no row.vars or no col.vars. That should work with the patch (the example code below also runs correctly for all the (new) 'method's). Cheers, Marius --8<---------------cut here---------------start------------->8--- (ft1 <- ftable(Titanic,
2020 May 14
0
justify hard coded in format.ftable
>>>>> SOEIRO Thomas >>>>> on Wed, 13 May 2020 20:27:15 +0000 writes: > Dear all, > I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable > Is this list the appropriate place for this kind of proposal? Yes, it is.. Actually such a post is even a "role
2001 Dec 11
1
how can i have the total for each level using table,ftable,xtabs etc. etc. ?
I have a list with four fields and 3500 records, from a MySQL table. How can i have the total for each level using table, ftable, xtabs? ex: print(ftable(table[,"field1"]~table[,"field2"])) thanks Danilo Maurizio Veneto Lavoro - Area Osservatorio - -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2007 Nov 26
2
ftable as latex (with Hmisc?)
Dear List, possibly called Frank, I tried to create an ftable lookalike of the following data set in LaTeX/Sweave with summary(formula,..), but I could not get it to work for count tables; numeric tables work fine. summary(formula,...,fun="table") does not give the full cross breakdown. Other suggestions welcome. Note that in the output there should be empty fields on repeated