[R] Max vs summary inconsistency

2007-08-27 Thread Adam D. I. Kramer
the same number. Am I doing something wrong? I'm running R 2.5.1 (2007-06-27), installed on MacOSX from the dmg file found on CRAN. -- Adam D. I. Kramer Ph.D. Student, University of Oregon [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Max vs summary inconsistency

2007-08-27 Thread Adam D. I. Kramer
On Mon, 27 Aug 2007, François Pinard wrote: summary(m) Min. 1st Qu. MedianMean 3rd Qu.Max. 1 13000 26280 25890 38550 50910 max(m) [1] 50912 ...it seems to me like max() and summary(m)[6] ought to return the same number. Am I doing something wrong? Some may

[R] PCA with missing data?

2007-07-30 Thread Adam D. I. Kramer
with such a procedure. Google searching for such a procedure has'nt turned much up...but I blame that on the difficulty of searcching for single letters, and the rampant use of R as a variable name. But I did attempt to do my homework before posting to the list! Cordially, -- Adam D. I. Kramer

Re: [R] Automatic paren/bracket closing in 2.5.0?

2007-06-18 Thread Adam D. I. Kramer
Many thanks, Duncan. I did not expect this to be an OS-specific issue, and figured it must be the new default and thus configurable from within the program, though indeed I am using MacOS. --Adam On Mon, 18 Jun 2007, Duncan Murdoch wrote: On 18/06/2007 12:30 AM, Adam D. I. Kramer wrote: Hello

[R] Automatic paren/bracket closing in 2.5.0?

2007-06-17 Thread Adam D. I. Kramer
Hello, Just upgraded to 2.5.0, and found that R now includes an rparen (right parentheses) or rbracket whenever I enter in an lparen. While I can see the use of this function, it doesn't mesh well with my personal style of using R (e.g., using the up arrow, adding an rparen, jumping to

Re: [R] manova discriminant functions: Addendum

2007-02-22 Thread Adam D. I. Kramer
question is how to do an lda predicting whether an observation came from the time1, time2, or time3 column. Thanks, Adam On Mon, 5 Feb 2007, Adam D. I. Kramer wrote: As an addendum to my earlier post, I am having another difficulty with getting manova() to behave as I would like: when I specify

Re: [R] se.contrast confusion

2007-02-14 Thread Adam D. I. Kramer
to summary.aov is what I was missing. Thanks again, -- Adam D. I. Kramer Ph.D. Student, Social and Personality Psychology University of Oregon [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] se.contrast confusion

2007-02-13 Thread Adam D. I. Kramer
Hello, I've got what I'd expect to be a pretty simple issue: I fit an aov object using multiple error strata, and would like some significance tests for the contrasts I specified. In this contrived example, I model some test score as the interaction of a subject's gender and two emotion

[R] manova discriminant functions?

2007-02-05 Thread Adam D. I. Kramer
Hello, I've been playing with the manova() function to do some pretty straightforward multivariate analyses, and I can't for the life of me figure out how to get at the discriminant functions used. When predicting several variables simultaneously, it's important to be able to gauge how

[R] manova discriminant functions: Addendum

2007-02-05 Thread Adam D. I. Kramer
weightings of the linear and quadratic contrasts. Any suggestions? Thanks, Adam On Mon, 5 Feb 2007, Adam D. I. Kramer wrote: Hello, I've been playing with the manova() function to do some pretty straightforward multivariate analyses, and I can't for the life of me figure out how to get

[R] Alternatives to merge for large data sets?

2006-09-07 Thread Adam D. I. Kramer
which would carry out the process in a slower, iterative manner...or if I should just bite the bullet, write.table, and use a perl script to do the job. Thankful as always, Adam D. I. Kramer __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Alternatives to merge for large data sets?

2006-09-07 Thread Adam D. I. Kramer
of size 7301 Kb ...though at least the too-big size was larger this time. My data set is not exactly 1-1; every item in prof may have one or more matches in pubbounds, though every item in pubbounds corrosponds only to one prof. --Adam On Wed, 6 Sep 2006, Adam D. I. Kramer wrote: Hello, I am

Re: [R] Pairwise n for large correlation tables?

2006-08-11 Thread Adam D. I. Kramer
On Tue, 8 Aug 2006, [EMAIL PROTECTED] wrote: Try this: # mat is test matrix mat - matrix(1:25, 5) mat[2,2] - mat[3,4] - NA crossprod(!is.na(mat)) Exactly what I was looking for! Thanks. --Adam On 8/7/06, Adam D. I. Kramer [EMAIL PROTECTED] wrote: Hello, I'm using a very large data

[R] Pairwise n for large correlation tables?

2006-08-07 Thread Adam D. I. Kramer
) { for (j in i:colNum) { result[i,j] - length(df[!is.na(df[i])!is.na(df[j])])/colNum } } result } -- Adam D. I. Kramer University of Oregon __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Mean structure in the sem package?

2006-03-13 Thread Adam D. I. Kramer
., a model in which means of latent variables are estimated). It is not apparant whether this is possible within the SEM package...if anyone has done this before or has a suggestion of where to go from here (or knows that it is not currently possible), I'd be most appreciative. Thanks, Adam D. I