[R] spatial probit/logit for prediction

2008-08-19 Thread Freeman, Robert
Hello all, I am wondering if there is a way to do a spatial error probit/logit model in R? I can't seem to find it in any of the packages. I can do it in MATLAB with Gibbs sampling, but would like to confirm the results. Ideally I would like to use this model to predict probability of parce

Re: [R] Survey Design / Rake questions

2008-08-19 Thread Farley, Robert
h_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] graphics grDevices utils datasets stats methods base other attached packages: [1] survey_3.8 fortunes_1.3-5 moonsun_0.1prettyR_1.3-2 foreign_0.8-28 > #

Re: [R] Writing R Extensions : A new R package for Gini Index decomposition to prupose

2008-08-19 Thread Robert Duval
there are many useful decompositions of the Gini... which one did you implement? On Tue, Aug 19, 2008 at 8:42 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > See if there is interest. If there is not make your own package or > see if someone else would like to include it into a package that is >

Re: [R] Survey Design / Rake questions

2008-08-20 Thread Farley, Robert
,73.65 ) > EBNumStn <- c(673.65, 800, 1000, 1000, 800, 700, 600, 500, 400, 200, 50, 50 ) > ByEBOn <- data.frame(OnLabels,EBOnNewTots) > ByEBNum <- data.frame(c(1:12),EBNumStn) > RakedEBSurvey <- rake(EBDesign, list(~ByEBOn, ~ByEBNum), list(EBOnNewTots, EB

[R] data.frame() creates list?

2008-08-20 Thread Farley, Robert
h_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] graphics grDevices utils datasets stats methods base other attached packages: [1] survey_3.8 fortunes_1.3-5 moonsun_0.1prettyR_1.3-2 foreign_0.8

Re: [R] Survey Design / Rake questions

2008-08-22 Thread Farley, Robert
Canyon North Hollywood Pierce College Reseda Sepulveda Tampa Valley College Van Nuys Warner Center Woodley Woodman > > str(EBSurvey$NumStn) Factor w/ 12 levels "1","2","3","4",..: 10 12 4 12 8 1 8 8 12 4 ... > EBSurvey$NumStn[1:5] [1] 10 12 4 12 8 Levels: 1 2 3 4 5 6 7 8 9 10 11 12 > str(ByEBNum$StnTraveld) Factor w/ 12 levels "1","10","11",.

Re: [R] Survey Design / Rake questions

2008-08-25 Thread Farley, Robert
t;,..: 11 2 5 8 6 1 12 7 10 13 ... > ByEBOn$StnName[1:5] [1] Warner Center De SotoPierce College Tampa Reseda 13 Levels: Balboa De Soto Laurel Canyon North Hollywood ... Woodman > > str(EBSurvey$NumStn) Factor w/ 12 levels "1","2","3","4

Re: [R] Survey Design / Rake questions

2008-08-25 Thread Farley, Robert
str(ByEBOn$StnName) Factor w/ 13 levels "Balboa","De Soto",..: 11 2 5 8 6 1 12 7 10 13 ... > ByEBOn$StnName[1:5] [1] Warner Center De SotoPierce College Tampa Reseda 13 Levels: Balboa De Soto Laurel Canyon North Hollywood ... Woodman > > str(EB

Re: [R] Two envelopes problem

2008-08-26 Thread Farley, Robert
evil and the multiples of 10 that I always put in the envelopes were 0x$10 and 0x$10. When you opened an empty envelope, what are the odds the other has $1,000,000? What are the odds it has $10? It seems the information given can be misleading. Robert Farley Metro www.Metro.net

Re: [R] How to learn R language?

2008-08-27 Thread Robert Baer
On 27-Aug-08 14:24:31, Charles Annis, P.E. wrote: There are many books, but if I had to choose one that teaches R and teaches statistics at the same time (Yes, you already know stats, so it will be that much easier) I'd choose Peter Dalgaard's book, Introductory Statistics with R. It's excepti

Re: [R] Survey Design / Rake questions

2008-08-28 Thread Farley, Robert
3 levels "Warner Center",..: 3 1 1 1 2 13 1 5 1 5 ... > str(ByEBOn$StnName) Factor w/ 13 levels "Balboa","De Soto",..: 11 2 5 8 6 1 12 7 10 13 ... > all(levels(EBSurvey$lineon)==StnName) [1] TRUE > # > str(EBDesign$NumStn) NULL > str(EBSurvey$NumStn) Factor w/ 12 levels "1","2","3","4",..: 10 12 4 12 8 1 8 8 12 4 ... > str(ByEBNum$StnTraveld)

[R] Simple Question: adding points to a boxplot

2009-08-07 Thread Farley, Robert
20659 18 71778 32833 123990 17956 19004 > Est1 Blue GreenRed Gold Orange 1 72289 32444 107121 20900 21962 > boxplot(Obs1) > points(Est1, pch=23, col="red") > == Robert Farley Metro 1 Gateway Plaza Mail Stop 99-23-7 Los Angele

Re: [R] Simple Question: adding points to a boxplot

2009-08-07 Thread Farley, Robert
data checking process before data analysis? == boxplot(ObsRpdData) points(1:length(EstRpdData),EstRpdData, pch=16, col="red) === Robert Farley Metro www.Metro.net -Original Message- From: Farley, R

Re: [R] Simple Question: adding points to a boxplot

2009-08-10 Thread Farley, Robert
deal of complexity. Since I don't fully understand this very complex language, I can imagine many ways in which what I'm doing is wrong. Robert Farley Metro www.Metro.net PS, My working code: #

[R] NotePad++ Syntax file

2009-08-10 Thread Farley, Robert
Does anyone have an R Syntax Highlighting file {userDefineLang.xml} for NotePad++?? I've started one, but I'm not so happy with it. Robert Farley Metro 1 Gateway Plaza Mail Stop 99-23-7 Los Angeles, CA 90012-2952 Voice: (213)922-2532 Fax:(213)922-2868 www

Re: [R] NotePad++ Syntax file

2009-08-10 Thread Farley, Robert
port for Hex, column, or other languages. Robert Farley Metro www.Metro.net -Original Message- From: John Kane [mailto:jrkrid...@yahoo.ca] Sent: Monday, August 10, 2009 15:59 To: 'r-help@r-project.org'; Farley, Robert Subject: Re: [R] NotePad++ Syntax file No but

Re: [R] NotePad++ Syntax file

2009-08-10 Thread Farley, Robert
Yes, I've already D/Led and installed. It looks good, although I've already tweaked some settings :-) it's a great way to get all the commands in. Robert Farley Metro www.Metro.net -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-

Re: [R] ggplot: colours to geom_segments

2009-08-22 Thread Robert Baer
Do you want something like: p <- ggplot(xx, aes(x = 0, xend = Expense, y = Food, yend = Food)) pa <- p + geom_point(aes(Expense, Food)) + geom_segment(colour=c("red","blue","purple","darkgreen")) + xlab("Food") + geom_vline(xintercept=40, colour='red') pa - Original Message ---

Re: [R] upgraging R from 2.9.0 to 2.9.1

2009-08-23 Thread Robert Baer
FWIW, the R homepage says, "R 2.9.2 Release Candidates will appear August 17-24. Final release is scheduled for 2009-08-24." (Tomorrow?) Maybe a short upgrade delay is in order? ;-) On Windows, I routinely install new versions without removing the previous version. They always seem to coexist ha

[R] lme: how to nest a random factor in a fixed factor?

2009-08-26 Thread Robert Buitenwerf
be willing to help me, thank you in advance! Robert Buitenwerf Ecologist South African Environmental Observation Network _ [[elided Hotmail spam]] __ R-help@r-project.org mailing list

Re: [R] SRS Required sample size for simulated data

2009-09-09 Thread Robert Baer
My guess is that by "table" you are really looking for a 'dataframe'. Further, I guess that an indexed format is most useful to you. Try: # Create the requested dataframe dat=data.frame(type=c(rep("Hypermarket",10),rep("Supermarket",15),rep("Minimarket",20),rep("Cornershop",20),rep("Spazashop",3

Re: [R] Help on percentage of random numbers for different classes

2009-09-10 Thread Robert Baer
I am sorry for asking this stupid question, but i have been running in circles. I want to randomly generate a scaling point of between 1 and 10, for say hundred entries, where the first 10% percent is has rates between 2 and 7, the next 15% 3 and 7, 20% between 3 and 9, 20% between 3 and 10, 3

[R] problem formula (newbe)

2009-09-10 Thread Robert U
Dear R-users,   I am trying to run a function of the package “adabag” (e.g. boosting.cv) in order to determine a proper number of cluster that I would specify later on my KMeans clustering. (I had this idea from: http://www.statsoft.com/TEXTBOOK/stcluan.html)   However, I do have a

[R] R Journal

2009-09-15 Thread Robert Baer
after an almost 9 year time span. I apologize if I missed the obvious. And kudos to the editors and contributors of these many fine articles. Thanks, Rob - Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medicne A. T. Still University of Health

[R] T-test to check equality, unable to interpret the results.

2009-09-16 Thread Robert Hall
Hi, I have the precision values of a system on two different data sets. The snippets of these results are as shown: sample1: (total 194 samples) 0.600238 0.800119 0.600238 0.200030 0.600238 ... ... sample2: (total 188 samples) 0.8001 0.2000 0.8001 0. 0.8000

[R] T-test to check equality, unable to interpret the results.

2009-09-16 Thread Robert Hall
Hi, I have the precision values of a system on two different data sets. The snippets of these results are as shown: sample1: (total 194 samples) 0.600238 0.800119 0.600238 0.200030 0.600238 ... ... sample2: (total 188 samples) 0.8001 0.2000 0.8001 0. 0.8000

[R] Problem while using KLdiv()

2009-09-21 Thread Robert Hall
I am receiving the following error while executing KLdiv method: kl<-KLdiv(y) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "KLdiv", for signature "data.frame" the code is as follows: require(flexmix) KLdiv(y) I tried searching in the R mail archi

[R] problem using KLdiv - flexmix

2009-09-22 Thread Robert Hall
I am receiving the following error while executing KLdiv method: kl<-KLdiv(y) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "KLdiv", for signature "data.frame" the code is as follows: require(flexmix) KLdiv(y) the object y (snippet, actual object

Re: [R] problem using KLdiv - flexmix

2009-09-22 Thread Robert Hall
can anyone please tell how to build the distribution matrix y. s1p5 is variable reading from file "s1p5" this file contains 1 value at each row s2p5 is variable reading from file "s2p5" this file contains 1 value at each row I need to find KLdiv between these two variables s1p5 &

Re: [R] problem using KLdiv - flexmix

2009-09-22 Thread Robert Hall
Got it! read.matrix("file") does the job! Rob Hall On Tue, Sep 22, 2009 at 3:27 PM, Robert Hall wrote: > Ohh i forgot to mention one thing the value 'y' is obtained as follows: > > s1p5<-read.table("s1p5",header=TRUE) > s2p5<-read.table("s2p5

[R] graph.var function factominer (layout issue)

2010-02-23 Thread Robert U
Dear R-users, Did anyone  successfuly used the "label" parameter of the FactoMiner package "graph.var" function ? The "draw" parameter that select the variables to be drawn is working but i cannot manage to label them as i woud have liked, i wonder if there is a trick here or if it's just

[R] how to label individuals with FactoMiner ?

2010-02-24 Thread Robert U
Dear all, i'm trying to label specific individuals (supplementary ones) after a PCA with the FactoMiner package. There is not much details (possibilities?) in the R-help of the plot.pca function. There is indeed a "label" parameter but i could only manage to label the supplementary individuals

Re: [R] two questions for R beginners

2010-02-26 Thread Robert Baer
Honestly what I remember as the most difficult thing when I 'first' started using R was figuring out how to read in my own datasets. I eventually discovered the R import/export manual, but somehow this alluded me initially. All the R "tutorials" I was working from simply "generated" data or used

[R] How to calculate Eigen values from LDA object

2010-03-03 Thread Robert Lonsinger
Can anybody explain to me how to calculate Eigen values for linear discriminants, which have been identified in the scaling matrix of a LDA analysis [lda()]. cheers ~~ Robert Lonsinger Wildlife Grad. Research Assistant New Mexico State University Dept. of Fish

[R] running R from Notepad++ in Windows 7

2010-03-04 Thread Robert Kinley
RData, so it fails. Anyone else hit this and, ideally, solved it ... ? cheers Bob Robert Kinley b...@lilly.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

Re: [R] running R from Notepad++ in Windows 7

2010-03-05 Thread Robert Kinley
7 is selling like hot buns, so there should be enough market pressure before too long , to encourage the providers of Notepad++ NpptoR to fix it ... Thanks againBob Robert Kinley b...@lilly.com Andrew Redd Sent by: amr...@gmail.com 04/03/2010 14:17 To Robert Kinley

[R] Rcmdr plugins produce error

2010-03-18 Thread Robert Baer
expression has 2 elements: only the first used Warning in max(which((Menus[, "operationOrParent"] == "cascade") & (Menus[, : no non-missing arguments to max; returning -Inf Error in `[.data.frame`(menuNames, duplicateMenus) : undefined columns selected

Re: [R] I might be dumb : a simple question about "foreach"

2009-07-20 Thread Robert Kinley
Your code runs fine on my windows hp machine ( XP - sp2, R.2.9.1 ) > x <- foreach(i = 1:3) %do% sqrt(i) > x [[1]] [1] 1 [[2]] [1] 1.414214 [[3]] [1] 1.732051 Are you on Vista , maybe ? ~~~~ Robert Kinley Michael Knudsen Sent by: r-help-boun...@r-project.org 20/07/2

[R] Question about rpart decision trees (being used to predict customer churn)

2009-07-26 Thread Robert Smith
commands with no success. rpart(cancel ~ experience, control=rpart.control(cp=.0001)) rpart(cancel ~ experience, parms=list(split='information')) rpart(cancel ~ experience, parms=list(split='information'), control=rpart.control(cp=.0001)) rpart(cancel ~ experience, parms=lis

[R] Poisson Lognormal

2010-03-26 Thread Robert Ruser
exp(lambda) ~ Normal(c,d) Does it exist any package that can estimate it? May be you know a package that do Gauss-Hermite quadrature for estimation or simply do estimation for the first model? Robert __ R-help@r-project.org mailing list https://stat.e

Re: [R] Poisson Lognormal

2010-03-26 Thread Robert Ruser
2010/3/26 Charles C. Berry : > On Fri, 26 Mar 2010, Robert Ruser wrote: > So this is the generalized linear model with a poisson family, log link, and > a Gaussian random effect in the linear predictor. > > Take a look at lme4, MASS (glmmPQL), and try searching CRAN packages for &

Re: [R] Poisson Lognormal

2010-03-28 Thread Robert Ruser
Chuck thank you very much for help. I will follow your advice and see what happen. __ 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

[R] errors in package nortest

2010-03-29 Thread Robert Offinger
e.g. WW>=1.334) The second error in the function lillie.test was described in https://stat.ethz.ch/pipermail/r-devel/2007-July/046282.html but this error is really harmless since in p <- pnorm((x - mean(x))/sd(x)) the case sd(x)==0 was not caught. Robert

Re: [R] use read.table for a partial reading

2010-04-10 Thread Robert Baer
- Original Message - From: "Covelli Paolo" To: Sent: Thursday, April 08, 2010 9:05 AM Subject: [R] use read.table for a partial reading Hi everyone, I've got a matrix data with 20 variables (V1, V2, V3, ...) and 215 rows (observations). I'm interested to read only the first and se

[R] Tinn-R

2010-04-19 Thread Robert Ruser
Hello, I want to use the free distribution of R (R REvolution 3.2) and Tinn-R editor as well. Unfortunately they don't cooperate. In Tinn-R commands: send selection, send line etc. don't work. Do you have any idea how to resolve this problem? Be

Re: [R] Tinn-R

2010-04-19 Thread Robert Ruser
(Hebrew) | > www.r-statistics.com (English) > -- > > > > > On Mon, Apr 19, 2010 at 6:50 PM, Robert Ruser > wrote: >> >> Hello, >> I want to use the free distribution of R (R REvolution 3.2) and Tinn-R >> editor as well. Unfortunately they don't cooperate.

[R] sum on column using apply

2010-04-25 Thread robert lee
I have two data frames ( x and y -- sample values below). The rows have HH:MM:SS and columns have names of devices. I am trying to find a list of 5 least used devices during recorded time period. When apply function is used to sum on the column, I get the correct answer on data frame called x

Re: [R] sum on column using apply

2010-04-25 Thread robert lee
# remove time from column return(as.data.frame(pivot)) } On Apr 25, 2010, at 11:07 PM, David Winsemius wrote: > > On Apr 25, 2010, at 10:15 PM, robert lee wrote: > >> I have two data frames ( x and y -- sample values below). The rows have >> HH:MM:SS and columns have names

[R] How use lapply over one column in a dataframe?

2010-04-26 Thread Robert Nicholson
So I have Transactions as a dataframe and Transactions$Symbol is a column in the frame I simply want to run sub over all elements in that column where the new value replaces the old value this doesn't seem to work Transactions$Symbol = lapply(Transactions$Symbol, function(x) sub('[ -]*','INST

Re: [R] How use lapply over one column in a dataframe?

2010-04-26 Thread Robert Nicholson
Yeah I finally got there thanks. On Apr 26, 2010, at 8:22 AM, Henrique Dallazuanna wrote: > Try this: > > Transactions$Symbol <- gsub('[ -]*','INST',Transactions$Symbol) > > > On Mon, Apr 26, 2010 at 10:14 AM, Robert Nicholson > wrote:

Re: [R] How do I do simple string concatenation in R?

2009-09-30 Thread Robert Kinley
see ?paste > A <-"klm" > B <- "jjj" > C<-paste(A,B,sep='') > if(C=="klmjjj") print(C) [1] "klmjjj" cheers Bob "Dr. Arie Ben David" Sent by: r-help-boun...@r-project.org 30/09/2009 09:22 To cc Subject [R] How do I do simple string concatenation in R? Dear R gurus H

[R] R on Linux, and R on Windows , any difference in maturity+stability?

2009-10-05 Thread Robert Wilkins
Will R have more glitches on one operating system as opposed to another, or is it pretty much the same? robert __ 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] Installing R on Suse 11.1 , cannot figure it out

2009-10-07 Thread Robert Wilkins
Can't figure out how the install works, it is certainly not automatic. Also , the "Install" option on the R web site for Suse 11.1 does not work. And the install software native to Suse, cannot figure out. Does Suse have more problems installing software than Fedora or Ubuntu? Or is this a hassle

[R] To hell with OpenSuse, ditch it and go to Ubuntu

2009-10-07 Thread Robert Wilkins
this blog entry http://www.viggie.com/blog/software/opensuse-ubuntu-usage-experience , if credible , would seem to suggest that there is no good reason to choose Suse. I really don't have time for such nonsense, maybe I'll just reinstall as Ubuntu. Also, noticed that GCC was not installed when S

Re: [R] Installing R on Suse 11.1 , cannot figure it out

2009-10-07 Thread Robert Wilkins
tion=show&id=70&perpage=1&pagenum=5 When you install from source ( which I can't , because I can't figure out how to install GCC) , does the source install have binary dependencies? On Wed, Oct 7, 2009 at 9:10 PM, Cedrick W. Johnson wrote: > see below: > > Robert

[R] easy way to find all extractor functions and the datatypes of what they return

2009-10-10 Thread Robert Wilkins
Am I asking for too much: for any object that a stat proc returns ( y <- lm( y~x) , etc ) ) , is there a super convenient function like give_all_extractors( y ) that lists all extractor functions , the datatype returned , and a text descriptor field ("pairwisepval" "lsmean" etc) That would just b

Re: [R] user input in R

2009-10-10 Thread Robert Baer
I'm just learning R (I don't know any other programming languages), and I have a question. I am trying to figure out how to ask for user input (say, a set of 3 numbers) then put those numbers into an array. I've looked around, but I haven't been able to find any answers that I understand.

[R] plot() > point names ?

2009-10-12 Thread Robert U
Dear R-users, I am using the simple plot() function and i cannot find a way to add the point label (i would like to plot the points and up to each point the point name). I found a way to do it with n.plot but then the point is not plotted, only the label. Do you know if there is a parameter for

[R] Installing R on Ubuntu ( 8.10 ) ?

2009-10-13 Thread Robert Wilkins
installing on Ubuntu, how to do it and have people found it to be glitchy? which is easier , binary install or from source ? With the source install, are you less likely to have a dependencies issue ? ( Ubuntu does the GCC install seamlessly, but has no mention of R ) __

Re: [R] SPSS long variable names

2009-10-13 Thread Robert Baer
- Original Message - From: "Robert Baer" To: "Orvalho Augusto" Sent: Tuesday, October 13, 2009 9:52 AM Subject: Re: [R] SPSS long variable names I am wondering if there is a patch for the SPSS reading code on the foreign package, in order to be able to read

[R] post-hoc test with kruskal.test()

2009-10-14 Thread Robert Kalicki
-test show significance, but I still don't know the relationship and the significance level between each group? Do you have any suggestion? Many thanks in advance! Robert ___ Robert M. Kalicki, MD Postdoctoral Fellow Department of Nephr

Re: [R] SPSS long variable names

2009-10-14 Thread Robert Baer
replace the short R names with the long LABELS to form long R names. If for for some reason you are unwilling to give up some existing LABELS that are not, you could create some dummy variables for just this mapping purpose. - Original Message - From: "Orvalho Augusto" To: &q

Re: [R] installing R on Ubuntu, can ignore warning messages?

2009-10-14 Thread Robert Wilkins
It does, thank you. I was able to understand enough of it to do the install successfully . Still trying to understand the later paragraphs such as install.package() and the r-cran-foo build dependencies. (the site you pointed me to is the same site i did a printout of yesterday to try to do an inst

Re: [R] SPSS long variable names

2009-10-15 Thread Robert Baer
The problem is the limit of 8 characters long on variable names.[in read.spss??] I just created a file in SPSS 17 and saved it in standard format (.sav) The file had four unique variable NAMES which were much longer than 8 characters (although not 64). I entered two rows of data and saved t

[R] RMySql problem

2009-10-23 Thread Robert Schneider
Hi there, I have been using RMySql for some time now without any problems until 2 weeks ago... Since then, I am only able to access some tables from within the network where the db is located. When outside, I can't. I can access some of the tables, but not all of them. This is true wether I us

[R] syntax for estimable(gmodels package) and glht(multcomp package)

2009-10-26 Thread Robert Wilkins
Hello, I have a question as to how the syntax for glht(package multcomp) and estimable (gmodels) works, since I'm not getting everything from the documents I've googled so far, especially with models with 2nd order terms. A modestly complex model: 2-way anova with one continuous covariate, no ran

[R] Rjava, RImageJ, and/or S4 question.

2009-10-27 Thread Robert Baer
ame, ...) : Cannot find Java method `makeOval' matching the supplied parameters. Can anyone point me in the direction of much-needed self-education :-) Thanks for any insight. Rob - Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medi

[R] structural equation modeling

2009-10-28 Thread Robert Terwilliger
Dear R-help, I am interested in using structural equation modeling. Just getting started with it, but I'm looking for suggestions for packages. As an aside, what's the best way for looking for packages at CRAN? -- Robert Terwilliger Biomedical Physicist Laboratory of Neur

[R] strsplit() and Windows file paths

2009-10-29 Thread Robert Baer
h string like the escaped backslash pattern shown in 1 above, how does one do a strsplit() on these escaped backslashs? Thanks, Rob - Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medicne A. T. Still University of Health Sciences 800 W. Jeff

[R] how to loop thru a matrix or data frame , and append calculations to a new data frame?

2009-10-30 Thread Robert Wilkins
How do you do a double loop through a matrix or data frame , and within each iteration , do a calculation and append it to a new, second data frame? (So, if your original matrix or data frame is 4 x 5 , then 20 calculations are done, and the new data frame, which had 0 rows to start with, now has 2

Re: [R] new help pages in R 2.10.0

2009-11-05 Thread Robert Baer
I think the html based one works fine (even if I definitely preferred the old chtml). Only another comment: I chose html in my installation with Windows Vista, but still the help pages are opened in text files in the newly installed version. The nice thing about the chtml that is missing from

[R] person-level to person-period xfm

2009-11-19 Thread Robert Terwilliger
multiple rows, one for each repeated measure value. Is there a quick-and-dirty way to do this transformation? Many thanks, -- Robert Terwilliger Biomedical Physicist Laboratory of Neurocognitive Development Western Psychiatric Institute and Clinic University of Pittsburgh Medical Center Loeffler

[R] JMP <-> R ?

2009-11-26 Thread Robert Kinley
A wild thought ... ... anyone out there know if it's possible to call R code from JMP ? Bob Kinley - Eli Lilly & co, UK [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] Logistic geographical weighted regression

2009-12-04 Thread Pazur, Robert
Dear all, is it possible to perform logstic type of geographical weighted regression in R software? thanks in advance. robert. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] RGoogleDocs

2009-05-08 Thread Robert Schneider
f i change the service to "writely", I get the full listing of the google docs and cannot import a spreadsheet due to the fact that the sheets.con is of the wrong class. Any help would be appreciated ! I am running under Ubunto 8.10 if that can help... Thanks. Robert __

Re: [R] step by step debugger in R?

2009-05-22 Thread Robert Gentleman
nows how to write a debugger plugin for Eclipse wants >> to help, we could have that fairly easily. All the infrastructure is >> there; it's the UI part that's missing. >> >> Duncan Murdoch > [I've copied Mark Bravington and Robert Gentleman to the li

[R] moving from Windows to Linux - need help

2009-05-26 Thread Robert Kinley
hi I've used R for many years on windows machines, but have now acquired an Asus eee 1000 linux machine. In order to get the best out of the machine, I used the 'pimpmyeee.sh' script, to get the full KDE desktop. The version of Linux is Xandros, which I believe is a close relative of Debian, bu

[R] Still can't find missing data

2009-05-26 Thread Farley, Robert
10191.284139 0.00 Car/truck/van - Rental2099.771923 0.00 Taxi 1630.148576 0.00 ..Refused0.

Re: [R] Still can't find missing data

2009-05-27 Thread Farley, Robert
.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] graphics grDevices utils datasets stats methods base other attached packages: [1] fortunes_1.3-6 prettyR_1.4survey_3.10-1

Re: [R] Still can't find missing data

2009-05-28 Thread Farley, Robert
Blue Green Red Fred2 2 2 Sam 2 2 1 > xtabs(Weight ~ Data1 + Data3, exclude=NULL, > na.action=na.pass,drop.unused.levels = FALSE, ToyData) Data3 Data1 Banana Guava Orange Pear Fred 0 4 20 Sam 3 0 20 > Ro

Re: [R] Still can't find missing data

2009-05-28 Thread Farley, Robert
0.00 Car/truck/van - Rental2099.771923 0.00 Taxi 1630.148576 0.00 ..Refused0.000000 0.00 Robert F

Re: [R] Still can't find missing data - How do I get NA in xtabs with factors?

2009-05-29 Thread Farley, Robert
vel" and R does not? Will this be a problem with read.dta as well? Robert Farley Metro www.Metro.net -Original Message- From: William Dunlap [mailto:wdun...@tibco.com] Sent: Thursday, May 28, 2009 20:39 To: Farley, Robert Subject: RE: [R] Still can't find missing data In R

[R] moving from Windows to Linux - needed help

2009-06-01 Thread Robert Kinley
Many thanks to everyone who responded to my request for help with installing the up-to-date R binary on my Asus eee (details below). The bulk of opinion was that one should replace Xandros with, for example, Ubuntu; however, for the benefit of other family members, I needed to keep the Xandros

Re: [R] RES: Most used R editors

2009-06-02 Thread Robert Kinley
# Not sure whether anyone has mentioned Crimson Editor (for windows) so far ... http://www.crimsoneditor.com/ In Linux/Unixland there is 'kate' Bob Kinley [[alternative HTML version deleted]] __ R-help@r-project.org mailing list htt

Re: [R] Still can't find missing data - How do I get NA in xtabs with factors?

2009-06-02 Thread Farley, Robert
t; xtabs(Weight ~ Data1 + Data3, exclude=NULL, na.action=na.pass, ToyData) Data3 Data1 Banana Guava Orange Pear Fred0.0 4.22.1 0.0 Sam 3.2 0.02.1 0.0 Robert Farley Metro www.Metro.net -Original Message- From: 3.14da...@gmail.com [mailto:3.14da...@gmail.c

[R] error installing RCurl in SUSE SLES10-SP2

2009-06-04 Thread Robert Castelo
uded at the end also the sessionInfo() output (it's R-2.9.0). i've also tried to install a newer version of RCurl (0.98) which i found in http://www.omegahat.org/RCurl but it gives the same errors. thanks! robert. > install.packages("RCurl", repos="http://cran.r-project.

Re: [R] error installing RCurl in SUSE SLES10-SP2

2009-06-09 Thread Robert Castelo
thanks Duncan, i've updated it and it works now. since it did not complain about version numbers, i did not think that was the problem. i'll take care about it next time. robert. On Fri, 2009-06-05 at 13:35 -0700, Duncan Temple Lang wrote: > Hi Robert > > As Brian Ripley wr

[R] replacing zeros by NAs

2009-06-12 Thread Robert Kinley
something like ... > x<-c(1,2,3,0,5,6,0) > is.na(x[x==0])<-T > x [1] 1 2 3 NA 5 6 NA ~~~~ Robert Kinley [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] R for Mac OS X Search in Help

2009-03-31 Thread Robert Biddle
Hi: A small query about R for Mac on OSX: when looking at the help system screens, it does not seem to be possible to search within them. For example, when looking at a long help page (e.g. for par) I often want to search for a particular parameter. But I don't see how. I just have to scroll an

Re: [R] Presenting R Results in Webpages

2009-04-19 Thread robert denham
On Fri, Apr 17, 2009 at 3:36 AM, Jason Rupert wrote: > > I apologize in advance that this question is not specific to R, but I > thought some R users may be using this in their work process flow. > > I would like to be able to have a tool (prefer "scriptable") that will take > two images and some

[R] Failing to print mer object in an RData image

2009-04-23 Thread Robert Zimbardo
Hi all I have problems in accessing a mer object called model.01 from a workspace that was created with R 2.8.1 and saved with save into an .RData file (on Windows XP or Ubuntu 8.10, don't remember anymore). Now I want to open it in R 2.9.0 on Ubuntu 8.10. I use # load workspace load("name.RData"

Re: [R] Failing to print mer object in an RData image

2009-04-24 Thread Robert Zimbardo
t on a different computer. Question though: does that mean that the mer object is now inaccessible and the only way to get the data back is to run the analyses again? The changes are not backward compatible?? Thx, RZ > > > 2009/4/23 Robert Zimbardo : >> Hi all >> >> I hav

[R] Houston, TX Users Group

2009-05-06 Thread Robert Sanford
I'm looking for a Users Group in or near Houston, TX. Many thanks! rjsjr __ 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 comment

[R] Fwd: string

2010-01-06 Thread robert-mcfadden
I would like to assign a variable y the string: How can I do it - is it possible? Best, Robert __ 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] Fwd: string

2010-01-06 Thread robert-mcfadden
Thank you very much all of you. (I forgot about directly ' ', instead I used " " and got errors.) Best, Robert Dnia 6 stycznia 2010 12:22 robert-mcfad...@o2.pl napisał(a): > I would like to assign a variable y the string: > How can I do it - is it poss

Re: [R] generate XML

2010-01-07 Thread robert-mcfadden
Dnia 7 stycznia 2010 10:41 S Devriese napisał(a): > Have you checked the XML package? > > If you print the matrix within R, this it look like you want (including > correct langauge encoding? Because in that case, you probably could use > sink (see ?sink). > > Stephan Yes. In R I get correct vie

Re: [R] generate XML

2010-01-07 Thread robert-mcfadden
Dnia 7 stycznia 2010 11:30 S Devriese napisał(a): > you might try > > # open file connection > sink("item1.xml") > # print object > my.matrix > # close file connection > sink() Unfortunately, It does not code letter appropriate. To #print object it's better to use write.table. But thank you

Re: [R] generate XML

2010-01-11 Thread robert-mcfadden
Dnia 8 stycznia 2010 9:20 S Devriese napisał(a): > Mhh, you could have a look at write.matrix in the MASS package, but I'm > afraid that you might have to specify the encoding explicitly (see > ?connections, the section on encoding) Thank you. The matrix that I write are coding in ANSI. I checked

[R] Testing Equality of Covariance Matrices??

2010-01-16 Thread Robert Lonsinger
of covariance matrices, either from the resulting output from the lda model or from the original dataset? Thank you very much. Cheers, Rob -- ~~~~~~ Robert Lonsinger Wildlife Grad. Research Assistant New Mexico State University Dept. of Fish, Wildlife, & Cons. Ecology rob.lo

[R] lattice and legend

2010-01-18 Thread robert-mcfadden
Model, col=my.kolor,horizontal=FALSE,layout=c(1,4), auto.key=list(rectangles = TRUE, space = "bottom"),scales = list(y = "free")) Best, Robert __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

<    1   2   3   4   5   6   7   8   9   >