Re: [R] Variable and value labels

2023-07-13 Thread Anupam Tyagi
Thanks again, Avi. I will read up more on factors. On Thu, 13 Jul, 2023, 8:51 pm , wrote: > Anupam, > > > > Thanks for explaining you are talking about factors. > > > > I see my friend Adrian has pointed out reasons you may want to use a > package he built c

Re: [R] Variable and value labels

2023-07-13 Thread Anupam Tyagi
plotting or displaying results. Maybe I am worried for nothing. I have not used R much after 2003. In the past few months I have begun to use R again with R Studio, mostly for plotting and visualization of data. So, you can think of me as a new user. On Thu, 13 Jul 2023 at 00:14, wrote: > Anu

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-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] 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

[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

[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

Re: [R] Plotting factors in graph panel

2023-07-11 Thread Anupam Tyagi
:57, PIKAL Petr wrote: > Hallo Anupam > > With > > ggplot change axis label size into Google > > the first answer I got was > > axis.text theme > > r - Change size of axes title and labels in ggplot2 - Stack Overflow > <https://stackoverflow.com/quest

Re: [R] Plotting factors in graph panel

2023-07-07 Thread Anupam Tyagi
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 wrote: > Hallo Anupam > > I do not see much difference

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] 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-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-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-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-06-28 Thread Anupam Tyagi
.27 33.94 33.74 29.44 27.25 Bank AC None 1 46.54 54.01 59.1 62.17 67.67 60.87 Current 2 24.75 24.4 25 24.61 24.02 21.09 Savings 3 25.4 18.7 29 11.48 7.103 13.46 No Answer 9 3.307 2.891 13.4 1.746 1.208 4.577 On Wed, 28 Jun 2023 at 17:30, Jim Lemon wrote: > Hi Anupam, > Haven't heard

[R] Plotting factors in graph panel

2023-06-28 Thread Anupam Tyagi
1.09 Savings 3 25.4 18.7 29 11.48 7.103 13.46 No Answer 9 3.307 2.891 13.4 1.746 1.208 4.577 Thanks. -- Anupam. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailm

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
the data columns. Please help. library(stats) attach(gini_pci_wdi_narm) plot(ny_gnp_pcap_pp_kd, si_pov_gini) lines(loess(si_pov_gini ~ ny_gnp_pcap_pp_kd, gini_pci_wdi_narm)) detach(gini_pci_wdi_narm) -- Anupam. [[alternative HTML version deleted]] _

[R] Grouped Boxplot

2014-07-11 Thread anupam sinha
should get three groups of boxplots A, B, and C. Also each of the POS A, B and C should have two boxplots (one for Hubs and one for Nonhubs). Thanks in advance for any help. Anupam [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] reading files

2013-09-04 Thread anupam sinha
Dear Arun, Thanks a ton for your help. Regards, Anupam On Tue, Sep 3, 2013 at 7:12 PM, arun smartpink...@yahoo.com wrote: HI, ?list.files() list.files() #created 4 files in my working directory #[1] A_hubs.txtA_nonhubs.txt B_hubs.txtB_nonhubs.txt #If you want to do

[R] reading files

2013-09-03 Thread anupam sinha
on... I want to calculate the p-value of the function wilcox.test(A_hubs$TIS_SV,A_nonhubs$TIS_SV) and store it in a table of the format NAME p-value A 0.05 Can some give me pointers in the direction? Thanks in advance Anupam [[alternative HTML version deleted

[R] Error message after R-3.0.0 upgrade installation

2013-04-30 Thread Anupam Tyagi
is not consistent with catched value Error: requested primitive type is not consistent with catched value Anupam. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

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 https://stat.ethz.ch/mailman

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

2013-04-04 Thread Anupam Tyagi
! Anupam. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

Re: [R] Deviance in Zero inflated models

2013-04-04 Thread Anupam Tyagi
may also contain some pointers and may be R code. Unfortunately, I have not used R for these type of models. HTH, Anupam. On 4/4/13, Lia McKinnon l.mckinnon...@gmail.com wrote: Dear list, I am running some zero inflated models and would like to know what the deviance of the models. Unlike

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] MAS (non-parametric semi-parametric) methods for survey longitudinal data

2013-04-03 Thread Anupam Tyagi
that these seem to be actively researched topics by some statisticans working on theory --- no packages mentions of software were found in the few (I recall only one) empirical examples found. Anupam. [[alternative HTML version deleted]] __ R

[R] line plot over a barplot

2012-03-15 Thread anupam sinha
the center of each bar or through the top. Is it also possible to get the r-squared and p-values for this trendline? How do I all of the above? I would be extremely indebted by your help. Thanks in advance Regards, Anupam -- Graduate Student, Laboratory of Computational Biology, Center For DNA

Re: [R] help with statistics in R - how to measure the effect of users in groups

2011-10-10 Thread Anupam
Groups are different treatments given to Users for your Outcome (measurement) of interest. Take this idea forward and you will have an answer. Anupam. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Monday

[R] Survey data: Quantile Regressions

2011-08-23 Thread Anupam
has used quantile regressions with survey data? Can you please provide examples of code with some explanations? Anupam. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] RWinEdt

2011-06-30 Thread Anupam
Stata's built in editor is a bad joke for users, and I could never make (X)Emacs or Notepad++ work for Stata. Anupam. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard Valliant Sent: Thursday, June 30, 2011 1:05 AM To: r-help@r

Re: [R] Memory(RAM) issues

2011-06-10 Thread Anupam
and code in your query can also help someone to respond to your message. Anupam. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Abhisek Saha Sent: Saturday, June 11, 2011 6:25 AM To: r-help@r-project.org Subject: [R] Memory(RAM) issues

Re: [R] How do I make proper use of the by() function?

2011-06-10 Thread Anupam
You may want to read about several apply functions. They may help you do what you are trying. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Fredrik Karlsson Sent: Saturday, June 11, 2011 3:13 AM To: R-Help List Subject: [R] How do

Re: [R] Histogram

2011-06-09 Thread Anupam
Nice graphs there. Thanks. I too am looking to make a similar plot, with a difference: I need only the top parts of the many 'histograms' (a step-function like plot for histogram/bar-plots). I already have values for heights of bars for x1-x2 intervals computed from a large survey data; I want

Re: [R] Histogram

2011-06-09 Thread Anupam
] Sent: Thursday, June 09, 2011 5:58 PM To: Anupam Cc: Steven Kennedy; r-help@r-project.org Subject: Re: [R] Histogram It's difficult to understand what exactly you're looking for without seeing an example, could you post a simple version? imgur.com is a website that lets you quickly upload

Re: [R] Decision Trees /Decision Analysis with R?

2011-06-08 Thread Anupam
is used extensively in medicine and public health to study decisions. It even uses MCMC, though with a different flavor --- it may even be a different kind of food. Anupam. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jonathan Daily

[R] overlapping linear plots

2011-01-27 Thread anupam sinha
. Regards, Anupam -- Graduate Student, Laboratory of Computational Biology, Center For DNA Fingerprinting And Diagnostics, 4-1-714 to 725/2, Tuljaguda complex Mozamzahi Road, Nampally, Hyderabad-51 [[alternative HTML version deleted]] __ R-help

Re: [R] problem opening pdf device on Windows 7

2010-09-23 Thread anupam
Peter Dalgaard pdalgd at gmail.com writes: Then I tried: pdf() Error in pdf() : unable to start device pdf In addition: Warning message: In pdf() : cannot open 'pdf' file argument 'Rplots.pdf' And your working directory is writable for you? Otherwise, Change dir from the File

[R] empirical df, cdf and crossing points

2010-09-23 Thread anupam
Hello, I am using survey data with two stage sampling for two sub-populations. I am looking for a package (or packages) that can do the following for a measure of weight. The sub-populations are M (male) and F (female). (1) empirical df and cdf for weight, and compare that across two sub-

[R] problem opening pdf device on Windows 7

2010-09-22 Thread anupam
I can not open PDf device. Acrobat is closed. I have checked archives but could not find a solution. What should I do? cont.cdfplot(myanalysis.pdf, myanalysis$CDF, ylbl.r=Stream Length (km)) Error in pdf(file = pdffile, width = width, height = height) : unable to start device pdf In

[R] Error while installing 'netmodels'

2010-02-16 Thread anupam sinha
] tcltk_2.9.0 tools_2.9.0 Detecting remotely related proteins by their Error: unexpected symbol in Detecting remotely interactions and sequence similarity Error: unexpected symbol in interactions and Regards, Anupam Sinha [[alternative HTML version deleted

Re: [R] Directory operations

2010-01-10 Thread anupam sinha
Hi Uwe, Thanks for your suggestion . Here's my code. I am confused as to how to initialize an empty list . Here I have used pairlist() *list.files()-org_xml_dirs for (i in org_xml_dirs) { setwd(file.path(/home/anupam/Research/Anupam_data/ORG_XML_FILES/,i)) org_xml-list.files

Re: [R] Directory operations

2010-01-09 Thread anupam sinha
Hi Jim, Thanks for your suggestion. I tried scripting but gives me an error. Can you tell me what am I doing wrong here ? * list.files()-org_xml_dirs for (i in org_xml_dirs){ + setwd(/home/anupam/Research/Anupam_data/ORG_XML_FILES/i)} Error in setwd(/home/anupam/Research

[R] Directory operations

2010-01-08 Thread anupam sinha
). What I want to do is to enter into the first directory read all the xml files do certain operations come out of the directory and do the same thing for another directory. Can anyone help me out ? Thanks in advance for any suggestions. Regards, Anupam Sinha [[alternative HTML version

[R] Problems in plotting with abline

2009-07-13 Thread anupam sinha
. Regards, Anupam Sinha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

Re: [R] Problems in plotting with abline

2009-07-13 Thread anupam sinha
,met_eco_bet) abline(lmout) Regards, Alain anupam sinha wrote: Dear R-users, I am using R(a package igraph) to calculate certain topological features of networks. When I try to draw a plot between these features I get an error. Following is the code I am using : * plot

[R] Fitting a trend-line

2009-07-08 Thread anupam sinha
Hi all, I am new to R. How does one go about fitting a trend-line to a scatter plot? Any help is appreciated. Thanks and regards, Anupam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Fitting a trend-line

2009-07-08 Thread anupam sinha
Thanks a lot for all your suggestions. Regards, Anupam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] problem with ls command

2009-05-29 Thread anupam sinha
and this is true for any package. Can anything be done ? Regards, Anupam Sinha, Graduate Student, Laboratory of Computational Biology, Centre for DNA fingerprinting and Diagnostics Hyderabad, India - 51 [[alternative HTML version deleted]] __ R

[R] Unable to load R

2009-05-28 Thread anupam sinha
or directory* I have checked for the presence of the above mention library and found that the library is present. I have run out of ideas. Can anyone help me out??? I will be greatly indebted. Cheers, Anupam Sinha, Graduate Student, Lab of Computational Biology, Centre for DNA Fingerprinting

Re: [R] Unable to load R

2009-05-28 Thread anupam sinha
% |=| 1.3 kB 00:00 Setting up Install Process Parsing package install arguments Package readline - 5.1-1.1.x86_64 is already installed. Package readline - 5.1-1.1.i386 is already installed. Nothing to do Plzz help me out. Cheers, Anupam Sinha On Thu, May 28, 2009 at 11:54 AM, Zeljko

[R] Unable to install R package

2009-05-11 Thread anupam sinha
... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. Regards, Anupam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] R-help Digest, Vol 74, Issue 20

2009-04-22 Thread anupam sinha
in advance. Regards, Anupam Sinha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

[R] Problems with old version of R

2009-04-22 Thread anupam sinha
in advance. Anupam Sinha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal