Re: [R] Help with R script

2017-07-14 Thread Vijayan Padmanabhan
these solutions.. Thanks & Regards VP From: Ulrik Stervbo <ulrik.ster...@gmail.com> To: "MacQueen, Don" <macque...@llnl.gov>, Vijayan Padmanabhan <v.padmanab...@itc.in>, "r-help@r-project.org"

[R] Help with R script

2017-07-13 Thread Vijayan Padmanabhan
Dear R-help Group Scenario 1: I have a text file running to 1000 of lines...that is like as follows: [922] "FieldName: Wk3PackSubMonth" [923] "FieldValue: Apr" [924] "FieldName: Wk3PackSubYear" [925] "FieldValue: 2017" [926] "FieldName: Wk3Code1" [927] "FieldValue: " [928]

[R] field values from text file to dataframe

2017-03-11 Thread Vijayan Padmanabhan
Dear r-help group I have a text file which is a data dump of a pdf form as given below.. I want it to be converted into a data frame with field name as column names and the field value as the row value for each field. I might have different pdf forms with different field name value pairs to

[R] reading form data from pdf forms

2017-03-10 Thread Vijayan Padmanabhan
Dear R-Help group Is there any way that I can programmatically extract form field values from a pdf form (either saved as pdf or fdf) in R? I would wish to not be dependent on any Paid tool for this purpose. Any guidance would be much appreciated. Regards VP [[alternative HTML version

[R] Plot of Word Frequency between two groups..

2014-02-16 Thread Vijayan Padmanabhan
Dear R Group Does anyone know of a R plotting script that can plot wordfrequency comparison between two groups in a manner similar to this plot as shown in the following link? http://www.nytimes.com/interactive/2012/09/06/us/politics/convention-word-counts.html?_r=0 Regards Vijayan Padmanabhan

[R] GUI Development reg

2012-11-14 Thread Vijayan Padmanabhan
want to be able to select a few elements say my requirement is to select A, D and E from the list and want to pass the selection into a new vector b, such that b-c(A, D , E) How do i do this in R? Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof

[R] Suggestion on Model Def - reg in nlme

2012-02-26 Thread Vijayan Padmanabhan
=mcp(Treatment=Tukey))) plot(summary(glht(model,linfct=mcp(Treatment=Tukey))),cex.axis=0.6) Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Please visit us at www.itcportal.com

[R] win zip archive of library(HH) for R2.12.0

2012-02-26 Thread Vijayan Padmanabhan
Dear R Group Can any body point me to a link from where I can get zip archive of the package HH for R 2.12.0? Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Please visit us at www.itcportal.com

Re: [R] win zip archive of library(HH) for R2.12.0

2012-02-26 Thread Vijayan Padmanabhan
Dear Michael I checked this link.. the archives shown here are all tar.gz versions. I am looking for a zip archive, to install on my windows XP installation of R 2.12.0. pl help if you have the link to windows archives. Thanks Regards Vijayan Padmanabhan What is expressed without proof can

Re: [R] win zip archive of library(HH) for R2.12.0

2012-02-26 Thread Vijayan Padmanabhan
in a local drive path and ran the following command at R Prompt.. It works! install.packages(H:/RPackages/HH_2.1-32.tar.gz, repos = NULL, type=source) Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. R. Michael Weylandt michael.weyla

Re: [R] win zip archive of library(HH) for R2.12.0

2012-02-26 Thread Vijayan Padmanabhan
Thank you.. I cant imagine that I missed the most obvious route from my attempt! Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Uwe Ligges lig...@statistik.tu-dortmund.de 02/27/2012 12:57 PM To Vijayan Padmanabhan v.padmanab...@itc.in

[R] add.cross.strata.test function query

2012-02-21 Thread Vijayan Padmanabhan
in the above function to permit running chi-square on each strata? I know add.chi.squared() will help, but if i want to use the add.cross.strata.test, then what change in chi-squared function should i carry out to overcome this error? Regards Vijayan Padmanabhan Regards Vijayan Padmanabhan Please

[R] help with matrix column cleaning

2012-02-13 Thread Vijayan Padmanabhan
cell from each row and delete columns that have more than one row having the same start letter. Thanks for your help. Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Please visit us at www.itcportal.com

[R] random value generation with added constraint.

2011-08-04 Thread Vijayan Padmanabhan
that they only take values between say X to X+25 How do i do this in R? Any help would be highly appreciated,. Thanks Vijayan Padmanabhan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] how to subtract one string from another in R

2011-06-18 Thread Vijayan Padmanabhan
-string-string1 (it should now hold DEFG HIJKLM NOPQ RSTUV WXY I want to loop this till i reach the end of the original string.. stringn-WXY Any help would be appreciated. Regards Vijayan Padmanabhan [[alternative HTML version deleted]] __ R

Re: [R] how to subtract one string from another in R

2011-06-18 Thread Vijayan Padmanabhan
On Sat, Jun 18, 2011 at 1:36 AM, Vijayan Padmanabhan padmanabhan.vija...@gmail.com wrote: Dear R Group Here is what i am trying to do.. but couldnt figure out how.. string-ABC DEFG HIJKLM NOPQ RSTUV WXY string1-substr(string,1,4) I want to create an R object string 2 ( following

Re: [R] lattice plot query

2011-06-10 Thread Vijayan Padmanabhan
]) print(xyplot(value ~ Time | Subj, data=data2,layout = c(6,3), aspect = xy,as.table = TRUE, type = c(g, p, r),drop.unused.levels=TRUE,ylab = paste(value of,Attributeindata[i],for Product,productindata[j]), xlab = Time,)) } } graphics.off() Regards Vijayan Padmanabhan

[R] lattice plot query

2011-06-09 Thread Vijayan Padmanabhan
tried reorder function on the factor level Subj but it does not give the desired result. Any help in modifying the code above to meet the requirement would be highly appreciated. Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Please

[R] library(SenoMineR)- Triangle Test Query

2011-06-04 Thread Vijayan Padmanabhan
wrong here would be highly appreciated. Regards Vijayan Padmanabhan [[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

[R] dataframe - column value calculation in R

2011-05-26 Thread Vijayan Padmanabhan
9.110433579 Treatment2 1 2 35 1 3 10.24695077 Treatment2 2 1 34 2 3 7.071067812 Treatment2 2 2 28 2 1 1.414213562 Can someone help me figure out a way of acheiving this in R using a function call for the last column? Hope this example helps. Regards Vijayan Padmanabhan Please visit us

[R] Password-protect R script files

2011-04-10 Thread Vijayan Padmanabhan
route, however making available such a method in the open forum would only kill the very spirit of R. But if someone is able to convince me the genuineness of his reasons to achieve such a purpose, I might decide to provide selective service to achieve the same. Regards Vijayan Padmanabhan

[R] Hypercluster Finder Function in R

2011-04-07 Thread Vijayan Padmanabhan
already Does someone know if there is any package that exists for running this algorithm? or does anybody have a function developed on this basis? Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Please visit us at www.itcportal.com

Re: [R] help

2011-04-04 Thread Vijayan Padmanabhan
) options(useFancyQuotes=FALSE) system(noquote(paste(pdftools -S,dQuote(paste(attachfiles=C:\\test1.pdf|C:\\Document-1.pdf)), paste(-i C:\\test2.pdf -o C:\\test3.pdf Regards Vijayan Padmanabhan On Sun, Apr 3, 2011 at 5:21 PM, Mike Marchywka marchy...@hotmail.comwrote: Date: Sun, 3 Apr 2011 01:35

[R] help

2011-04-02 Thread Vijayan Padmanabhan
from my system as attachment into the newly created pdf file. Any help would be greatly appreciated.. Here is the command line script i want to execute from within R. pdftools -S attachfiles=C:\test1.pdf -i C:\test2.pdf -o C:\test4.pdf Regards Vijayan Padmanabhan [[alternative HTML version

[R] transform a df with a condition

2011-01-17 Thread Vijayan Padmanabhan
df-unsplit(dat2,df$ID) tmp - lapply(split(df, df[,4]), function(x) within(x, if(A==3)K - chartr(f,m,K))) dat2-tmp df-unsplit(dat2,df$ID) return(df) } dfnew-changefunction(df) df$ID-NULL dfnew$ID-NULL dfnew Regards Vijayan Padmanabhan What is expressed without proof can be denied without

Re: [R] randomForest - PartialPlot - reg

2010-09-24 Thread Vijayan Padmanabhan
Thanks for the elaborate detailing. I see sense now. Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Liaw, Andy andy_l...@merck.com 09/24/2010 04:31 PM To Vijayan Padmanabhan v.padmanab...@itc.in, r-help r-help@r-project.org cc

[R] randomForest - PartialPlot - reg

2010-09-22 Thread Vijayan Padmanabhan
Textual interpretation of the output from the experts in this area, would help me understand this concept of marginal effect being plotted for the variable Sepal.Length on the which.class=setosa. Thanks for your help. Regards Vijayan Padmanabhan What is expressed without proof can be denied

[R] randomForest - partialPlot - Reg

2010-09-21 Thread Vijayan Padmanabhan
display value more than -1 for some variables? Am i missing something! Thanks Regards Vijayan Padmanabhan Can you avoid printing this? Think of the environment before printing the email. --- Please visit us

[R] Maxdiff Analysis in R

2010-09-09 Thread Vijayan Padmanabhan
Dear Group Does anybody have an example data and R Script for analysis of Maxdiff study in R. Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Can you avoid printing this? Think of the environment before printing the email

[R] Help with HB analysis in R for a conjoint study Data

2010-09-09 Thread Vijayan Padmanabhan
this example data and interpret it). Thanks in Advance. Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Can you avoid printing this? Think of the environment before printing the email

[R] Help with repeating values in a column of dataframe in R on a random pattern- reg

2010-09-07 Thread Vijayan Padmanabhan
again, for the next 3 rows of that column i would want this order differently say 1,0,0 and so on.. Can anybody help how i can acheive this. Thanks. Regards Vijayan Padmanabhan Can you avoid printing this? Think of the environment before printing the email

[R] Query on linear mixed model

2010-05-18 Thread Vijayan Padmanabhan
products for the measured response? Regards Vijayan Padmanabhan Research Scientist, ITC RD, Phase I, Peenya, Bangalore - 58 The Full R script is given below: MyData - data.frame(Subj = factor(rep(c(S1, S2, S3), 18)), Product = factor(rep(letters[1:3],each=3,54)), Arm = factor(rep(c(L,R),each=9,54

Re: [R] Query on linear mixed model

2010-05-18 Thread Vijayan Padmanabhan
Thanks Joshua.. It really helped in polishing my coding essentials in R. Thanks Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Joshua

Re: [R] Query on linear mixed model

2010-05-18 Thread Vijayan Padmanabhan
Thanks Ista.. I will take your suggestion. Regards Vijayan Padmanabhan What is expressed without proof can be denied without proof - Euclide. Ista Zahn

[R] Query on linear mixed model

2010-05-17 Thread Vijayan Padmanabhan
products for the measured response? Regards Vijayan Padmanabhan Research Scientist, ITC RD, Phase I, Peenya, Bangalore - 58 The Full R script is given below: MyData - data.frame(Subj = factor(rep(c(S1, S2, S3), 18)), Product = factor(rep(letters[1:3],each=3,54)), Arm = factor(rep(c(L,R),each=9,54