Re: [R] Suggestions as to how to proceed would be appreciated...............

2022-05-22 Thread Bernard Comcast
Its simply a query to know what tools/packages R has for correlating single values with multivalued vectors. If that is outside the scope of the PG then so be it. Bernard Sent from my iPhone so please excuse the spelling!" > On May 22, 2022, at 1:52 PM, Bert Gunter wrote: > >  > Please read

Re: [R] Error loading "XLConnect" library

2021-04-14 Thread Bernard Comcast
Thanks Marc Bernard Sent from my iPhone so please excuse the spelling!" > On Apr 14, 2021, at 2:20 PM, Marc Schwartz wrote: > > Hi, > > When you experience errors with a third party package like that, one of the > first steps to take is to review the results of CRAN testing on the package.

Re: [R] Col names in a data frame

2021-01-21 Thread Bernard Comcast
Thanks - I had seen that parameter but did not think the ( would be illegal but now I understand why it considers it illegal. Thanks again Bernard Sent from my iPhone so please excuse the spelling!" > On Jan 21, 2021, at 4:14 PM, Duncan Murdoch wrote: > > On 21/01/2021 3:58 p.m., Bernard Mc

Re: [R] Col names in a data frame

2021-01-21 Thread Bernard Comcast
Thanks - I had seen that parameter but did not think the ( would be illegal but now I understand why it considers it illegal. Thanks again Bernard Sent from my iPhone so please excuse the spelling!" > On Jan 21, 2021, at 4:14 PM, Duncan Murdoch wrote: > > On 21/01/2021 3:58 p.m., Bernard McG

Re: [R] Summarizing select columns in a data frame

2021-01-17 Thread Bernard Comcast
Thanks David Bernard Sent from my iPhone so please excuse the spelling!" > On Jan 17, 2021, at 5:59 PM, David Winsemius wrote: > >  >> On 1/17/21 12:15 PM, Bernard McGarvey wrote: >> I have a data frame that consists of several factor columns say A, B, C, D, >> and E and several columns conta

Re: [R] Summarizing select columns in a data frame

2021-01-17 Thread Bernard Comcast
Thanks Bert Bernard Sent from my iPhone so please excuse the spelling!" > On Jan 17, 2021, at 3:48 PM, Bert Gunter wrote: > >  > There are literally tons of ways to do this sort of thing in R. > > In base R ?tapply and friends, especially ?ave and ?by that may be close to > what you want. >

Re: [R] Inappropriate color name

2020-11-17 Thread Bernard Comcast
If the word Indian refers to India, the place of origin for the color, then referring to it by this name gives an acknowledgement to this fact and I would have assumed such acknowledgement is a positive thing. Bernard Sent from my iPhone so please excuse the spelling!" > On Nov 17, 2020, at 4:

Re: [R] How to run Hutcheson t-test on R?

2020-09-07 Thread Bernard Comcast
This website has an example calculation shown in Excel Which might help in programming it in R. https://www.dataanalytics.org.uk/comparing-diversity/ Bernard Sent from my iPhone so please excuse the spelling!" > On Sep 7, 2020, at 6:17 PM, Rolf Turner wrote: > >  >> On Mon, 7 Sep 2020 11:17

Re: [R] plot shows exponential values incompatible with data

2020-07-09 Thread Bernard Comcast
Use the xlim option in the plot function? Bernard Sent from my iPhone so please excuse the spelling!" > On Jul 9, 2020, at 10:06 AM, Luigi Marongiu wrote: > > Thank you, > but why it does not work in linear? With the log scale, I know it > works but I am not looking for it; is there a way to f

Re: [R] Fitting Richards' curve

2020-05-13 Thread Bernard Comcast
I have been using nlsr() to fit s curves to Covid-19 data over the past few weeks and I have not had any issues. Bernard Sent from my iPhone so please excuse the spelling!" > On May 13, 2020, at 5:16 PM, Abby Spurdle wrote: > > Hi Christofer, > > This doesn't really answer your question. > B

Re: [R] Fitting Richards' curve

2020-05-13 Thread Bernard Comcast
Also, in the full curve referenced on Wikpedia, the parameters Q And M are confounded - you only need one or the other But not both. If you are using both and trying to estimate them both you will have problems. I have fitted these curves quite easily using the Solver in Excel. Bernard Sent fro

Re: [R] Fitting Richards' curve

2020-05-13 Thread Bernard Comcast
John, have you ever looked at interval optimization as an alternative since it can lead to provably global minima? Bernard Sent from my iPhone so please excuse the spelling!" > On May 13, 2020, at 8:42 AM, J C Nash wrote: > > The Richards' curve is analytic, so nlsr::nlxb() should work better

Re: [R] COVID-19 datasets...

2020-05-04 Thread Bernard Comcast
Thanks, i will take a look Bernard Sent from my iPhone so please excuse the spelling!" > On May 4, 2020, at 2:49 PM, James Spottiswoode wrote: > > Sure. COVID-19 Data Repository by the Center for Systems Science and > Engineering (CSSE) at Johns Hopkins University is available here: > > http

Re: [R] Interactive stats packages

2020-04-16 Thread Bernard Comcast
Thanks Bernard Sent from my iPhone so please excuse the spelling!" > On Apr 16, 2020, at 9:01 PM, Ista Zahn wrote: > > On Thu, Apr 16, 2020 at 8:05 PM Bernard Comcast > wrote: >> >> Yes Ista, that is what I meant by interactive. Something that is menu driv

Re: [R] Interactive stats packages

2020-04-16 Thread Bernard Comcast
open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > >> On Thu, Apr 16, 2020 at 2:44 PM Ista Zahn wrote: >> >>> On Thu, Apr 16, 2020 at 4:48 PM Bernard Comcast

Re: [R] Interactive stats packages

2020-04-16 Thread Bernard Comcast
Yes Ista, that is what I meant by interactive. Something that is menu driven with a GUI rather than command line. Thanks Bernard Sent from my iPhone so please excuse the spelling!" > On Apr 16, 2020, at 5:44 PM, Ista Zahn wrote: > > On Thu, Apr 16, 2020 at 4:48 PM Bernard Co

[R] Interactive stats packages

2020-04-16 Thread Bernard Comcast
Do any of you know of any interactive stats analysis packages built on top of R? Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] Correlated sampling

2020-04-09 Thread Bernard Comcast
I want to create a Monte Carlo simulation with 4 input parameters that are correlated with each other. The parameters have normal distributions and the variance/covariance matrix is known. Are there any R functions available to generate such correlated normal random variables? Bernard Sent from

Re: [R] Curve fitting

2020-04-05 Thread Bernard Comcast
Thanks Jeff Bernard Sent from my iPhone so please excuse the spelling!" > On Apr 5, 2020, at 3:14 PM, Jeff Newmiller wrote: > > stats::nlm? > >> On April 5, 2020 11:53:10 AM PDT, Bernard Comcast >> wrote: >> Any recommendations on an R package to fit

[R] Curve fitting

2020-04-05 Thread Bernard Comcast
Any recommendations on an R package to fit data to a nonlinear model Y=f(x) with a single x and y variable? I want to be able to generate parameter uncertainty estimates and prediction uncertainties if possible. Bernard Sent from my iPhone so please excuse the spelling!" __

Re: [R] Surface plots....

2019-04-25 Thread Bernard Comcast
;The trouble with having an open mind is that people keep coming along >>> and sticking things into it." >>> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) >>> >>> >>> On Thu, Apr 25, 20

[R] Surface plots....

2019-04-25 Thread Bernard Comcast
Does anyone have a recommendation for the best package/function for doing surface plots? Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listin

Re: [R] Pause script at input from terminal (interactive use)

2019-04-19 Thread Bernard Comcast
I have used the shiny package to create a web page user interface and it works well. Bernard Sent from my iPhone so please excuse the spelling!" > On Apr 19, 2019, at 1:12 AM, Luigi Marongiu wrote: > > I am realizing as well that R is not the best option for an > interactive session. I changed

Re: [R] Quantile Density Contours

2019-03-29 Thread Bernard Comcast
Thanks Abs - I was able to get the plot I needed with the hdrcde package but I will check out your package as well. I continue to be impressed with the power Of R and the various packages available. Thanks again Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 29, 2019, a

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-28 Thread Bernard Comcast
I will take a look but the hdrcde package appears to give me the plots I was looking for. Thanks Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 28, 2019, at 10:16 PM, Jeff Newmiller wrote: > > I just found the "ks" package which looks promising... [1] > > https://cran.r

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-28 Thread Bernard Comcast
Thanks Petr Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 28, 2019, at 2:26 AM, PIKAL Petr wrote: > > Hallo Bernard > > I did not follow all emails in this thread but it seems to me that your > request is similar to Bioconductor packages dealing with Flow Cytometry data

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-27 Thread Bernard Comcast
No - how do I access that? Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 27, 2019, at 6:57 PM, Jeff Newmiller wrote: > > I don't know. Have you looked at the Multivariate Task View? > >> On March 27, 2019 3:43:52 PM PDT, Bernard Comcast >

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-27 Thread Bernard Comcast
To follow on Jeff, is there a function to do 2-D (double) numerical integration in R? Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 27, 2019, at 6:38 PM, Jeff Newmiller wrote: > > Regardless of how many dimensions you have for independent variables, the > density is one

Re: [R] [FORGED] Re: Quantile Density Contours

2019-03-27 Thread Bernard Comcast
That thought had crossed my mind so thanks for that clarification Bert. i think you are correct and so the plot I am looking at must be doing something different than I was thinking. Thanks Bernard Sent from my iPhone so please excuse the spelling!" > On Mar 27, 2019, at 5:18 PM, Bert Gunter

Re: [R] Error trapping in R

2019-02-27 Thread Bernard Comcast
Thanks Bernard Sent from my iPhone so please excuse the spelling!" > On Feb 27, 2019, at 4:05 PM, Duncan Murdoch wrote: > >> On 27/02/2019 3:55 p.m., Bernard Comcast wrote: >> What is the recommended way to trap errors in R? My main need is to be able >> to

[R] Error trapping in R

2019-02-27 Thread Bernard Comcast
What is the recommended way to trap errors in R? My main need is to be able to trap an error and then skip a section of code if an error has occurred. In VB for Excel I used the “On Error goto .” construct to do this. Bernard Sent from my iPhone so please excuse the spelling!" _

[R] Weather station data

2019-02-17 Thread Bernard Comcast
Is anyone aware of any R capability to access data at weather stations around the globe? An R package perhaps? Thanks Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] Reading an excel file

2019-01-10 Thread Bernard Comcast
What is the best way to read in data of any type from an Excel 2016 .xlsx file? Thanks Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo

Re: [R] building a subscript programatically

2011-11-01 Thread Comcast
Leaving the indices empty should give you what I'm guessing you want/expect. x[,,2]#. TRUE would also work, just not in a list. David. On Nov 1, 2011, at 6:14 PM, Ernest Adrogué wrote: > Hi, > > On ocasion, you need to subscript an array that has an arbitrary > (ie. not known in advance)

Re: [R] Vectorize 'eol' characters

2011-10-31 Thread Comcast
On Oct 31, 2011, at 2:01 PM, "Stefano Conti" wrote: > Thanks to Dr Shepard and Prof Riply for their helpful replies. > > In my original query I should have also specified that I have tried the > trick, also suggested by Prof Ripley, of appending the extra-column to the > original matrix befo

Re: [R] oversampling code

2011-10-31 Thread Comcast
On Oct 31, 2011, at 1:54 PM, loubna ibn majdoub hassani wrote: > Hir > I have an umbalanced data set where I want to predict a binary variable Y. > I want to do an under sampling by keeping all the 1 and taking just some of > the 0 such as I'll have 90% of 0 and 10% of 1. ou haven' t given mu

Re: [R] lapply and Two TimeStamps as input

2011-10-31 Thread Comcast
Provide some sample data. For instance, a data frame with two columns and the function. On Oct 31, 2011, at 6:37 PM, Alaios wrote: > Dear all, > > I have a function that recognizes the following format for timestamps > "%Y-%m-%d %H:%M:%S" > > my function takes two input arguments the TimeSt

Re: [R] Linear Regression with Linear Equality Constraint

2011-10-31 Thread Comcast
On Oct 31, 2011, at 5:12 PM, Comcast wrote: > > > On Oct 31, 2011, at 3:31 PM, Bert Gunter wrote: > >> Well, if I understand the question correctly (following the posting guide >> would have spared guessing, as usual), forget packages -- nothing more than >>

Re: [R] Linear Regression with Linear Equality Constraint

2011-10-31 Thread Comcast
On Oct 31, 2011, at 3:31 PM, Bert Gunter wrote: > Well, if I understand the question correctly (following the posting guide > would have spared guessing, as usual), forget packages -- nothing more than > elementary algebra is needed. > > e.g. > > lm(y ~ x1 + x2 + x3) subject to the constrain

Re: [R] what can one do with (to) '..." ?

2011-08-15 Thread Comcast
Inside your function that has a ... argument, you can get the optional arguments with : Arg.dot <- list(...) Section 2.1.5 of the R Language Definition which should be accessible from the help facility would appear to be sensible place to start. "Programming for Data Analysis" could also be pu

Re: [R] Regression - how to deal with past values?

2011-08-15 Thread Comcast
Have you done any searching (with for instance the term "forecast")? If so then you should describe what you found and why it doesn't meet your needs. -- David Sent from my iPhone On Aug 15, 2011, at 7:54 PM, "Eduardo M. A. M.Mendes" wrote: > Many thanks but I am not looking for a remote

Re: [R] area under the curve

2011-08-15 Thread Comcast
Why re-invent? Use lrm in rms. -- David Sent from my iPhone On Aug 15, 2011, at 10:07 AM, Mariana Varela wrote: > HI there, I have been trying to use a code posted on R help to be able to > calculate area under the curve for complicated data points and there seems to > be an issue with th

Re: [R] calibration curve for cph()

2011-08-15 Thread Comcast
Build a prediction function using 'Function' that gets applied to set2. Calibrate and validate. -- David Sent from my iPhone On Aug 15, 2011, at 11:31 AM, array chip wrote: > Hi, the calibrate.cph() function in rms package generate calibration curve > for Cox model on the same dataset wher