[R] use of aggregate

2010-06-10 Thread Philip
Dear list, Is it possible to replace the median in the following code so as to calculate 5 and 95% tiles? with( raunheim, aggregate(no, by = list(wd,hr), FUN = median, na.rm=TRUE) ) Regards, Philip Sinclair __ R-help@r-project.org mailing list

[R] .grb2 Files

2020-09-02 Thread Philip
Any advise about how to get NOAA .grb2 files into R? Thanks. [[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 do read the posting guide

[R] NOAA .grb2 files

2020-09-04 Thread Philip
I’m trying to download NOAA Rapid Refresh model weather data but I keep getting the error message below. Do I just need a computer with more memory? Philip

[R] NOAA .grp2 files

2020-09-04 Thread Philip
Neglected to mention in the previous email that I’m using the rNOMADS package and the FReadGrib function. Philip [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

[R] Retrosheet Data

2020-10-08 Thread Philip
.frame(Game=P[[j]]$id[1],P[[j]]$info) I keep getting the same Game, inning, team, etc. data. Can anyone give me some direction. Thanks, Philip Heinrich [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRI

[R] Installing Perl For Use in R

2020-10-06 Thread Philip
advise? What the website is trying to do seems rather shady. Thanks, Philip [[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 do read

[R] Would Like Some Advise

2020-08-28 Thread Philip
anyone think I need to upgrade my wifi? Thanks, Philip [[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 do read the posting guide http

[R] rNOMADS package

2020-08-24 Thread Philip
I am struggling to install a fix for the rNOMADS package which reads National Weather Service data. I copied the fix (rNOMADS_2.5.0.tar.gz) from an email to a local drive and then tried to install it with the command below. I also tried installing it without the .tar.gz extension and without

[R] Hot Air Balloon Weather Briefings

2020-08-14 Thread Philip
32 5 3.422512 It would be even better if I could delete the rows where there were ten consecutive zero speed entries such as from minute 30 second 17 to minute 31 second 11. Thanks, Philip Heinrich [[alternative HTML version deleted

Re: [R] Hot Air Balloon Weather Briefings

2020-08-15 Thread Philip
r Sent: Friday, August 14, 2020 2:43 PM To: Philip Cc: r-help Subject: Re: [R] Hot Air Balloon Weather Briefings Well which is it?: "I want to eliminate the data for minute 30 but keep the data for minute 31 because the balloon starts to move again at second 17. " or "It would be

[R] Lahman Baseball Data Using R DBI Package

2020-10-02 Thread Philip
. Can anyone give me some direction? Thanks, Philip Heinrich *** tail(dbReadTable(Lahman,"batting")) ID playerID yearI

[R] Parsing a Date

2020-08-02 Thread Philip
-08-01 12:00:00 1000 mb -112.987 33.6495 75.9269 49.1484 305.745 1.90155 2.04514 5 2020-08-01 12:00:00 1000 mb -112.968 33.5301 76.3019 50.2734 305.495 2.08905 1.98264 Philip Heinrich [[alternative HTML version deleted]] __ R-help@r

[R] rNOMAD package

2020-08-13 Thread Philip
that assume a certain level of background knowledge that I don’t have. It has something to do with OPenDAP (Data Access Protocol) which is a piece of software to grab data over the Internet. Can someone give me some direction? Thanks, Philip [[alternative HTML version deleted

[R] National Weather Service Data

2020-07-02 Thread Philip
Is anyone out there familiar with rNOMADS? It is a package to get into National Weather Service forecasting data with R? I'm not sure the Weather Service software named wgrib2 loaded correctly because some of the stuff won't run and I can't make much sense out of some of the output. Thanks.

Re: [R] National Weather Service Data

2020-07-08 Thread Philip
me to someplace that has the names of the forecast models - equivalent to gfs_0p50 for the Global Forecast System? Thanks. -Original Message- From: Roy Mendelssohn - NOAA Federal Sent: Monday, July 6, 2020 6:35 PM To: Philip Subject: Re: [R] National Weather Service Data Skimming

Re: [R] National Weather Service Data

2020-07-08 Thread Philip
Thanks. Found the url's, names, and abbreviations on Daniel Bowman's rNOMADS package for R - NOMADS Real time List. Thanks. -Original Message- From: Roy Mendelssohn - NOAA Federal Sent: Wednesday, July 8, 2020 9:43 AM To: Philip Cc: r-help Subject: Re: [R] National Weather Service

Re: [R] National Weather Service Data

2020-07-06 Thread Philip
ity 2 meters above the ground and at 800 milibars for 2020 – July 6 – at ZULU time 0600. But I have no idea what the numbers 414132 – second line – mean. Any advise would be greatly appreciated. Philip Heinrich From: stephen sefick Sent: Thursday, July 2, 2020 3:20 PM To: Philip Cc: r-help

[R] rNOMADS Package

2020-06-23 Thread Philip
Does anyone out there have any advise about how to download the wgrib2 software from the National Weather Service onto a Windows 10 computer? I tried using the instructions from Bovine Aerospace website but am not sure if it loaded correctly. Thanks, Philip [[alternative HTML version

[R] rNOMADS Package

2020-07-28 Thread Philip
domain=c(-113.20,-112.78,33.70,33.40), #an area west of Phoenix domain.type="latlon", file.type="grib2") I can grab the 12 Z forecast with [[1]] in the first line above or the 13 Z forecast if I enter [[2]]. But is there a way to get both a

Re: [R] National Weather Service Data

2020-07-06 Thread Philip
Thanks for getting back to me. It is good to know that I am on the right track. -Original Message- From: Rasmus Liland Sent: Monday, July 6, 2020 10:42 AM To: r-help Subject: Re: [R] National Weather Service Data __ R-help@r-project.org

[R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
affects the package concerned, but also all its dependents. Is there anything I can do at my end, or do I have to wait for the packages to be re-built, Thanks, Philip This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy

Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
, Thanks, Philip -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 16 July 2010 15:24 To: Philip Whittall Cc: r-help@r-project.org Subject: Re: [R] Packages built before R 2.10.0 On 16/07/2010 9:50 AM, Philip Whittall wrote: Dear list, I am running

Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
and help will not work correctly Please re-install it require(car) require(candisc) I am using the mirror from Imperial College London and a check on the \library\car subdirectory of my R-2.11.1 installation show that it was updated at the expected time, Thanks, Philip -Original Message

Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
Hi Duncan, That fixed it. Many thanks indeed, I now know what to do if it happens again, Philip -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 16 July 2010 16:00 To: Philip Whittall Cc: r-help@r-project.org Subject: Re: [R] Packages built before R

[R] ifelse command

2010-08-18 Thread Philip Wong
hello people, I want to make a biased dice using the sample() function and print out the results after n number of runs, I've successfully generated the dice using the following command: mydie2-function(n=1000,y=NULL,...){ for(i in 1:n){ x-sample(1:6,n,replace=TRUE,prob=c(1,1,2,3,2,1)/10)

Re: [R] ifelse command

2010-08-18 Thread Philip Wong
well to be honest, it is a assignment for the Bayesian statistic paper I wish to take later in the academic year. But I'm a slow learner, so I'm going to try out some of the assignments posted in the university forum hoping to get some practice in advance. Could you please elaborate more on the

Re: [R] ifelse command

2010-08-18 Thread Philip Wong
Hi Josh, I think I know where does the 50+ warning is coming from, because I used n in runif(n), similarly I get 50+ warnings if I use runif(1000). Yet if I use runif(1) the warnings() doesn't show. -- View this message in context:

Re: [R] ifelse command

2010-08-18 Thread Philip Wong
Hi Dennis, I see your point about using a different name for the runif() functions, other then the one I used to stimulate the bias coins. I start to get what you and David meant after thinking it through for a while regarding with comparison the biased dice and the uniform distribution, but the

[R] convenience question

2009-10-04 Thread Philip A. Viton
the function? Or maybe, to simulate the Return keystroke? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R-help@r-project.org mailing list https

[R] hardcoded paths hamper running R on heterogeneous grid

2009-10-15 Thread Philip Kensche
. Is this a bug? In any case, this *characteristic* makes it impossible to run R on a heterogeneous computing grid in a setting in which R is locally installed (including required modules) on one machine and that installation is copied to each computing element. Philip -- | Philip Kensche pkens

[R] parsing Google search results

2009-11-16 Thread Philip Leifeld
Philip -- Philip Leifeld Max Planck Institute for | +49 (0) 1577 6830349 (mobile) Research on Collective Goods | +49 (0) 228 91416-73 (phone) MaxNetAging Doctoral Fellow | +49 (0) 228 91416-62 (fax) Kurt-Schumacher-Str. 10 | 53113 Bonn, Germany | http://www.philipleifeld.de

[R] Scree diagram,

2010-05-01 Thread Philip Wong
hello, I've two questions today. 1) I'm trying to do a scree diagram, I did a Google for a specific command I could used to do so. All I could find is a screeplot. Are they the same command? 2) what command can I used to present a PC scores, eigenvectors of the PC scores, and component

[R] help with graphing -- Points in my graph are not apparent, always displayed in steps

2009-12-11 Thread philip robinson
I am trying to graphically represent a large set of data who's result is not strictly uniform. http://n4.nabble.com/file/n961629/egraph_rules_list_2.png The scatter plot to the left has all of the data rising in steps however I know that there are cases within my data that do not fit the dotted

Re: [R] help with graphing -- Points in my graph are not apparent, always displayed in steps

2009-12-13 Thread philip robinson
http://n4.nabble.com/file/n962784/egraph_rules_list_2.png The red X's that are listed above represent data points that have been completely ignored in production of my graph. I know that in a specified sentence length there are variations in number of Conjunctions -- View this message in

Re: [R] help with graphing -- Points in my graph are not apparent, always displayed in steps

2009-12-13 Thread philip robinson
Sorry to have not provided enough information in my prior post. Here is a summary of the calculation set that I am doing. The histograms have changed since my last post, but I am not so concerned about them. The scatter plots do not show all of the points, they seem to round off to the most

Re: [R] help with graphing -- Points in my graph are not apparent, always displayed in steps

2009-12-13 Thread philip robinson
Thank you very much, -- Philip David Winsemius wrote: -- View this message in context: http://n4.nabble.com/help-with-graphing-Points-in-my-graph-are-not-apparent-always-displayed-in-steps-tp961629p963227.html Sent from the R help mailing list archive at Nabble.com

[R] Extract variance from dist(cluster.data)

2009-12-17 Thread Philip Silva
of clusters! write.table(cluster.hcut, /tmp/cluster_result.csv) Now I would like to know the Variance of each cluster in hcut. Is it correct that the variances are already encoded in dist(cluster.data)? How can I get it? Thanks a lot in advance. Best regards Philip Silva -- Preisknaller: GMX DSL

[R] what command to use for standization

2010-05-29 Thread Philip Wong
what command to use to standardize my data to mean = 0, and SD=1. the data I want to standardize/centroid is in column format. So I'm thinking of using: col.mean.stdised=apply(data.df,2,function(z){z-mean(z)}) but, what command should I use to put my SD =1? Thanks! -- View this message in

[R] makign help files by hand

2010-06-09 Thread Philip A. Viton
this from within R itself? And if so, how (in particular, what is the target file to be converted)? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R

[R] Using metric units in plots

2008-06-20 Thread Philip Rhoades
People, It appears that one has to use Imperial measurements in plot parameters? I can't find any info on using metric units . . Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia E-mail: [EMAIL PROTECTED

Re: [R] Using metric units in plots

2008-06-20 Thread Philip Rhoades
Prof Brian Ripley, Prof Brian Ripley wrote: On Fri, 20 Jun 2008, Philip Rhoades wrote: People, It appears that one has to use Imperial measurements in plot parameters? I can't find any info on using metric units . . In package grid you can use several different units. When I search

[R] Environments

2009-04-02 Thread Philip Whittall
platform, Thanks in anticipation, Philip This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory

[R] Queries about step() and stepAIC()

2008-11-06 Thread Philip Whittall
how ? 4) Is there a worked example somewhere of using the keep= argument ? Many thanks in anticipation, Philip This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only

[R] Using Rscript

2009-01-30 Thread Philip Whittall
Rscript -e 'sink(outputfile)' script.R , but it then ignored the scriptfile. I know that pipes would solve the problem in unix, but I have no idea how the windows equivalent works. I am running R.2.8.0 on windows, Many thanks, Philip This message should be regarded as confidential. If you have

[R] R in Batch mode query

2009-02-01 Thread Philip Smith
Hi All: How does one run R in batch mode on Windows? Thank you! Phil Smith __ 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] Coercing a list of variables in a function call

2008-12-01 Thread Philip Whittall
This is hopefully a trivial problem for list subscribers, but I am very new to writing R functions. I wish to call an R function written by myself from another program to fit a model. I need to tell it which of the independent variables are factors. I need to do this in a generic way, so that

[R] Extracting the name of an object into a character string

2008-12-11 Thread Philip Whittall
to store the name of an object as a character string would fit the bill, but I have not found one. name() doesn't appear to do what I want, maybe I'm using it wrongly. Any suggestions please ? I'm running 2.8.0 on windows XP, Thanks, Philip This message should be regarded as confidential. If you

Re: [R] Extracting the name of an object into a character string and vice versa

2008-12-12 Thread Philip Whittall
the character result tension. Any suggestions would be greatly appreciated, Philip This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard

[R] R2winbugs : vectorization

2008-12-15 Thread Philip A. Viton
call for model 2 proc.time() aasho.2-bugs(data2,inits2,params2,aasho2.bug,n.iter=1,debug=FALSE) proc.time() print(aasho.2,digits=6) Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu

[R] R2winbugs : vectorization

2008-12-17 Thread Philip A. Viton
package (or one of the packages it loads) resets digits to 2. So the solution is to reset digits ( options(digits=5) or whatever) after loading your packages. Thanks again! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito

[R] Additive/multiplicative estimations?

2008-12-30 Thread Philip Rhoades
is that if the results of the two tests are greater than 50% and the two tests are unrelated, the actual likelihood should be more than the mean of the two tests. Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au

[R] R startup and shutdown question

2009-01-23 Thread Philip Smith
Hi R-Community: Here is what I want to do: Every time I start R I want R to: 1. remove(list=ls()), and 2. source another file automatically. Then, when I shutdown R, I want R to: 1. remove(list=ls()) How do I do this? I recall vaguely that S could do this, but I don't remember

[R] printing a dataframe summary to disk

2009-08-18 Thread Philip A. Viton
I'd like to write the summary of a dataframe to disk, so that it looks essentially the same as what you'd see on screen; but I can't seem to do it. Can someone tell me how? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue

[R] customizing RGui/Rconsole

2009-08-23 Thread Philip A. Viton
Is it possible to change the behavior of RGui/RConsole under MS Windows so that, if you submit a bunch of commands from a script window, when they've finished, focus is given to the Console, and not (as now) to the script? Philip A. Viton City Planning, Ohio State

[R] Ensembles in cforest

2010-03-16 Thread Philip Whittall
been able to work out how this sequence of nested lists is structured or if any of the items are named. Any help would be appreciated. I'm running R2.10.0 on windows XP. Kind Regards, Philip This message should be regarded as confidential. If you have received this email in error please notify

[R] producing a QQ plot.

2010-03-27 Thread Philip Wong
Hello everyone I'm a beginner in Stats and R, I'm using R 2.10.1. I need to create a multivariate qq plot, there is 8 variable group with each has 55 number of input. An example of what I did so far, just to get my point out: data=read.csv(file.choose(),header=T) data country

Re: [R] producing a QQ plot.

2010-03-27 Thread Philip Wong
Hello, this is the first 10 data of the population. country village group av_expenP2ary_edno_fisher B_Leth B_LutjanWt_Leth Wt_Lutjan Cook IslandsAitutakiD 5239.127472 0.7 666.9998558 3.286283997 1.971519001 520.6454552

Re: [R] producing a QQ plot.

2010-03-27 Thread Philip Wong
Aha! I see now! thanks guys! really helpful! -- View this message in context: http://n4.nabble.com/producing-a-QQ-plot-tp1693228p1693259.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] Problems faced with Levene Test using R

2010-03-27 Thread Philip Wong
Hello everyone, I'm trying to build Levene's test. The below command is what I used to do the test, I also included the error it prompts up and some data example that I used when trying to build the test. Can someone please tell me what did I do wrong? thanks in advance!

[R] how can I stop getting email from every comment posted in this forum?

2010-04-07 Thread Philip Wong
hello people, I didn't know where should post this thread, I asked Hugo the nabble administrator and his response was I should be able to unsubscribed from getting an email from every comment or response posted here. Yet I couldn't find the method nor the button to click to do so. I even change

[R] Changing font type within y axis labels

2011-07-29 Thread Philip Boulcott
apply the font change to only Pecten maximus? Rgds Phil . Dr Philip Boulcott Marine Ecosystems Processes Marine Scotland - Science Scottish Government | Marine Laboratory 375 Victoria Road, Rm

[R] mgcv gam predict problem

2011-03-28 Thread Philip Gautier
obtain this prediction? Thanks, Philip Gautier Dept. of Mathematics and Statistics American University, Washington, DC __ 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] spdep::poly2nb problem

2011-05-07 Thread Philip A. Viton
and GA). Can anyone tell me what's going wrong here? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R-help@r-project.org mailing list https

[R] Increase space between xlab and X axis tick labels

2011-09-25 Thread Philip Rhoades
labels? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au __ 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] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want? I couldn't find it . . Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want?  I couldn't

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, On 2011-09-27 04:31, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 1:45 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27

[R] Portrait and Lanscape PDF in the one document

2011-10-17 Thread Philip Rhoades
People, I want to create a multi-page PDF doc and the pdf command works fine if I only use Portrait OR Landscape but how do I create a document that contains BOTH sorts of pages? Is it possible? - I couldn't find info about it. Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW

[R] identifying a column name correctly to use in a formula

2012-02-29 Thread Philip Robinson
) vector - rbind(vector,Y) } Error in eval(expr, envir, enclos) : object 'B1' not found #same as above Any help would be appreciated. Thanks Philip [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] A trivial plot gives open circles as the plot char but another one gives me qs . . why is this?

2012-04-02 Thread Philip Rhoades
one is Fedora 15). It is very frustrating . . Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] A trivial plot gives open circles as the plot char but another one gives me qs . . why is this?

2012-04-03 Thread Philip Rhoades
Brian, On 2012-04-03 18:58, Prof Brian Ripley wrote: On Tue, 3 Apr 2012, peter dalgaard wrote: On Apr 3, 2012, at 07:19 , Philip Rhoades wrote: People, On my home computer with a real plot I get what I expect - open circles as the plot character - on my work computer I get qs ! So I

Re: [R] A trivial plot gives open circles as the plot char but another one gives me qs . . why is this?

2012-04-03 Thread Philip Rhoades
David, On 2012-04-03 22:29, David Winsemius wrote: On Apr 3, 2012, at 1:19 AM, Philip Rhoades wrote: People, On my home computer with a real plot I get what I expect - open circles as the plot character - on my work computer I get qs ! So I tried a trivial test plot on the work

[R] R for loop stops after 4 iterations

2011-10-22 Thread Philip Robinson
I have a data frame called e, dim is 27,3, the first 5 lines look like this: V1 V2 V3V4 1 1673 0.36 0.08 Smith 2 167 0.36 0.08 Allen 399 0.37 0.06 Allen 4 116 0.38 0.07 Allen 595 0.41 0.08 Allen I am trying to calculate the

Re: [R] R for loop stops after 4 iterations

2011-10-23 Thread Philip Robinson
That's fantastic, thank you very much, the qnorm option is interesting, I will have to play around with it. Many thanks again Philip -Original Message- From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] Sent: Sunday, 23 October 2011 10:28 AM To: Philip Robinson Cc: r-help@r

[R] partial dependence plots in 'party'

2011-11-06 Thread Philip Dilts
Hello, I can't seem to figure out how to generate partial dependence plots for random forest models generated with the 'party' package. Is there a function for this that I just haven't found yet? Thanks -Philip Dilts __ R-help@r-project.org mailing

[R] creating vectors from data-frames

2012-01-08 Thread Philip Robinson
a one row data frame. What is required to actually create a vector. Many thanks Philip data V1 V2 V3 V4 V5 V6V7V8V9 V10 V11 1 E 2369 2304 2312 2460 2645 3038 3265 3760 3904 4421 2 NZ 705 817 907 917 954 1,026 1,065 1,125 1,276 1,449 nz -as.vector

[R] Lapack routine dgesv: system is exactly singular

2012-01-09 Thread Philip Robinson
Hi I have a problem with this error, I have searched the archives and found previous discussion about this, can I cannot understand how the explanations apply to what I am trying to do. I am trying to do Log_rank Survival analysis, I have included tables and str command, is it a

[R] determining the difference between 2 character strings

2012-01-15 Thread Philip Robinson
thanks Philip __ 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-contained, reproducible code.

[R] loops

2012-01-24 Thread Philip Shirk
I've been struggling to get a loop to work. I want to create a new variable in each loop with data from some function. for example: # part of the names for the variables to be created Frags - c(F04, F05, F07, F09, F11, F13, F14, F17, F18, F19, P20, Main) for(obs in Frags) { A.*obs* -

[R] extracting from data.frames for survival analysis

2012-01-26 Thread Philip Robinson
?data.frame extract.data.frame but I cannot understand how I might structure this differently so it extracts the required columns from this dataframe. For the second 2 attempts I am not using the $ term. Sorry if this seems basic but cannot understand why attempt 1 or 2 doesn't work. thanks Philip

[R] nested if else statements

2012-02-05 Thread Philip Robinson
I have a vector of 2,1,0 I want to change to 0,1,2 respectively (the data is allele dosages) I have tried multiple nested if/else statements and looked at the ?if help and cannot work out what is wrong, other people have posted code which is identical and they state works. Any help would be

[R] Importing JSON Hash Table

2011-06-03 Thread Philip Rhoades
People, I have found out how to create basic R hash tables and use ls and get and I can import my JSON hash table file with: x - fromJSON( file=t.json ) but if I have previously created x with: x = new.env(hash=T) - as soon as I import from the file, x stops being a hash table . . My

[R] Textmin

2011-06-14 Thread Philip Heinrich
Working my way through Feinerer, Hornik, Meyer's (2008) Text Mining Infrastructure in R but am having trouble duplicating some of the examples in 3.2 Algorithms. When I try to use functions such as appendMeta, tmupdate, and appendMeta I get a cannot find function... error. The R documentation

[R] Multiple (7) Y axes?

2011-06-16 Thread Philip Rhoades
but I couldn't find examples of any more than that - is it possible? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW2001 Australia E-mail: p...@pricom.com.au __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Multiple (7) Y axes?

2011-06-16 Thread Philip Rhoades
(10,0,0.4)),yaxt='n',col=i,type='l') axis(4,line=(i-1)*1.5,col=i-1,col.ticks=i-1) } You may need to tweek around the options a bit and check that the tickmarks are actually labelling the correct axes and that the colors correspondI did not check this thoroughly! HTH Jannis --- Philip Rhoades

[R] different results from nls in 2.10.1 and 2.11.1

2011-06-18 Thread Philip Bett
rev50720 language R version.string R version 2.10.1 (2009-12-14) Thanks, Phil Bett -- Dr Philip Bett(Room 2.009) http://www.astro.uni-bonn.de/~pbett Argelander-Institut für Astronomie Tel : +49

[R] reshape: cast(x, a ~ b ~ .) vs. cast(x, a ~ b) difference

2011-06-24 Thread Philip Kensche
the averages for the fields (t1, g1) and (t1, g2) but these twice. To be honest, to me this looks like a bug ... but maybe I miss something here. I would appreciate any enlightening comments on this! Thanks in advance! Philip P.S.: sessionInfo() R version 2.12.2 (2011-02-25) Platform: x86_64-pc

[R] Converting large JSON data into multidimensional array

2011-06-29 Thread Philip Rhoades
]][[2]] [1] -2.303347 [[4]] [[4]][[1]] [1] 01.01.01.03 [[4]][[2]] [1] -2.354964 . . I would like to convert the data into a: 50.32.20.22 array and be able to do calculations on the array like: mean( tst[ 50,,20,00 ] ) etc Suggestions appreciated. Thanks, Phil. -- Philip Rhoades GPO

[R] subset of factors in a regression

2013-07-01 Thread Philip A. Viton
! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Fast linear convolution with R

2014-02-27 Thread Philip Wette
) system.time( convolve(a, b, type=o) ) user system elapsed 303.129 0.099 303.635 Best, Philip -- Philip Wette, M.Sc. E-Mail: we...@mail.upb.de University of Paderborn Tel.: 05251 / 60-1716 Department of Computer Science Computer Networks Group http://wwwcs.upb.de

[R] cum sums

2014-03-09 Thread Philip A. Viton
aggregate and passing the function cumsum, but I can't get it to work. Can someone tell me how to do this? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R

[R] GGPLOT Question

2014-04-06 Thread Philip Rhoades
horizontally? - I couldn't find it . . and there doesn't seem to be a horizontal equivalent? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au __ R-help@r-project.org mailing list https

Re: [R] GGPLOT Question

2014-04-06 Thread Philip Rhoades
Stephen, On 2014-04-06 22:09, stephen sefick wrote: add +coord_flip() at the end. Does that do it? Wow! - that was a fast response! - yes that works - thanks a lot! Regards, Phil. On Sun, Apr 6, 2014 at 7:03 AM, Philip Rhoades p...@pricom.com.au wrote: People, I have this script

Re: [R] GGPLOT Question - #2

2014-04-06 Thread Philip Rhoades
People, OK, the last two bits of the puzzle - can I colour the bars independently and change the scale from linear to logarithmic? Thanks, Phil. On 2014-04-06 22:23, Philip Rhoades wrote: Stephen, On 2014-04-06 22:09, stephen sefick wrote: add +coord_flip() at the end. Does that do

Re: [R] GGPLOT Question - #2

2014-04-06 Thread Philip Rhoades
People, On 2014-04-06 22:31, Philip Rhoades wrote: People, OK, the last two bits of the puzzle - can I colour the bars independently and change the scale from linear to logarithmic? To answer my own question - the attached file works for me but I guess could be improved? Thanks, Phil

[R] cex values being ignored in the curve function

2014-04-19 Thread Philip Robinson
I do. I am using a macbook pro, with mavericks, R-studio and R 3.1.0 spring-dance, and I am initiating the plot with: X11( width=width , height=height , type=cairo). Any help would be greatly appreciated. thanks Philip __ R-help@r-project.org

[R] ROCR package not installing

2012-11-21 Thread Philip Robinson
code? Thank you Philip probinson@bioinform08:/tmp/RtmpO0rFbx/downloaded_packages$ R CMD INSTALL ROCR_1.0-4.tar.gz * installing to library '/home/probinson/R/x86_64-pc-linux-gnu-library/2.10' * installing *source* package 'ROCR' ... ** R ** data ** demo ** preparing package for lazy

Re: [R] ROCR package not installing

2012-11-22 Thread Philip Robinson
My version is: Linux bioinform08 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 x86_64 GNU/Linux Ubuntu 10.04.3 LTS R version 2.10.1 (2009-12-14) Philip -Original Message- From: Pascal Oettli [mailto:kri...@ymail.com] Sent: Thursday, 22 November 2012 4:20 PM To: Philip

Re: [R] ROCR package not installing

2012-11-22 Thread Philip Robinson
-library/2.10/ROCR’ The downloaded packages are in ‘/tmp/Rtmpn1DjHt/downloaded_packages’ Warning message: In install.packages(ROCR, dep = T) : installation of package 'ROCR' had non-zero exit status thanks Philip -Original Message- From: Mohammed Ouassou [mailto:mohammed.ouas

  1   2   >