Displaying 20 results from an estimated 1100 matches similar to: "bug in CrossTable (package:gregmisc) (PR#2480)"
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable.
>danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",
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,
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2008 Mar 09
1
question for crosstable
Good evening R-users!
I have the following problem: i want to get a weighted crosstable along with the adjusted standardized residuals test
Example:
a<-c(1,1,1,1,1,2,2,2,3,3)
b<-c(10,10,23,24,33,45,46,70,21,66)
c<-c(3,3,2,3,4,1,1,1,3,3)
d<-c("a", "b","b","c","a","a","a", "b",
2009 May 31
1
Bug in gmodels CrossTable()?
Is the code below showing a bug in Crosstable()? My expectation was that
the values produced by xtabs were rounded instead of truncated:
library(gmodels)
abc <- c("a", "a", "b", "b", "c", "c")
def <- c("d", "e", "f", "f", "d", "e")
wgt <- c(0.8, 0.6, 0.4, 0.5, 1.4, 1.3)
2009 Jan 29
1
Question On CrossTable function in gmodels package
Hi R-users,
I have the following problem with CrossTable function within ?gmodels? package: the output of the function (format ?spss? and asresid=T) can not be stored within another object.
For example:
>library(gmodels)
>data(infert, package = "datasets")
> CrossTable(infert$education, infert$induced)->aa # the function prints everything ok on the screen
> aa # works
2008 Oct 01
1
Help with CrossTable
Hi,
I am using the CrossTable function from library(gmodels).
x=unique(data[,c("L1","L1_Revenues","RIC")])
L1_Classification=CrossTable(x$L1,x$L1_Revenues,exclude =
c("NA","","0%","0"),prop.r=FALSE,prop.c=FALSE,prop.t=FALSE,prop.chisq=FA
LSE,dnn=c("L1_Classification","Revenue"))
What I would like
2006 May 02
1
Is there a bug in CrossTable (gmodels)
Library gmodels include a function CrossTable that is useful for
crosstabulation. In the help, it is indicated that one can call this
function as CrossTable(data), were data is a matrix. However, when I try
to use this option, it doesn't help. Any idea? Is there a bug?
Thanks for your help.
Prof. Albert Sorribas
Grup de Biomatem?tica i Bioestad?stica
Departament de Ci?ncies M?diques B?siques
2004 Mar 11
1
Difficulties in interaction between R and latex (prosper)
Hello, folks! I'm trying to use R as a graphics program, to make some
pretty graphs that will go into prosper slideshows.
I wrote this fragment, from the R manual, into a file demo.R:
x=seq(-3,3,0.1)
postscript("cm_test.eps", width = 4.0, height = 3.0,
horizontal = FALSE, onefile = FALSE, paper = "special",
family =
2008 Feb 15
12
Transfer Crosstable to Word-Document
# Dear list,
# I am an R-beginner and
# spent the last days looking for a method to insert tables produced
# with R into a word document. I thought about SPPS: copy a table from
# an SPO-file and paste it into a word document
# (if needed do some formatting with that table).
# Annother idea was, to produce a TEX-file,
# insert it and make it a word-table.
# I found the following libraries, which
2005 Jun 23
1
how to get such crosstable?
i use the CrossTable (frome gregmic package) function to get such a table as below.
but the percentage of the non-NA levels(here 1,2,3,4,5) is not totally 100%.
is there any way to get a table that percentage of the non-NA levelsis totally 100%,as the SPSS' valid percentage.thank you!
Cell Contents
|-------------------------|
| Count |
| Row Percent |
2003 Aug 12
2
Crosstabs
Hello all,
i think i am to silly. I have installed R 1.7.1 (2003-06-16). Installed
some packages like xtables ore xml. I tried out this to installing
packages. Then i tried to make a crosstable like i know it from spss.
They say in this list that it would be going.
I made a table in asci-format, seperated with tabs or blanks and than i
use something like this:
2012 Sep 28
1
Crosstable-like analysis (ks test) of dataframe
Hi,
I have a dataframe with multiple (appr. 20) columns containing
vectors of different values (different distributions).
Now I'd like to create a crosstable
where I compare the distribution of each vector (df-column) with
each other. For the comparison I want to use the ks.test().
The result should contain as row and column names the column names
of the input dataframe and the cells should
2003 Jan 31
0
Version 0.8.0 of the gregmisc package is now available
Version 0.8.0 of the gregmisc package is now (or will shortly be) available
on CRAN.
New in this release:
- Enhanced and bug-fixed 'CrossTable' function (contributed by
Marc Schwartz)
- Augmented the 'barplot2' function with an 'add' argument to allow for
the addition of a barplot to an existing graphic. (contributed by
Marc Schwartz)
- Added the
2012 Jun 21
4
crosstable and regression for survey data (weighted)
I have survey data that I am working on. I need to make some multi-way tables
and regression analyses on the data. After attaching the data, this is the
code I use for tables for four variables (sweight is the weight variable):
> a <- xtabs(sweight~research.area + gender + a2n2 + age)
> tmp <- ftable(a)
Is this correct? I don't think I need to use the strata and cluster
2002 Jul 27
1
R Code for X-Tab with Row/Col Proportions, Expected Vals and Tests
Recently, I noted a post and replies on R-Help from Professor Marc
Feldesman regarding a cross tabulation function that generates row and
column proportions, marginal values, expected cell values and tests for
independence presumably similar in a fashion to the output of the S-Plus
crosstabs() function or the SAS Proc Freq.
Martin Maechler had posted some code in reply for folks to update and
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package
2004 Jun 09
0
gregmisc 1.11.2 including read.xls()
Release 1.11.2 of the gregmisc() package of functions is now available on
CRAN at http://cran.r-project.org/src/contrib/Descriptions/gregmisc.html for
both Unix and Windows systems.
The most notable enhancement provided by this release is:
- read.xls(), a function to read Microsoft Excel files by
translating them to csv files via the xls2csv.pl script has
been added. I've also provided
2004 Jun 09
0
gregmisc 1.11.2 including read.xls()
Release 1.11.2 of the gregmisc() package of functions is now available on
CRAN at http://cran.r-project.org/src/contrib/Descriptions/gregmisc.html for
both Unix and Windows systems.
The most notable enhancement provided by this release is:
- read.xls(), a function to read Microsoft Excel files by
translating them to csv files via the xls2csv.pl script has
been added. I've also provided