Re: [R] Proportion test in three-chices experiment

2005-07-16 Thread Jonathan Baron
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] Proportion test in three-chices experiment

2005-07-17 Thread Jonathan Baron
results if you ignore response bias, and if the conditions differ in response bias. The suggestion I made based on the idea of inter-rater agreement implies a rough-and-ready model similar to the first. It does take response bias into account. Jon -- Jonathan Baron, Professor of Psychology

[R] R Site Search is back up

2005-07-19 Thread Jonathan Baron
learned from this is that backup systems do no good unless you have a computer to use. And also I could have backed up in a way that made it easier for myself to reconstruct, but that was not the major source of the delay. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

Re: [R] kappa-accuracy and test for signifcance

2005-08-05 Thread Jonathan Baron
=functions) then you will find several ways to compute kappa (assuming that it is the same kappa we're talking about). The first one I looked at (kappa2 in irr) yields a p value. I'm not sure that this is what you are asking, though. Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] problems when installing R in Fedora core 4

2005-08-18 Thread Jonathan Baron
for it just now. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

Re: [R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Jonathan Baron
,] install.packages(setdiff(cp,ip)) But now it looks like you can do this: install.packages(new.packages()) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch

Re: [R] Gamma for ordinal trends

2005-08-31 Thread Jonathan Baron
. It is a bit obscure. It is rcorr.cens in the Hmisc package. The significance test is the same as for Kendall's tau, according to some books. I don't know about standard error. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] Local install of a contributed package under Linux (was: R-code for binormla distribution)

2005-10-02 Thread Jonathan Baron
Try R CMD INSTALL -l lib pkgs The help file is in the utils package. I'm sure this is documented in the manual too. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

Re: [R] Firefox extension fo R Site Search

2006-08-30 Thread Jonathan Baron
://finzi.psych.upenn.edu/R/library/ it's not on the extension The list is updated monthly, and rpanel is new. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list

[R] drawing a curly bracket in a plot

2006-10-08 Thread Jonathan Baron
I need to re-draw a graph that consists of a few lines. Next to each line is a curly bracket - like { - with its ends near the ends of the line. (At the point of the bracket is some sort of label, but that is done with text() or something like that.) Some brackets are horizontal, some are

Re: [R] Proposal for New R List: Criticism? Comments?

2004-09-09 Thread Jonathan Baron
., then he has the option of using my search engine as a fallback, where it is likely that someone else has used his favored terms. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] Proposal for New R List: Criticism? Comments?

2004-09-10 Thread Jonathan Baron
is less than my very modest collection of digital photos, and a tiny fraction of a 3-year-old standard hard disk. In other words, it is no big deal to install all the packages if you have your own computer. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http

Re: [R] reading Systat into R

2004-10-08 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

[R] R works on Fedora Core 3

2004-11-09 Thread Jonathan Baron
The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window got smaller, but I'm sure there is a setting for that.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] R works on Fedora Core 3

2004-11-09 Thread Jonathan Baron
On 11/09/04 20:37, Jari Oksanen wrote: On 9 Nov 2004, at 19:44, Jonathan Baron wrote: The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window got smaller, but I'm sure there is a setting for that.) That would be good news. I really don't know how the graphics

Re: [R] The hidden costs of GPL software?

2004-11-17 Thread Jonathan Baron
be difficult. BUT, it might help to install just the help pages for all packages, without the packages themselves. Then help.search() would find things. (I have no interest in figuring out how to do this, but maybe someone else does.) Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] SAS or R software

2004-11-20 Thread Jonathan Baron
write yourself. Thus, SAS may be faster for huge data sets, like census data. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

[R] impute missing values in correlated variables: transcan?

2004-11-30 Thread Jonathan Baron
) would change its mean. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman

Re: [R] impute missing values in correlated variables: transcan?

2004-11-30 Thread Jonathan Baron
be on the slope rather than the intercept or mean.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] impute missing values in correlated variables: transcan?

2004-11-30 Thread Jonathan Baron
On 11/30/04 13:21, Frank E Harrell Jr wrote: Jonathan Baron wrote: I would like to impute missing data in a set of correlated variables (columns of a matrix). It looks like transcan() from Hmisc is roughly what I want. It says, transcan automatically transforms continuous and categorical

Re: [R] A possible way to reduce basic questions

2004-12-01 Thread Jonathan Baron
to psychology-English and both to statistics-English. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https

Re: [R] Dominant factors in aov?

2004-12-02 Thread Jonathan Baron
the others, without the dependent variable. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https

Re: [R] A possible way to reduce basic questions

2004-12-04 Thread Jonathan Baron
On 12/02/04 21:15, Anne wrote: What about starting a database? Of what? Like the one in the last line of my .sig? -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] switching to Linux, suggestions?

2004-12-13 Thread Jonathan Baron
Fedora uses yum as well as rpm. I haven't installed an RPM in months, except for R. Yum is great. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] counting numbers without replicates in a vector

2004-12-16 Thread Jonathan Baron
() -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] SAS or R software

2004-12-18 Thread Jonathan Baron
There were two earlier threads on this topic: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/17554.html http://finzi.psych.upenn.edu/R/Rhelp02a/archive/10706.html Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search

[R] searching Jonathan Baron's R Site

2004-12-23 Thread Jonathan Baron
==) res - paste(idxname=Rhelp02aidxname=Rhelp01idxname=Rhelp00, idxname=functionsidxname=docs,sep=) res - sub(^+,,res) qstring - paste(string, mpp, format, sortby, res, sep=) browseURL(qstring) invisible(qstring) } -- Jonathan Baron, Professor

Re: [R] R Reference Card (especially useful for Newbies)

2004-12-23 Thread Jonathan Baron
these to your reminder announcement.] Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] searching Jonathan Baron's R Site - revised function

2004-12-24 Thread Jonathan Baron
Documentation coming soon. -- # Written by Andy Liaw and modified by Jonathan Baron 12/24/2004. RSiteSearch - function(string, restrict=c(Rhelp02a,Rhelp01,functions,docs), format=normal, sortby=score, matchesPerPage=20) { string - paste(http

Re: [R] Tuning string matching

2005-01-05 Thread Jonathan Baron
Harington I need a function that would declare those strings as a match (ideally having an argument that would allow introducing 80% instead of 90%) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] R package classification

2005-01-14 Thread Jonathan Baron
also be queried for automatic package installation. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list

Re: [R] Can R output figures as metapost file

2005-02-06 Thread Jonathan Baron
. J -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] R mailing list archive difficulty

2005-04-01 Thread Jonathan Baron
engine for it. It is HUGE, not exactly for perusal. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] www.r-project.org

2006-04-25 Thread Jonathan Baron
the usefulness of CSS, so maybe it is better to leave things as they are for now. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org

Re: [R] www.r-project.org

2006-04-25 Thread Jonathan Baron
April 2006 at 13:18, Jonathan Baron wrote: | The only thing I might change is to replace the frames with some | sort of CSS-based positioning. Yes please! Dirk -- Hell, there are no rules here - we're trying to accomplish something

[R] Error: C stack usage is too close to the limit

2006-04-27 Thread Jonathan Baron
list, so clearly some people understand it. (Not me.) I'm posting here in case someone has a suggestion about what to do about it, for users, as opposed to developers. Apparently R-2.3-patched did not fix it, but probably that will change at some point. Jon -- Jonathan Baron, Professor

Re: [R] Error: C stack usage is too close to the limit

2006-04-27 Thread Jonathan Baron
On 04/27/06 22:06, Prof Brian Ripley wrote: On Thu, 27 Apr 2006, Jonathan Baron wrote: I get this error on one computer running Fedora Core 5 but not on another one, when I start R from Xemacs using ESS. After I get the error with Xemacs, I get it even without using Xemacs. I haven't

Re: [R] Now another question regarding the Foreign package

2006-05-11 Thread Jonathan Baron
the package, not just download it. Then you need to load it into your R session: library(foreign) Did you do that? -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

[R] changes in RSiteSearch() and http://finzi.psych.upenn.edu/search.html

2006-05-30 Thread Jonathan Baron
. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] Running R

2006-05-31 Thread Jonathan Baron
well. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] Running R

2006-05-31 Thread Jonathan Baron
On 05/31/06 09:39, Pramod Anugu wrote: 5. Typed make install 6. Typed R Fatal error: unable to open the base package I get the error message. Please advice Other things to try (aside from make check): 1. Make sure you are root before you say make install. 2. Check to see that the

Re: [R] Significance test, Cronbach's Alpha

2006-06-05 Thread Jonathan Baron
might be conservative, but I have not thought this through. It is rare to see anyone report a test for alpha because it is usually used descriptively. If it isn't .7 or higher, people get upset, yet even .5 would be wildly significant in most cases. Jon -- Jonathan Baron, Professor

Re: [R] Function hints

2006-06-19 Thread Jonathan Baron
have other alternative built-in search capabilities, but I haven't tried them. Beagle is the new Linux search tool, but I don't know what it does. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Jonathan Baron
]: As this is time critical I would like to slightly abuse the list by asking whether anyone knows how to extract from MS Word into a stand-alone graphics file a plot that was pasted into Word from R (probably as a Windows Metafile, but possibly as a bitmap). -- Jonathan Baron, Professor

Re: [R] replace values?

2006-07-02 Thread Jonathan Baron
- X[M$x] M$y - Y[M$y] M$z - Z[M$z] Finally,select two subsets: 1. if x='a'; 2.x='a' and y='a'; M[M$x==a,] M[M$x==a M$y==a,] The subsets will be rows. I'm not sure that's what you mean. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http

Re: [R] Problems on testing moderating effect (or interactive effect).

2006-07-04 Thread Jonathan Baron
. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Problems on testing moderating effect (or interactive effect).

2006-07-04 Thread Jonathan Baron
problem, so far as I can tell. I think you need to do some reading of the R documentation. What are A, B, and C? They should be vectors. That was the point of my comment about rowMeans. You seem to be guessing and relying on authority instead of trying to understand. -- Jonathan Baron

Re: [R] Glossay of available R functions

2006-01-31 Thread Jonathan Baron
In addition, the search page at http://finzi.psych.upenn.edu can search all functions of all CRAN packages. This is also available through RSiteSearch(string,restrict=functions). See the help page for RSiteSearch. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

[R] RSiteSearch down time, Sun. 4/9 10:00 to Mon. 4/10 14:00 UTC

2006-04-08 Thread Jonathan Baron
Because of electrical work in the building, finzi.psych.upenn.edu will be down from early Sunday morning (Eastern Daylight Time, U.S.) to mid-morning Monday (assuming all goes well). This means that RSiteSearch() will not work. Sorry about this. Jon

Re: [R] Least Squares Fit

2004-05-02 Thread Jonathan Baron
plot(x,y) abline(lm(y~x)) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https

[R] report, installation of Fedora 1 RPM on Core 2 test 3

2004-05-02 Thread Jonathan Baron
of everything), and I'm having some, but slowly solving them (and filing bug reports). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu

Re: [R] what statistical method should i use?

2004-05-15 Thread Jonathan Baron
of cluster or classifcation analysis on your subjects, to see if they really fall into distinct groups with very different opinions. I have used R for many of the things I just listed (but not all), so I might be able to provide examples. Jon -- Jonathan Baron, Professor of Psychology

Re: [R] How to restore and edit saved graphics?

2004-05-15 Thread Jonathan Baron
, and run it again. This is a good way to work with R anyway. If, for some reason, the graphics tools available for R are not sufficient - and I find this hard to imagine - you can also save graphics as xfig files and then edit them with xfig, assuming that you are using Unix/Linux. Jon -- Jonathan

Re: [R] Building R on Fedora Core 2 from the src rpm

2004-05-19 Thread Jonathan Baron
there is a single file that matters to the RPM. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED

Re: [R] Sorting Data?

2004-05-27 Thread Jonathan Baron
,] - Daughter[i,]-Mother[Mother$Code==Daughter[i,Code]} Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED

Re: [R] Sorting Data?

2004-05-28 Thread Jonathan Baron
On 05/28/04 12:21, Martin Klaffenboeck wrote: Am 27.05.2004 22:43:02 schrieb(en) Jonathan Baron: On 05/27/04 21:58, Martin Klaffenboeck wrote: Hello, Im reading through some manuals, but I cannot find my answer. I have a file containing many data: Vpn CodeFamily Age F1 F2

Re: [R] X/Emacs and R in Linux

2004-06-01 Thread Jonathan Baron
. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Jonathan Baron
, but I fear the opposite is intended. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list

Re: [R] Re: How to Describe R to Finance People

2004-06-05 Thread Jonathan Baron
it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

Re: [R] Recoding a multiple response question into a series of 1, 0 variables

2004-06-07 Thread Jonathan Baron
to do this on each row and then convert the NAs to 0s. So first create an empty data frame, the same size as your original one X, like my Y. Callit Y. Then a loop? (I can't think of a better way just now, like with mapply.) for (i in [whatever]) Y[i][X[i]] - 1 (Not tested.) Jon -- Jonathan

Re: [R] Recoding a multiple response question into a series of 1, 0 variables

2004-06-07 Thread Jonathan Baron
On 06/07/04 22:45, Jonathan Baron should have written: for (i in [whatever]) Y[i,][X[i,]] - 1 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] nominal data

2004-06-09 Thread Jonathan Baron
from my R search page - look under inter-rater agreement). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL

[R] import SYSTAT .syd file?

2004-06-15 Thread Jonathan Baron
Does anyone know how to read a SYSTAT .syd file on Linux? (Splus 6 does it, but it is easier to find a Windows box with Systat than to download their demo. I'm wondering if there is a better way than either of these options.) Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] Is there an easy way to generate linearly independent vectors

2004-06-17 Thread Jonathan Baron
) { m1[,i] - resid(lm(m1[,i] ~ m1[, 1:(i-1)])) } Test it with cor(m1[,-11]) I'm sure there are better ways. Of course m1 - matrix(rnorm(100),10,10) is ALMOST what you want. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu

Re: [R] Using xtable with summaries of lm objects

2004-06-22 Thread Jonathan Baron
the letters normal rather than slanted. I guess I favor the slanted version in the last line, since that seems to be the custom in my field for $t$. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron

Re: [R] simple questions

2004-06-25 Thread Jonathan Baron
generate the correct values for some columns and not others. For this question, look at scale. That is: ?scale I don't understand the other questions. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page

Re: [R] Several PCA questions...

2004-06-29 Thread Jonathan Baron
of the above biplot, is this possible? (or even a good way to present the data? No idea how to do this or why you would want it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http

Re: [R] linear models and colinear variables...

2004-06-30 Thread Jonathan Baron
with some imperative/iterative style programming using some kind of string generation system. This sounds like a royal pain, and is something I'd rather avoid doing if at all possible. Any suggestions? :-D -petertgaffney Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home

Re: [R] linear models and colinear variables...

2004-07-01 Thread Jonathan Baron
point in terms of the presence or absence of each germ and the presence or absence of each drug. Is that it? It isn't crazy, but it is unusual. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron

Re: [R] Recoding scores of negatively worded item

2004-07-03 Thread Jonathan Baron
),]$score ces$score - ifelse(ces$question %in% c(1,3,5),5-ces$score,ces$score) b) why there is a different behavior from the command line and from a script? Could the problem be on the line before the one that gives the error? Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

Re: [R] doubly multivariate analysis in R

2004-07-04 Thread Jonathan Baron
, conditions, and questions. A lot of what I do involves calculating within-subject correlations and regressions. I used to do that entirely with loops, but lately I've found that R's mapply() function can do some of it, as well as apply(). Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] Association between discrete and continuous variable

2004-07-12 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

Re: [R] Is there a statistics that can summarize the correlation for more than two random variables?

2004-07-13 Thread Jonathan Baron
is in the psy package. It is describe a little in our Notes on R for psychology ... (linked from the R page below), written befpre psy was available. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http

Re: [R] PCA in R

2004-07-14 Thread Jonathan Baron
. The biplot function is especially nice. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing

Re: [R] formatting tables with long column names via package:xtable within Sweave

2004-07-15 Thread Jonathan Baron
your table after xtable makes it than to modify xtable to allow such things, since xtable would not save you any typing time. You could stick in your long headers using \multicolumn{1}{p(2cm)}{blah blah blah}, or \parbox{}, or just use two rows. (I haven't tested any of this.) Jon -- Jonathan

Re: [R] Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)

2004-07-26 Thread Jonathan Baron
a possibilty to read a SPSS file under R1.9.1? I cannot find spss.get in the man pages for the current version of foreign. It works for me with read.spss. But I'm surprised it ever worked. So, possibly, there is something wrong with the spss file you are trying to import. Jon -- Jonathan Baron

Re: [R] test for difference between non-independent correlations

2004-07-27 Thread Jonathan Baron
). Tests for comparing elements of a 82 print correlation matrix. Psychological Bulletin, 87, 245-251. 100 goto 12 -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R]...Why social scientists don't use R

2004-08-18 Thread Jonathan Baron
on Fedora Core 2, and it now takes almost 10 hours to update each month on a very fast computer (Pentium 4 2.80GHz with Serial ATA disk controller). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] Is R good for not-professional-statistician, un-mathematical clinical researchers?

2004-08-19 Thread Jonathan Baron
research could benefit from more, but smaller, grants. Teaching R is part of this battle, since it conveys an attitude as well as specific knowledge. I guess that is the main reason I plan to keep trying to do it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home

Re: [R] Test of significance in estimation of correlation coefficients

2004-08-24 Thread Jonathan Baron
at help before posting here. BTW, there is a small bug in the documentation for cor: cor.test is no longer in the ctest package, but in stats. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] (no subject)

2004-08-24 Thread Jonathan Baron
On 08/24/04 13:50, Paolo Tommasini wrote: Hi my name is Paolo Tommasini does anyone know how to compute a mode ( most frequent element ) for a distribution ? which.max -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page

Re: [R] Normalization and missing values

2005-04-13 Thread Jonathan Baron
with missing data depends on the assumptions you make. As a novice, I found the following article to be helpful: Schafer, J. L., Graham, J. W. (2002). Missing data: Our view of the state of the art. Psychological Methods, 7, 147-177. -- Jonathan Baron, Professor of Psychology, University

Re: [R] Normalization and missing values

2005-04-14 Thread Jonathan Baron
many missing data, but don't take my word for it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list

Re: [R] missing values

2005-04-24 Thread Jonathan Baron
in R and quite new on statistics). -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
, and it may be that the installation documentation needs minor tweaking. (Or it may be that I did something else wrong, but right now I doubt that.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
/usr/include/tk.h usability... yes I have one more left. I have no idea what is going on. Sometimes it works. Sometimes not. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R

Re: [R] missing values

2005-04-26 Thread Jonathan Baron
aregImput() is good for, or transcan(), depending on whether you need to make inferences (and hence do multiple imputation). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tclt k

2005-04-26 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

Re: [R] missing values

2005-04-26 Thread Jonathan Baron
39 The commands here were s.imp - transcan(m1,asis=*,data=m1,imputed=T,long=T,pl=F) s.na - is.na(m1) # which ratings are imputed m1[which(s.na)] - unlist(s.imp$imputed) (I wish I could find a more elegant way to replace the NAs.) Jon - Jonathan Baron, Professor of Psychology, University

Re: [R] Imputation

2005-05-04 Thread Jonathan Baron
, or even whether this is a good idea. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https

Re: [R] A long digression on packages

2005-06-06 Thread Jonathan Baron
may say something!) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Conjoint in R

2005-06-07 Thread Jonathan Baron
profiles ordinally. Conjoint analysis then is applied on the preference data to estimate the utility values - or the part worth for each factor level. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] an operator for contains

2005-06-17 Thread Jonathan Baron
guide! http://www.R-project.org/posting-guide.html -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] Fedora Core 4

2005-06-18 Thread Jonathan Baron
, but it is in Fedora extras. R is now part of the Fedora distribution, albeit one of the many things they have put in extras in an effort to limit the distribution to 4 CDs. 3. Report a bug. But where? Is it a bug in R? 4. Something else. Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] probability-probability plot

2005-07-02 Thread Jonathan Baron
On 07/02/05 15:41, Yulei He wrote: Hi, there. Is there any function in R to plot the probability-probability plot (PP plot)? Suppose I am testing some data against normal. qqnorm might be what you want, or lead to it. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

Re: [R] Pearson and Spearman correlation coeffcients matrix

2005-07-03 Thread Jonathan Baron
the correlation matrix of all the columns. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Jonathan Baron, Professor of Psychology

Re: [R] R like SPSS

2003-08-14 Thread Jonathan Baron
to revise soon) is written for people who are making the particular sort of transition I made. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu

Re: [R] Comprehesive Package/Library list?

2003-08-14 Thread Jonathan Baron
. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r

Re: [R] Variance Computing- - HELP!!!!!!!!!!!!!!!!!!

2003-08-19 Thread Jonathan Baron
of each row, then take mean [1] 0.344 mean(apply(smallmat,1,var)) [1] 0.9967427 -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu

Re: [R] query on converting survey data from one structure to another

2003-08-20 Thread Jonathan Baron
in hand. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

  1   2   >