[R] MAS (non-parametric semi-parametric) methods for survey longitudinal data

2013-04-03 Thread Anupam Tyagi
Is there a package that provides equivalents of MASS package, especially non-parametric and semi-parametric methods for complex survey and longitudinal data? Is there a book that someone recommend that covers these topics with R (or Stata) examples? My web-searches have not resulted in much except

Re: [R] node stack overflow when extracting labels from a dendrogram

2013-04-04 Thread Anupam Tyagi
You are doing better: I had crashed a Unix workstation some years ago trying to read 3-d Table of about 50x50x150 in S+. You may just have to wait for computer to be better. Anupam. On Thu, Apr 4, 2013 at 9:23 AM, Oleksandr Moskalenko o...@hpc.ufl.edu wrote: It looks like R 3.0.0 has the same

[R] Fwd: Important: message being returned.

2013-04-04 Thread Anupam Tyagi
for your inquiry. Miheer Kulkarni is no longer with the firm. For immediate assistance, please contact Reception at +1-212-478-. Sincerely, The D. E. Shaw Group -- 8 --- CUT HERE -- CUT HERE --- 8 -- From:Anupam Tyagi anupa...@gmail.com To: R help-list r-help

[R] moderator has not updated email address: can not post to r-help

2013-04-04 Thread Anupam Tyagi
The list moderator has not updated email address from previous employer. i can not post to r-help. Is there a way around this? Anupam. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] non-parametric semi-parametric methods for survey longitudinal data

2013-04-04 Thread Anupam Tyagi
Is there a package that provides estimators/measures for non-parametric and semi-parametric methods for use with survey and longitudinal data? Is there a book that someone recommends that covers these topics with R examples? My web-searches have shown few directly relevant papers and very little

Re: [R] Deviance in Zero inflated models

2013-04-04 Thread Anupam Tyagi
The terminology could be specific to discipline. Check the Econometrics and Finance views. There isn't a health econometrics / statistics view yet which may have had this information, though you could look package Design and the author's web-page. Anirban Basu's and co-autors webpages at U Chicago

Re: [R] help with kriging interpolation

2013-04-04 Thread Anupam Tyagi
You may want to look at a GIS related package in R. The soil sampling example makes sense. Anupam. On 4/4/13, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: I am no expert on kriging, but I do know that your question desperately needs a reproducible example [1] that illustrates the actual

[R] Error message after R-3.0.0 upgrade installation

2013-04-30 Thread Anupam Tyagi
R-3.0.0 prints an error message at startup. I uninstalled a previous version and installed this on Windows 8. Uninstall of previous version deleted all previously installed packages and I forgot to keep a list of them. How do I correct this error? Error: requested primitive type is not

Re: [R] loess plotting problem

2023-03-23 Thread Anupam Tyagi
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 wrote: > Dear Anupam Tyagi, > > You didn'

[R] loess plotting problem

2023-03-23 Thread Anupam Tyagi
For some reason the following code is not plotting as I want it to. I want to plot a "loess" line plotted over a scatter plot. I get a jumble, with lines connecting all the points. I had a similar problem with "lowess". I solved that by dropping "NA" rows from the data columns. Please help.

Re: [R] Plotting factors in graph panel

2023-07-03 Thread Anupam Tyagi
Attached is another example plot, that is better than the earlier one. On Mon, 3 Jul 2023 at 15:21, Anupam Tyagi wrote: > I thought maybe I can share with you how the data looks in Excel, and an > example plot I found on the web that looks similar to what I want to plot. > These are

Re: [R] Plotting factors in graph panel

2023-07-03 Thread Anupam Tyagi
ngs", > xlab="Income",ylab="%",xaxt="n") > axis(1,at=1:5,labels=at_df$Income) > plot(at_df[,"MF_Equity"], > type="l",lwd=3,main="MF_Equity", > xlab="Income",ylab="%",xaxt="n") > axis(

Re: [R] Plotting factors in graph panel

2023-07-07 Thread Anupam Tyagi
; From: R-help On Behalf Of Deepayan Sarkar > > Sent: Thursday, July 6, 2023 3:06 PM > > To: Anupam Tyagi > > Cc: r-help@r-project.org > > Subject: Re: [R] Plotting factors in graph panel > > > > On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi wrote: > > > &

Re: [R] Plotting factors in graph panel

2023-07-07 Thread Anupam Tyagi
. On Thu, 6 Jul 2023 at 18:35, Deepayan Sarkar wrote: > On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi wrote: > > > > Btw, I think "lattice" graphics will provide a better solution than > > "ggplot", because it puts appropriate (space saving) markers on the axes

Re: [R] Variable and value labels

2023-07-12 Thread Anupam Tyagi
:33 pm Martin Maechler, wrote: > >>>>> Anupam Tyagi > >>>>> on Wed, 12 Jul 2023 09:18:55 +0530 writes: > > > Hello, > > > is there an easy way to do variable and value labels (for > > factor variables) in base-R, witho

Re: [R] Variable and value labels

2023-07-12 Thread Anupam Tyagi
manual")) > mtcars > > # add a variable label via comment() > comment(mtcars$am) <- "Type of transmission" > > # extract all the variable labels > sapply(mtcars, comment) > > Best, > Wolfgang > > >-Original Message- > >From: R-help [mailto:

Re: [R] Variable and value labels

2023-07-13 Thread Anupam Tyagi
ritten in R, you may see how it does something and take a part of the code > and use it yourself. > > > > -Original Message- > From: R-help On Behalf Of Anupam Tyagi > Sent: Tuesday, July 11, 2023 11:49 PM > To: r-help mailing list > Subject: [R] Variable and value la

Re: [R] Plotting factors in graph panel

2023-07-11 Thread Anupam Tyagi
t; 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 = TRUE, grid = TRUE) > > So it is probably only matter of

[R] Alternative to rggobi

2023-07-11 Thread Anupam Tyagi
Hello, since rggobi is not available, is there an alternative to rggobi? -- Anupam. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] Variable and value labels

2023-07-11 Thread Anupam Tyagi
Hello, is there an easy way to do variable and value labels (for factor variables) in base-R, without using a package. If not, what is an easy and good way to do labels, using an add-on package. -- Anupam. [[alternative HTML version deleted]]

Re: [R] Plotting factors in graph panel

2023-07-11 Thread Anupam Tyagi
Wonderful! This is great news. Thanks, Deepayan. On Wed, 12 Jul 2023 at 09:21, Deepayan Sarkar wrote: > > > On Wed, 12 Jul 2023 at 08:57, Anupam Tyagi wrote: > >> Thanks. >> I made a graph in Stata that is close to what I want in R. Stata graph is >> attached

Re: [R] Variable and value labels

2023-07-13 Thread Anupam Tyagi
o the display > is graphed in that order. > > > > And as I answered another person, some graphing functions allow you to do > other kinds of labeling on top of the plot that may meet your needs. > > > > I may be the opposite of you as I did not use R much before 2003

Re: [R] Plotting factors in graph panel

2023-07-05 Thread Anupam Tyagi
; axis(1,at=1:5,labels=at_df$Income) > plot(at_df[,"MF_Equity"], > type="l",lwd=3,main="MF_Equity", > xlab="Income",ylab="%",xaxt="n") > axis(1,at=1:5,labels=at_df$Income) > plot(at_df[,"MF_Debt"], > type=&

Re: [R] Plotting factors in graph panel

2023-07-06 Thread Anupam Tyagi
None 3", "MF None 3", "MF None 3", "MF None 3", "MF None 3", "MF Equity 3", "MF Equity 3", "MF Equity 3", "MF Equity 3", "MF Equity 3", "MF Debt 3", "MF Debt 3", "MF Debt 3&q

Re: [R] Plotting factors in graph panel

2023-07-06 Thread Anupam Tyagi
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

Re: [R] Plotting factors in graph panel

2023-06-28 Thread Anupam Tyagi
ot;,"MF_Hybrid"), > lty=1:4,lwd=3,col=1:4) > matplot(at_df[,c("Bank_None","Bank_Current","Bank_Savings")], > type="l",col=1:3,lty=1:4,lwd=3, > main="Percentages by Income and Bank type", > xlab="Income",ylab=&quo

[R] Plotting factors in graph panel

2023-06-28 Thread Anupam Tyagi
Hello, I want to plot the following kind of data (percentage of respondents from a survey) that varies by Income into many small *line* graphs in a panel of graphs. I want to omit "No Answer" categories. I want to see how each one of the categories (percentages), "None", " Equity", etc. varies by