One possibility is to use a DBMS like MySQL or Postgresql, and RODBC to
connect to these. Search the archives for previous postings about these, have a
look at the first R-Newsletter and at Data Import-Export manual.
In a message dated 8/7/03 1:26:20 PM Eastern Daylight Time,
[EMAIL PROTECTED]
These functions are in the library foreign. You may not have loaded the
library. Load it first, before using the functions. I tried the following on
R1.7.1 on Windows; the functions are available.
library(foreign)
help(read.xport)
help(read.table)
In a message dated 8/6/03 11:48:56 AM
An (the?) early reference for SUR is:
* Arnold Zellner (1962). An efficient method for estimating seemingly
unrelated regressions, and tests for aggregation bias, Journal of the American
Statistical Association, Vol 57, pp348--68.
* For a discusssion, generalization and related references see,
I am trying to make plots that take into account survey weights. This a
survey of the US population. To start with I want to explore the data using pairs,
plot, coplots and lattice. Are there specialized methods that handle survey
weights for plotting? Any pointers?
Anupam.
Hi John,
thanks for the suggestion. What would one consider as large range?
summary(finalwt)
Min. 1st Qu. MedianMean 3rd Qu. Max.
1.8 192.1 462.7 872.8 1018.0 67150.0
The sample is large: about 250,000.
How large a sample should one
In a message dated 9/16/03 7:20:08 PM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
How do you stop R from putting up a dialog box when you quit Rgui?
(I use Windows and I never save workspaces that way)
On windows-98, an easy solution that works:
* Right-click the icon with which you
Hi R users,
I am trying to use the aggregate function with a survey design object and
survey functions, but get the following error. I think I am incorrectly using the
syntax somehow, and it may not be possible to access variables directly by
name in a survey-design object. Am I right? How do
The following paper may be of interest to some. The author is generous about
sharing a recently revised version.
A
HREF=http://papers.ssrn.com/sol3/papers.cfm?abstract_id=259648;http://papers.ssrn.com/sol3/papers.cfm?abstract_id=259648/A
[[alternative HTML version deleted]]
In a message dated 9/19/03 7:46:07 PM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
What do you get from the following:
is.element(income, objects())
spencer graves
is.element(income, objects())
[1] FALSE
The following may give further info about why I am getting this. Design
In a message dated 9/20/03 9:19:57 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
svymean needs the survey metadata to get the right mean, and aggregate
doesn't give it enough information. aggregate would need a separate
method for svydesign objects.
Thanks for the info. I tried
Try eval-linestep C-c C-n in ESS (no cut and paste), and omit the semi-colon
at the end of the statement.
In a message dated 10/2/03 11:12:37 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
Hi,
It didn't help in this case
in *scratch*
v = c(1, #
2, #
3);
highlight
I am trying to modify aggregate.data.frame to create an aggregate method for
survey design objects. I am running into problems because survey design
objects are lists, with the variables and other design information stored in
separate dataframes, or objects of other classes, in this list.
In a message dated 10/20/03 5:11:25 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
Have you actually compared for loop with apply, in terms of timing? Have
you looked at the R code for apply()? It has:
...
if (length(d.call) 2) {
if (length(dn.call))
dimnames(newX)
What is a good way to create a matrix of index variables based on all
possible combinations of a list of factors in a data-frame, say list(age, sex)? age
and sex are numeric and factor variables in a dataframe, with 99 and 2
values, respectively.
I would like to use these for subsetting the
PREI am looking for suggestions for a good Database Management System to use
with R. The main use of this will be to format, query and make subsets of
large datafiles for use in R. I recall reading a comparative write-up either
in the newsletter, in the mails or someone's webpage last summer,
Hi R users,
I am new to using DBMS with R for large datasets. Thanks to all who responded
with useful suggestion to my earlier postings about using large datasets and
DBMS with R. I am writing to get some help about how to design good tables in
DBMS to take full advantage of the wonderful
Hi R users,
I have been trying to install and use RMySQL on Windows98 for
MySQL3.23.55-max using the pulldown menu. I am getting the following errors.
I read the doc and some archived mails about a similar problem on unix like
systems. Still can't get it to work. Some info below that may
In a message dated 2/16/03 6:24:53 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
[EMAIL PROTECTED] wrote:
Thanks. The file is indeed there. By default Windows Explorer makes the
*.dll
files invisible. The file seem to be in a branch of the default library.
I am
missing
Nader,
have tried to install the RODBC package with the next command:
install.packages((ORDBC), (lib=usr/lib/R/library))
But it is failed. Can I get some information about the installation of
this package anywhere?
Best regards,
Nader
An alternate way to install is with R CMD
Hi,
is there a way to analyze subpopulations (e.g. women over 50, those who
answered yes to a particular question) in a survey using Survey package?
Other packages (e.g. Stata, SUDAAN) do this with a subpopulation option to
identify the subpopulation for which the analysis shoud be done. I did
In a message dated 2/23/03 1:19:39 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
On Wed, 19 Feb 2003 [EMAIL PROTECTED] wrote:
Hi,
is there a way to analyze subpopulations (e.g. women over 50, those who
answered yes to a particular question) in a survey using Survey
package?
In a message dated 3/13/03 11:43:26 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
Hello,
Is there any function to perform median regression model ?
Thanks in advance.
Use the functions in Quantreg package.
--Anupam.
[[alternate HTML version deleted]]
In a message dated 3/14/03 10:10:15 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
1*
I need to use logistic regression. But
my data file is very huge( appx. 4 million line).
R doesn't handle such a file.
What can I do ?
It depends on the strength of your computing system as well:
Hi,
where can I find the most up-to-date Debian packages for R and sources in
USA. I will be thankful for the location that I can include in my sources.list.
Are their any special recommendations or instructions for building and
maintaining R on Debian? A web-link will be helpful.
---anupam.
Right click on your WinEdt icon and go to Properties menu-item. In the
Target box look for something like,
[PathToWinEdt]\WinEdt\WinEdt.exe -C=R-WinEdt -e=r.ini
If you don't find something like this, make the change and try it.
* It may be better to have a new icon for R-WinEdt on your desktop
My earlier posting should have said dotchart, not barchart.
1) How does one show confidence-intervals in a dotchart and use rownames
for labels on the y-axes? I have looked at plotCI in gregmisc package .
But it does not seem to produce something like a dotchart. The statistic,
error,
In a message dated 2/10/04 3:33:07 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
On Tue, 10 Feb 2004 04:30:46 EST
[EMAIL PROTECTED] wrote:
My earlier posting should have said dotchart, not barchart.
1) How does one show confidence-intervals in a dotchart and use
rownames for
How can I use row.names() as y-labels in Dotplot? How to set horizontal
orientation for y-lables in lattice()?
Dotplot(stcod1 ~ Cbind(statgh2,statgh2-1.96*segh2,statgh2+1.96*segh2)[og],
subset=statgh2[og]0.1, data=h2inqerrg02st, xlab=G,
ylab=row.names(h2inqerrg02st)[og], main=)
I have tried
In a message dated 2/10/04 12:52:02 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
On Tuesday 10 February 2004 11:55, [EMAIL PROTECTED] wrote:
How can I use row.names() as y-labels in Dotplot? How to set horizontal
orientation for y-lables in lattice()?
Dotplot(stcod1 ~
29 matches
Mail list logo