Displaying 20 results from an estimated 6000 matches similar to: "Crosstabs function"
2002 Jul 12
2
Crosstabs in R
Before I reinvent the wheel, I have need for a relatively straightforward
crosstabulation (2 x n) function. I know that R has table(), ftable(),
xtabs(), and summary(xtabs()), but none of these produce a fully "tricked"
out cross-tabulation with marginal totals, expected cell frequencies, and
an array of statistics about the contingency table.
Is there a more complete (something
2008 Nov 12
1
Crosstabs Output
Hi, I'm a new R user.
I noticed that RKWard has a really nice output when it does crosstabs. It
even includes the chi-squared values. However, I obviously can't simply copy
this into my standalone R script. Does anyone know the code or a way for me
to view the code.
Secondly, if I am writing an R script I want to be able to view the output
as a pdf even if my function is not a graph,
2009 Apr 07
2
newbie query: simple crosstabs
I've been playing around with various table tools, trying to construct a
fairly simple cross-tab. It shouldn't be hard, but for some reason it
turning out to be (for me).
If I want to see how many men and how many women agree with a agree/disagree
question (coded 1,0), I can do this:
>attach(mydata)
>mytable <- table(male, q1.bin) # gender and a binary response variable
2000 Nov 21
1
S function crosstabs
Hello there,
I'm quite new with R. Does anybody know a true variant in R of the Splus
function "crosstabs" to create contingency tables, with the possibility
of assigning a weight variable?
Thanx
Tim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2000 May 17
1
crosstabs
Hi all!
What is the equivalent R function of SPLUS crosstabs?
Thank you.
Danar.
Stat. Inst. Umea Univ.
Umea, Sweden
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2001 Nov 16
2
Finite Mixture Analysis
Are there any S-Plus or R libraries/packages that do Finite Mixture
Analysis following the algorithms similar to those implemented in Geoffrey
MacLachlan's EMMIX program?
Thanks.
Dr. Marc R. Feldesman
email: feldesmanm at pdx.edu
email: feldesman at attglobal.net
fax: 503-725-3905
"Don't know where I'm going.
Don't like where I've been.
There may be no exit.
But
2003 Mar 15
3
round() seems inconsistent when rounding 5s
It may be my lack of unerstanding, but round() seems to me to give
inconsistent results when rounding 5s as in the following examples?
> round(1.45, 1)
[1] 1.4 # OK
> round(2.45, 1)
[1] 2.5 # shouldn't this be 2.4?
> round(1.05, 1)
[1] 1.1 # 1.0 ?
and signif():
> signif(2.445, 3)
[1] 2.44 # OK
> signif(3.445, 3)
[1]
1998 Oct 19
0
Frequencies- and Crosstabs-Output like SPSS ???
[Delayed and reposted by list maintainer
due to not passing through spam filter.. MM]
Hello,
I am looking for two R-functions that could generate an Output like SPSS.
1. An equivalent function for (SPSS) FREQUENCIES which generate
something like this:
Valid Cum
Value Frequency Percent Percent Percent
1 1 5.3 5.6 5.6
2000 Jan 31
1
Crosstabs?
Is there an equivalent in R to the crosstabs command S-Plus? I've been
searching for a while and can't seem to find anything.
Thanks.
Mark J. Lamias
Department of Statistics
Department of Political Science
Survey Methodology Program/Survey Research Center
Institute for Social Research - University of Michigan
426 Thompson Street, Room 315
Ann Arbor, Michigan 48104-2321
(734) 647-5381
2006 Jul 05
1
Crosstabs
Dear Users,
I'm a complete novice to R.
I need to do a crosstabs in R, but my data is almost completely
alphanumeric (with some variables scaled). The Table routine does not
seem to accept alphanumeric data. What should I do? Do I need to recode
it? How should I do that?
Thanks in advance,
Wilfred
2001 Aug 12
2
rpart 3.1.0 bug?
I just updated rpart to the latest version (3.1.0). There are a number of
changes between this and previous versions, and some of the code I've been
using with earlier versions (e.g. 3.0.2) no longer work.
Here is a simple illustration of a problem I'm having with xpred.rpart.
iris.test.rpart<-rpart(iris$Species~., data=iris[,1:4],
parms=list(prior=c(0.5,0.25, 0.25)))
+ )
>
2002 Feb 13
3
xtabs
Hi,
In Splus if I call the function crosstabs() the output is a contigency
table; in each cell of the table is printed: N, N/RowTotal,
N/ColTotal, N/Total. N is the number of observations in each cell.
The same call to xtabs() in R will produce the contigency table but the
only entry in each cell is N.
How can I get the same relative frequencies that crosstabs() gives?
Thanks,
mike
--
2001 Dec 26
1
ESS 5.1.19 w/Xemacs 21.4.6
Probably wrong group for this, but a quick question. I've just switched
from emacs to Xemacs. In reinstalling ESS 5.1.19 I keep getting the
following error when loading Xemacs:
"Error in init file: Symbol's function definition is void: w32-using-nt"
I've debugged the ess-site.el file, which is where the error originates
from. The line causing the difficulty is:
2004 Apr 02
5
Plot symbols for more than 25 groups
Is there any effective way to get distinct geometric plotting symbols and
colors for plots involving more than 25 groups?
Thanks.
Dr. Marc R. Feldesman
Professor and Chairman Emeritus
Anthropology Department - Portland State University
email: feldesmanm at pdx.edu
email: feldesman at attglobal.net
fax: 503-725-3905
"Don't knock on my door if you don't know my
2003 Apr 24
3
Detailed contingency tables
Is there any existing function for creating contingency tables that will
display counts, row, column, and cell percentages in the same
tables....anything similar to crosstabs in S?
Marc W. Zodet, MS
Health Statistician
Center for Cost and Financing Studies
Division of Statistical Research and Methods
2101 East Jefferson Street, Suite 500
Rockville, Maryland 20852
Phone: 301-594-7072
Fax:
2003 Jun 26
3
Compiling R for OS X 10.2.6 (Darwin 6.6)
Our lab just picked up a G4 Powerbook (1 GHz, 1GB RAM, OS X 10.2.6). None
of us have any experience with Macs but for various reasons we need to have
one around for development.
In any case, we've installed fink, all the Apple Developer Tools and the
Dec2002updater to gcc 3.3. We're now trying to compile R 1.7.1 without too
much success. First we had to get g77, which turned out to
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 Mar 06
1
How to apply two parameter function in data frame
I know this is something simple that I cannot do because I do not yet "think"
in R.
I have a data frame has a variable participation (a factor), and several
other factors.
I want a chisq test (no contingency tables) for participation vs all of the
other factors.
In SPSS I would do:
CROSSTABS
/TABLES= (my other factors) BY participation
/FORMAT=NOTABLES
/STATISTICS=CHISQ
2004 May 30
1
summary.lm
I ran across this error the other day while using lm(). I confess that I
haven't used it for awhile and haven't been tracking the changes between
versions of R. However, the piece of code below is a tiny modification of
the example in the help file for "lm". I just separated the commands apart
for clarity. A similar piece comes from the help file for
2001 Sep 13
3
OT: ps -> eps -> MS Word
I've created a bunch of postscript trees (post.rpart), which I subsequently
edit in Adobe Acrobat 4.05 (I need additional labelling that isn't easy to
add with R). After editing the labels and annotations using Acrobat, I
then export the file to Adobe's .eps format so I can insert the picture
into a Microsoft Word 2000 document. The .pdf file distilled from the .ps
file is