Displaying 20 results from an estimated 3000 matches similar to: "Plot survey data"
2003 Jun 18
3
R: Debian package and source
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.
[[alternative HTML version deleted]]
2003 Sep 20
4
using aggregate with survey-design and survey functions
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 I fix this problem? I have
used aggregate with "mean" and "weighted.mean", and
2003 Feb 19
5
Subpopulations in Complex Surveys
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 not
see this option in the Survey package. Is there another way to do this?
2003 Feb 09
1
label storage and conversions: DBMS and R
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 built-in facilities in R, like
labels.
I am using RMySQL client. Because R makes good use of variable
2002 Nov 13
3
using list to pass argument to function
Hi,
I am trying to apply *sapply* to functions within functions within functions
to do a Monte Carlo experiment: take Y sample of size X based on cell
probabilities (using Brian Ripley's suggestion for drawing from contingency
tables), for each calculate a vector of statistics, calculate bootstrap std
errs with R replications and their means and SD. Store results in a matrix
for further
2003 Oct 20
4
Processing logic for Huge Data set
Hello All,
I am new to R. I am trying to process this huge data set of
matrix containing four columns, say x1, x2, x3, x4 and n number of rows.
I want to aggregate the matrix by x1 and perform statistic based on
columns x2, x3, x4. I tried aggregate function but it gave me memory
allocation error (which I am not surprised), so I ended up performing a
for loop based on x1 and
2023 Mar 23
1
loess plotting problem
Thanks, John.
However, loess.smooth() is producing a very different curve compared to the
one that results from applying predict() on a loess(). I am guessing they
are using different defaults. Correct?
On Thu, 23 Mar 2023 at 20:20, John Fox <jfox at mcmaster.ca> wrote:
> Dear Anupam Tyagi,
>
> You didn't include your data, so it's not possible to see exactly what
>
2023 Jul 07
1
Plotting factors in graph panel
Thanks! You are correct, the graphs look very similar, except ggplot is
scaling the text font to make it more readable. Is there a way to scale
down the x-axis labels, so they are readable?
On Fri, 7 Jul 2023 at 12:02, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> Hallo Anupam
>
> I do not see much difference in ggplot or lattice, they seems to me
> provide almost identical
2003 Apr 08
1
Multiple Merge
How to merge multiple dataframes with a common column? Merge takes only two
dataframes as arguments.
Something like:
df <- merge(df1,df2,df3,...,by="ID")
Anupam.
[[alternate HTML version deleted]]
2023 Jul 07
1
Plotting factors in graph panel
Hallo Anupam
I do not see much difference in ggplot or lattice, they seems to me provide almost identical results when removing theme part from ggplot.
library(ggplot2)
library(lattice)
ggplot(TrialData4, aes(x=Income, y=Percent, group=Measure)) + geom_point() +
geom_line() + facet_wrap(~Measure)
xyplot(Percent ~ Income | Measure, TrialData4,
type = "o", pch = 16, as.table =
2003 Jul 24
3
R-WinEdt problems
Hello,
I've done most all the various steps outlined in a
recent posting to the mailing list archives
(and in the help files) to load and run R-WinEdt. I
can get it to run fine but I am not successful in
getting it to interface with RGui (1.6.2, not
minimized). I try to use the R-line, R-source,
R-paste buttons with no success. [All the necessary
*.edt files appear to be in the proper
2024 Aug 09
1
WDI package commands timing out and not working
In the browser the link downloads immediately, in less than a second. I let
the command run in R for five minutes, using R Studio. Nothing happened.
On Fri, 9 Aug 2024 at 17:54, Ivan Krylov <ikrylov at disroot.org> wrote:
> ? Thu, 8 Aug 2024 12:43:23 +0530
> Anupam Tyagi <anuptyagi at gmail.com> ?????:
>
> > In open.connection(con, "rb") :
> > URL
2023 Jun 29
2
Plotting factors in graph panel
Okay. Here is a modification that does four single line plots.
at_df<-read.table(text=
"Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current
Bank_Savings Bank_NA
$10 1 3.05 29.76 31.18 36.0 46.54 24.75 25.4 3.307
$25 2 2.29 28.79 32.64 36.27 54.01 24.4 18.7 2.891
$40 3 2.24 29.51 34.31 33.94 59.1 25.0 29 13.4
$75 4 1.71 28.90 35.65 33.74 62.17 24.61 11.48 1.746
2023 Jul 06
2
Plotting factors in graph panel
On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote:
>
> Btw, I think "lattice" graphics will provide a better solution than
> "ggplot", because it puts appropriate (space saving) markers on the axes
> and does axes labels well. However, I cannot figure out how to do it in
> "lattice".
You will need to convert Income to a
2023 Jul 06
1
Plotting factors in graph panel
Btw, I think "lattice" graphics will provide a better solution than
"ggplot", because it puts appropriate (space saving) markers on the axes
and does axes labels well. However, I cannot figure out how to do it in
"lattice".
On Thu, 6 Jul 2023 at 15:11, Anupam Tyagi <anuptyagi at gmail.com> wrote:
> Hi John:
>
> Thanks! Below is the data using your
2023 Jun 29
3
Plotting factors in graph panel
Thanks, Pikal and Jim. Yes, it has been a long time Jim. I hope you have
been well.
Pikal, thanks. Your solution may be close to what I want. I did not know
that I was posting in HTML. I just copied the data from Excel and posted in
the email in Gmail. The data is still in Excel, because I have not yet
figured out what is a good way to organize it in R. I am posting it again
below as text. These
2023 Jun 28
1
Plotting factors in graph panel
Hi Anupam,
Haven't heard from you in a long time. Perhaps you want something like this:
at_df<-read.table(text=
"Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current
Bank_Savings Bank_NA
$10 1 3.05 29.76 31.18 36.0 46.54 24.75 25.4 3.307
$25 2 2.29 28.79 32.64 36.27 54.01 24.4 18.7 2.891
$40 3 2.24 29.51 34.31 33.94 59.1 25.0 29 13.4
$75 4 1.71 28.90 35.65 33.74
2023 Mar 23
1
loess plotting problem
Dear Anupam Tyagi,
You didn't include your data, so it's not possible to see exactly what
happened, but I think that you misunderstand the object that loess()
returns. It returns a "loess" object with several components, including
the original data in x and y. So if pass the object to lines(), you'll
simply connect the points, and if x isn't sorted, the points
2013 Apr 04
1
Fwd: Important: message being returned.
Is there a way around bounce back? The moderator has not updated his email
address.
---------- Forwarded message ----------
From: Postmaster <systems-postmaster@world.deshaw.com>
Date: Thu, Apr 4, 2013 at 11:17 AM
Subject: Important: message being returned.
To: anupamtg@gmail.com
Thank you for your inquiry. Miheer Kulkarni is no longer with the firm.
For immediate assistance, please
2023 Jun 29
1
Plotting factors in graph panel
Reposting the data did not help. We do not like to guess, and doing so takes a great deal of time that is likely wasted.
Rows are observations.
Columns are variables.
In Excel, the first row will be variable names and all subsequent rows will be observations.
Income is the first variable. It has seven states: $10, $25, $40, $75, >$75, "No", "Answer"
MF is the second