similar to: Running Internet Explorer from Withing R

Displaying 20 results from an estimated 2000 matches similar to: "Running Internet Explorer from Withing R"

2007 Jul 28
4
beta regressions in R
Good morning, Does anyone know of a package or function to do a beta regression? Thanks, Walt Paczkowski _________________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 (V) 609-936-8999 (F) 609-936-3733
2009 Sep 24
2
RODBC problem
Hi, I'm attempting to use the RODBC package on Windows Vista to import an excel spreadsheet. The spreadsheet has three worksheets the last of which is blank. Following an example in Phil Spector's book (p. 34), after creating a connection named con I did the following: > con RODBC Connection 3 Details: case=nochange DBQ=c:\temp\test.xls DefaultDir=c:\temp
2010 Aug 15
5
reading a text file, one line at a time
Hi, I have an upcoming project that will involve a large text file. I want to 1. read the file into R one line at a time 2. do some string manipulations on the line 3. write the line to another text file. I can handle the last two parts. Scan and read.table seem to read the whole file in at once. Since this is a very large file (several hundred thousand lines), this is not
2010 May 21
1
viewing function code
Hi, I want to view the code for the function confint in the stats package. Typing just confint doesn't work. How can I view the code? Thanks, Walt ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 ________________________ (V) 609-936-8999 (F) 609-936-3733 walt at dataanalyticscorp.com www.dataanalyticscorp.com
2012 Jul 19
3
median comparison tests
Hi, A client has a consumption measure on each of four products. The sample size is 75. The consumption distributions are highly skewed for each product. He would like a pairwise comparison test of the products, much like Tukey's HSD but using medians rather than means. Is there such a median comparison test in R? Thanks, Walt ________________________ Walter R. Paczkowski, Ph.D.
2011 Jul 21
2
installing Rgraphviz
Hi, I attempted to install Rgraphviz but ran into a problem. It requires graphviz 2.20.3. I have this and installed it but the Windows 7 system path variable has to be modified to include the path to the graphviz bin file. How do I do this on Windows 7? It's been a long time since I had to change the path variable. Thanks, Walt ________________________ Walter R. Paczkowski, Ph.D.
2009 Jul 27
2
Multiple graphs
Hi, I wrote a simple master function, run(), that has inside six qplot functions. The goal is to type run() and have all six graphs appear as separate windows so that I can copy them into PowerPoint for a client. When I type run(), only the last graph appears, the first five apparently being overwritten. How do I get all six in separate windows, ready for copying? By the way, is the a way
2013 Jan 07
3
pattern matching
Hi, I have a simple question. Suppose I have a string "x$Expensive". I want to find the position of the $ in this string; i.e., I want a function that returns 2. I tried grep, regexpr, etc with no luck, unless I'm just using them incorrectly. Any suggestions? Thanks, Walt ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro,
2007 Mar 08
1
reading a text file with a stray carriage return
Hi, I'm hoping someone has a suggestion for handling a simple problem. A client gave me a comma separated value file (call it x.csv) that has an id and name and address for about 25,000 people (25,000 records). I used read.table to read it, but then discovered that there are stray carriage returns on several records. This plays havoc with read.table since it starts a
2011 Sep 28
1
using the system command
Hi, I started playing around with a function for using StatTransfer (version 10) for importing data. This started as a simple task but it's not working and so now I'm very frustrated. I'm using R version 2.13 on Windows 7. The function, called fn.importData, is: function(file = NULL, type = NULL){ ## ## create statTransfer command file -
2013 Jan 02
2
listing all test functions in base R
Hi, Is there a way to create a list of all statistical test functions in base R? For example, there's t.test, ks.test, chisq.test, etc. I'd like to create a list of these test names because I keep looking for different tests but never know what's available. I'm thinking of a regular expression statement but I'm not sure how this would work for functions. Or is there a
2011 Jun 21
1
Estimating choice models at the individual level
Hi, I have a discrete choice model to estimate for a client that I originally planned to estimate as an aggregate model using a clogit routine. Now the client is asking for results for many segments of the respondents which would mean, if I stayed with my original plan, I would have to estimate a large number of models. I could certainly do this, but I'm thinking that it would be
2007 Jul 19
2
multinomial logit estimation
Good morning, I'd like to estimate a simple multinomial logit model in R (not a McFadden conditional logit). For instance, I'd like to estimate the probability of someone having one of eight titles in a company with the independent variables being the company characteristics. A binary logit is well documented. What about the multinomial? Thanks, Walt Paczkowski
2005 Nov 14
2
Using pakage foreign and to import SAS file
Hi, I'm struggling with foreign to import a SAS file. The file, for lack of imagination, is d.sas7bdat and is in my root directory (c:\) under Windows XP. When I type read.ssd("c:\\", "d") which I think I'm suppose to enter, I get SAS failed. SAS program at C:\DOCUME~1\Owner\LOCALS~1\Temp\Rtmp32758\file19621.sas The log file will be file19621.log in the current
2005 Nov 26
1
Using an editor with R
Hello, I changed the setting in options$editor to allow me to use my favorite editor. In R 2.1.1 on Windows XP, I entered at the command line: options(editor="c:\\program files\\winedit\\winedit.exe") When I edited a function, say test, using fix(test), the editor opened perfectly. But, when I saved the file and closed the editor, the R gui screen was white, blank, and completely
2009 Oct 28
1
cross-over designs
Hi, I have a dataset from a client where the data is from a cross-over design. Basically, each subject in a survey was asked to rate two products, A and B. The subject sampled A first and then after an appropriate wash-out period he/she sampled B. The next subject did the same, but in a different order. How can I do an ANOVA analysis on a cross-over design with only two treatments. This
2007 Apr 23
5
Changing working directory
Good morning, I keep copies my .RData file in different directories for different projects on Windows XP. There is an icon on my desktop for each project so all I have to do is click on the icon to open R for a specific project, i.e. a specific .RData file. How do I change to another .RData file from within R without first closing R? Thanks, Walt Paczkowski
2011 Jul 15
2
scaling advice
Hi, I have a consultants nightmare -- I was given a project that another consultant did and I was told to do the same calculations, but there's no documentation on what he did. Basically, I have yes/no answers to survey questions about the effectiveness of product attributes by brands. There are 44 attributes and 13 brands. The other guy scaled the proportion of respondents who said
2009 Feb 24
0
R, Shapley Values and TURF
Hi, I'm looking for any information on calculating and using Shapley Values in a TURF context. A paper was presented at an S-Plus conference about this: Conklin M., Lipovetsky S. Modern Marketing Research Combinatorial Computations: Shapley Value versus TURF Tools, Proceedings of 1998 International S-Plus User Conference, Oct. 8-9, 1998, Washington, DC, MathSoft Inc. Does anyone have
2009 Aug 23
1
ggplot2 and mtext question
Hi, In R base graphics, the function mtext can be used to add text to the margins of a plot. This is very useful for adding notes (such as data source, sample size, etc.) to the bottom of a graph. How can such notes be added to the bottom of a graph when using ggplot2? Thanks, Walt -- ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane