[R] Attempting to recode elements contained in a list

2005-08-24 Thread Greg Blevins
Canned goods 007 197 Plastic lidsHand/dish towel 30 12 Thank you. Greg Blevins The Market Solutions Group Windows xp, 2.1.1 Gregory L. Blevins Vice President, Partner The Market Solutions Group, Inc. [EMAIL PROTECTED] Office phone: 612 392-3163 Cell phone: 612 251

[R] Seeking help with an apparently simple recoding problem

2005-08-23 Thread Greg Blevins
][,3][,4][,5][,6][,7] a2 NA NA NA NA NA NA b1 1 NA 1 0 0 0 c1 1 NA 1 0 0 0 Thanks you. Greg Blevins The Market Solutions Group, Inc. Windows XP, Version 2.1.1

[R] How to display each symbol in a different color using plot with summary.formula.reverse

2004-12-20 Thread Greg Blevins
, cex.axis=.5, cex.main=.5, which=categorical) Key(locator(1)) R version 2.0.1 Windows XP Thank you, Greg Blevins The Market Solutions Group [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman

[R] Difficulty implementing scales in a lattice plot

2004-12-02 Thread Greg Blevins
the text labels for the Scanf variable. Thanks, Greg Blevins The Market Solutions, Group Windows XP R 2.0.1 512 memory pentium 4 [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Seeking help with a simple loop construction

2004-11-29 Thread Greg Blevins
a couple of hours searching the web and my texts but continue to strike out in my attempts to construct a correct formulation of this simple loop. Help would be appreciated. Greg Blevins The Market Solutions Group, Inc. Windows XP R 2.0.1 Pentium 4 512 memory

[R] Hmisc: Using stratified weighted means (wtd.mean) within a function

2004-10-21 Thread Greg Blevins
is a method for getting stratified weighted means y - runif(500) g - function(y) wtd.mean(y[,1],y[,2]) summarize(cbind(y, wts), llist(xg), g, stat.name='y') Greg Blevins The Market Solutions Group Windows XP, 512 memory, Pentium 4. __ [EMAIL PROTECTED

[R] Dataframe manipulation question

2004-10-06 Thread Greg Blevins
meg memory) Greg Blevins The Market Solutions Group __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Dataframe Manipulation Question

2004-10-06 Thread Greg Blevins
Thanks to all that responded to my problem. I am always amazed by how helpful the R community is! Greg Blevins [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] error running sammon

2004-06-14 Thread Greg Blevins
Hello, I am inputing a 17 x 17 symetric matrix to sammon. The matrix is a co-occurance matrix with no missing data. If this is at all relevant, running hclust on this matrix works. samx - sammon(q23axproduct) I receive the following error: Error in sammon(q23axproduct) : initial

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

2004-06-07 Thread Greg Blevins
a function would streamline this--I have tried to create a function for this, but my efforts to date have turned up junk. Thanks Greg Blevins The Market Solutions Group [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https

[R] Request help writing a function

2004-06-05 Thread Greg Blevins
or an NA. 3) My goal is to determine the percent of time each person used a 2 code. So if a person across these columns had say 8 numerical entries and if 4 of these were the number 2, the answer for that person would be 50%. Best regards, Greg Blevins The Market Solutions Group

Re: [R] Request help writing a function

2004-06-05 Thread Greg Blevins
again, Greg Blevins - Original Message - From: Gabor Grothendieck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 11:51 PM Subject: Re: [R] Request help writing a function I think you need to give an example of input and output to clarify your question but in case

[R] Seeking help with multcomp

2004-04-18 Thread Greg Blevins
, na.action, whichf, ...) : at least one factor required simtest(q12a ~ factor(quota)) Error in parse(file, n, text, prompt) : parse error simtest(q12a ~ factor(quota),na.action=na.exclude) Error in parse(file, n, text, prompt) : parse error Greg Blevins Partner, The Market Solutions Group

[R] Seeking help for outomating regression (over columns) and storing selected output

2004-04-02 Thread Greg Blevins
. Greg Blevins, Partner The Market Solutions Group [[alternative HTML version deleted]] __ [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

[R] A file manipulation question

2004-03-03 Thread Greg Blevins
Hello R experts, The following problem outstrips my current programming knowledge. I have a dataframe with two fields that looks like the following: ID Contract 01 1 01 1 02 2 02 3 02 1 03 2 03 2 03 2 03 1 03 1 03 1 etc... I would

[R] Problem getting an ifelse statment to work

2003-10-06 Thread Greg Blevins
through my two Ripley texts, searched the R-help, and have tried various ifelse statements, but I cannot get it right. Help would be appreciated. Thanks, Greg Blevins The Market Solutions Group [[alternative HTML version deleted]] __ [EMAIL

[R] Using subset with describe in Hmisc

2003-09-05 Thread Greg Blevins
Hello, This is an embarassingly simple question, but I cannot get subset to work with describe. dataframe is attached and called Ph describe(q1, subset=qs3a==1) qs3a is numeric. This runs, but no subset takes place. Thanks in advance. Greg Blevins The Market Solutions Group

[R] Would like to apply a weight variable to the summary functionin Hmisc

2003-08-17 Thread Greg Blevins
? Thanks a lot. Greg Blevins The Market Solutions Group, Inc. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Difficulty replacing NAs using Hmisc aregImpute and Impute

2003-07-25 Thread Greg Blevins
at still has NAs. Much appreciate any help! Greg Blevins The Market Solutions Group, Inc. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Creating a co-occurence matrix

2003-07-01 Thread Greg Blevins
to do this via a program/function (I looked at daisy, but concluded this function would not handle this). Any help would be appreciated! Greg Blevins The Market Solutions Group __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

[R] R and file size

2003-01-06 Thread Greg Blevins
I will be involved with an analysis based on a file that will be roughly 25 meg. Assuming I have enough memory, is their any limitations to using R on a file this large. Thank you, Gregory L. Blevins Vice President, Partner The Market Solutions Group, Inc. [EMAIL PROTECTED] Office phone: