search for: blevin

Displaying 20 results from an estimated 24 matches for "blevin".

Did you mean: levin
2004 Jun 06
4
Request help writing a function
...columns there is a single numeric code, 1, 2 or 3 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 [[alternative HTML version deleted]]
2004 Mar 04
4
A file manipulation question
...ue in the contract field would be the highest value recorded for a single ID. As you can see above, the number of IDs varies irregularly. Given the above, the new file would look like the following: ID Contract 01 1 02 3 03 2 Thanks in advance for your suggestions. Gregory L. Blevins The Market Solustions Group, Partner [[alternative HTML version deleted]]
2004 Oct 06
8
Dataframe manipulation question
...1 I have tried match, tried to write something that if the current row minus the previous row equal 0 for both Resp# and ActCode, then delete the row, but to no avail. Not knowing what to search on for this problem, I turn to the R experts for help. (Windows 2000, R 2.0, 384 meg memory) Greg Blevins The Market Solutions Group
2005 Aug 25
1
Attempting to recode elements contained in a list
...0 191 Plastic lids Baking sheets 15 7 27 209 Plastic lids Utensils 9 4 20 194 Plastic lids Cell phones 0 0 7 193 Plastic lids Canned goods 0 0 7 197 Plastic lids Hand/dish towel 3 0 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. gblevins at marketsolutionsgroup.com Office phone: 612 392-3163 Cell phone: 612 251-0232 "What is at the beginning but a small error, swells to huge proportions at the cl...
2004 Dec 21
2
How to display each symbol in a different color using plot with summary.formula.reverse
...bols in the graph only show up in black and white. Any suggestions? par(cex=.8) s <- summary(n10 ~ n13, method="reverse", test=T) plot(s, dotsize=1.2, cex.labels=.7, 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]]
2004 Apr 03
3
Seeking help for outomating regression (over columns) and storing selected output
...Y and x1; Y and x2; Y and x3. Total sample: usergroup 1: usergroup 2: (Regression Coefs fill the matrix) usergroup 3: Using 1.8.1 Windows 2000 and XP Help would be most appreciated. Greg Blevins, Partner The Market Solutions Group [[alternative HTML version deleted]]
2003 Oct 07
3
Problem getting an ifelse statment to work
...return(1) + if (a == 2 || b == 2) return(2) + if (a == 3 || b == 3) return(3) + if (a == 4 || b == 4) return(4) + NA + } > mapply(decision, qs2, qs9) [1] 2 1 1 3 4 3 1 1 1 4 1 2 3 1 4 3 1 2 2 3 Hope this is what you want. Andy > -----Original Message----- > From: Greg Blevins [mailto:gblevins at mn.rr.com] > Sent: Monday, October 06, 2003 11:21 PM > To: R-Help > Subject: [R] Problem getting an ifelse statment to work > > > Hello R experts, > > I trust I have a simple request. I have a dataframe which > among its contents are two variabl...
2009 Jan 08
1
library error on start up, error on update packages
...r under C:\Program Files\R\R-2.8.1\Library--I have not found the location where the newly installed package actually resides, but R is smart enough to locate it when I load the package. I am wondering if I have some VISTA setting or administrative rights issue? Any help would be appreciated. Greg Blevins ===================== Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Error in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 'dat...
2010 Oct 18
2
Getting tripped up on NAs in trying to create new variable
.... For example, the following syntax throws NA for row two instead of the hope for "0". test <- ifelse(is.na(df$a) & is.na(df$b), NA, ifelse((!is.na(df$a) | !is.na(df$b)) & ((df$a ==3 | df$b == 3)), 1, 0)) > test NA NA 1 1 0 1 Any help much appreciated. -- Gregory L. Blevins Office 952 944-5743 Cell 612 251 0232 gregblev@gmail.com [[alternative HTML version deleted]]
2003 Jan 06
2
R and file size
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. gblevins at marketsolutionsgroup.com Office phone: 612 392-3163 Cell phone: 612 251-0232
2003 Aug 18
1
Would like to apply a weight variable to the summary function in Hmisc
...package, functions describe and summarize can explicitly take a weight variable. My question is can a weight variable be applied when using 'summary'? For example, using...summary(var1 ~ var2) I would like to weight the data by var 3 (same length). Is this possible? Thanks a lot. Greg Blevins The Market Solutions Group, Inc.
2004 Jun 14
1
error running sammon
...rror: Error in sammon(q23axproduct) : initial configuration must be complete In addition: Warning messages: 1: some of the first 2 eigenvalues are < 0 in: cmdscale(d, k) 2: NaNs produced in: sqrt(ev) > Any suggestions of what is happening and how to rectify this? Thanks Gregory L. Blevins The Market Solutions Group [[alternative HTML version deleted]]
2008 May 03
1
recode involving a count rule
...1 9 7 2 10 3 NA 11 5 1 12 7 2 c <- c(1 , 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2) dfnew <- data.frame(a, b,c) > dfnew a b c 1 3 NA 1 2 5 1 1 3 7 2 2 4 3 NA 1 5 5 1 1 6 7 2 2 7 3 NA 2 8 5 1 1 9 7 2 2 10 3 NA 2 11 5 1 1 12 7 2 2 Thanks Greg R 2.7 XP -- Gregory L. Blevins Office 952 944-5743 Cell 612 251 0232 gregblev@gmail.com [[alternative HTML version deleted]]
2004 Nov 29
1
Seeking help with a simple loop construction
...0 0 0 0 0 0 0 0 0 =============================================================== I have spent 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
2003 Jul 25
1
Difficulty replacing NAs using Hmisc aregImpute and Impute
...q5 q22rev02 q28a 0 88 51 R-squares for Predicting Non-Missing Values for Each Variable Using Last Imputations of Predictors q22rev02 q28a 0.348 0.170 > mean(q28a) [1] NA The q28a that the system is looking at still has NAs. Much appreciate any help! Greg Blevins The Market Solutions Group, Inc.
2005 Apr 26
1
Problems installing and updating packages for 2.1.0 on Windows 2000
...ror in install.packages(NULL, .libPaths()[1], dependencies = TRUE, type = type) : no packages were specified I have uninstalled and reinstalled R 2.1.0 to no avail. I read through the recent treads on similar problems, but if an answer to my problem we given, I missed it. Thanks Greg Blevins The Magrket Solutions Group, Inc. [[alternative HTML version deleted]]
2003 Sep 20
1
grep in version 1.8 (PR#4231)
Full_Name: Gregory L. Blevins Version: 1.8 OS: Windows 2000 Submission from: (NULL) (65.29.54.28) I see this when I open 1.8 Error in grep("united.states", Sys.getlocale("LC_CTYPE"), TRUE) : 5 arguments passed to "grep" which requires 6. R : Copyright 2003, The R Development Core Team...
2005 Aug 23
1
Seeking help with an apparently simple recoding problem
...contain at least one '1', then recode column 3 to NA. Desired recoding of the above three rows: [,1] [,2] [,3] [,4] [,5] [,6] [,7] a 2 NA NA NA NA NA NA b 1 1 NA 1 0 0 0 c 1 1 NA 1 0 0 0 Thanks you. Greg Blevins The Market Solutions Group, Inc. Windows XP, Version 2.1.1
2004 Jun 08
2
Recoding a multiple response question into a series of 1, 0 variables
...0 I know how to do this using brute force (by writing bunch of ifelse statements), but given I have quite a lot of data in the above format, I was hoping 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]]
2004 Dec 03
1
Difficulty implementing "scales" in a lattice plot
...onf.int=.90)) Dotplot(Scanf ~ Cbind(q27a,Lower, Upper)| bumo, xlim=c(5,10), cex=.6, scales = (cex=.5)), par.strip.text=list(cex=.8), xlab="",main="", data=xx2) So, seeking advice on how to reduce text size while retaining 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]]