Simple when you know how!
Thanks
Sent from mobile device - please excuse any spelling mistakes.
-- Original Message --
From: William Dunlap
To: Bernard McGarvey
Cc: Ivan Krylov, r-help@r-project.org
Sent: February 11, 2019 at 4:29 PM
Subject: Re: [R] Difficulty with "\\"
uadratic effects for the Sigma_theta input. I thought
theVarCorr output from a lmer mixed model analysis of the profiles might
provide the elements for that matrix
my apologies for so many questions - many thanks for any thoughts on any of them
best wishes
Bernard
[[alternative
for R?
Thanks in advance for any help.
Lion Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE
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/ma
OME cannot be determined from the Registry
>
Does anyone have any idea what the issue is?
Thanks
Lion Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
[[alternative HTML version deleted]]
___
ng the str_split with
str_split(Fname1,"\")
does not work either.
Any ideas on how I can handle the \\ and split the full name into its pieces?
Lion Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fell
Brilliant! Thanks a million Ivan.
Lion Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
> On February 11, 2019 at 3:13 PM Ivan Krylov wrote:
>
>
> On Mon, 11 Feb 2019 15:01:16 -0500 (EST)
> Bernard McGarvey wrote:
>
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
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
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
Thanks - the try() approach is exactly what I need.
Lion Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
> On February 27, 2019 at 4:39 PM Robert Knight wrote:
>
> Some use try blocks, like found in other languages. Put
gives density
values that can be plotted on a contour plot but I would like the curves that
enclose a given % of the data, if that is possible
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow
John, I have attached a pdf of the plot. Hopefully you can read this.
If I understand correctly, this plot is basically the 2-D version of the 1-D
quantile plot.
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
> On March
% value).
I hope this makes some sense.
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
> On March 27, 2019 at 3:57 PM Paul Murrell wrote:
>
>
>
> Are you looking for the contourLines() function ?
>
> Paul
>
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, Ber
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
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
>
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 deal
pracma meets my needs - thanks - this is an amazing package with lots of very
very useful functions. Thanks for bringing it to my attention.
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
> On March 28, 2019 at 1:40 PM David Winsem
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 pro
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
Dear All,
I am desperately trying to find any R package that fits a mixture survival
models also know as a cure models. These are survival models where the
survival function is improper, which also means that a fraction of subjects
are expected not to expreience the event. A huge literature
Dear All,
I am desperately trying to find any R package that fits a mixture survival
models also know as a cure models. This are survival model where the survival
function is improper which also means that a fraction of subjects are
expected not to expreience the event. A Huge literature
Dear all,
I am trying to install a package called "GFCURE" from a local zip file. This
package fits a cure survival model and has been downloaded from:
http://post.queensu.ca/~pengp/software.html
The problem is that when I try to install this package from a local zip file
using R,
uk
> CC: r-help@r-project.org
>
> On Tue, May 19, 2009 at 6:17 AM, marc bernard
> wrote:
> >
> > Dear all,
> >
> >
> >
> > I am trying to install a package called "GFCURE" from a local zip file.
> > This package fits a cure survival model
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, 20
to be returned to a data frame or other object that I
can write out using the write.csv function. I have looked at the summarize and
numSummary functions but they do not appear to be flexible enough to do the
above.
Any help would be appreciated,
Thanks
Bernard McGarvey
Director, Fort Myers
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 cl
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,
&g
by
periods but I can add them after creating the data frame and the column
headings are correct.
Any ideas on why this occurs?
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
__
R-help@r-p
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
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
'"cat"' not found
> library("XLConnect")
Error: package or namespace load failed for ‘XLConnect’:
.onLoad failed in loadNamespace() for 'XLConnect', details:
call: system2("cat", c("/etc/*-release"), stdout = TRUE, stderr = TRUE)
erro
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
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:
>
&
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
> inter
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/ma
If I have a set of data (x,y,z) and I want to plot z(x,y) as a surface plot.
What I am looking for is one with a lot of functionality like easily rotate the
plot and so on.
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow
That works nicely for what I need
Thanks
Bernard
Sent from my iPhone so please excuse the spelling!"
> On Apr 25, 2019, at 3:21 PM, Duncan Murdoch wrote:
>
>> On 25/04/2019 2:24 p.m., Bernard McGarvey wrote:
>> If I have a set of data (x,y,z) and I want to plot z
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
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
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
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/listi
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
Thanks
Bernard
Sent from my iPhone so please excuse the spelling!"
> On Apr 16, 2020, at 6:10 PM, Bert Gunter wrote:
>
> In addition ...
>
> https://cran.r-project.org/web/views/TeachingStatistics.html
>
> Bert Gunter
>
> "The trouble with having an
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
Just curious does anyone know of a website that has data available in a format
that R can download and analyze?
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation, Inc.
Retired (Lilly Engineering Fellow).
__
R-help@r
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
180 2.6139e-02
[96,] 3359.2 4.6052e+04 6.8321e+00 -7.158584 2.6139e-02
[97,] 3359.2 2.5464e+03 6.8321e+00 -1.811626 2.6139e-02
[98,] 3359.2 6.8321e+00 1.0338e+030.026139 -1.5365e+01
[99,] 3359.2 1.3783e+01 -6.9507e+000.026139 2.6139e-02
[100,] 3359.2 6.8321e+00 6.7153e
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:
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
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 re
ents. How do I add these shipments as
individual lines onto the world map. If I need to I can convert from lat & long
to map coordinates using the mercator projection equations. My issue is what
ggplot commands to use.
Thanks
Bernard McGarvey
Director, Fort Myers Beach Lions Foundation
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 i
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:
>
>
>> O
Dear R list,
I am plotting a discrete valued number on the y axis against a continuous
variable on the x axis.
To allow sample size to be viewed for the discrete groups I am using vertical
jitter.
So my code is along the lines of
y<-rpois(500,2)
x<-rnorm(500,y,1)
plot(x,jitter(y))
It has not be
Have there been attempts to build a chess engine in R? If so, is it
available anywhere?
I recognize that R really isnt the right language for a chess engine, but
I was more curious if it had been attempted.
Thank you.
Rob Bernard
--
--
Robert N. Bernard
minus
I have an issue with Matrix package.
When I try to load it (with R version 2.10.1 with Windows XP) I have an error
message in return:
Error in registerS3method(Info[i, 1], Info[i, 2], Info[i, 3], env) :
aucun slot de nom "methods" pour cet objet de la classe "derivedDefaultMethod"
any idea o
I want to make a graph where each element plotted is itself a graph. I can
see how to use par(fig=) and viewport to do that, but they require (i think)
me to do my own scaling as they are scaled to the graphics window. any
advice on which approach I should take (just bite the bullet and do my own
many useful suggestions that I'll work on, especially babtiste's detailed
code. yes, I want something like Fig 1.7, or 7.18, or 7.22, but where the
x,y values are characteristics of the mini-histogram that is plotted.
attached (if it makes it through) is what i'm trying to do in R.
On Sat, Aug
I've now tried Babtiste's code and my reaction is WOW! it shows me how to
do just what I need to do. I know enough to follow all the code but it
would have taken me a LOOO time to generate it. thank you Babtiste!
gary
On Sat, Aug 21, 2010 at 2:15 PM, baptiste auguie <
baptiste.aug...@g
I'm sure this must be a nls() newbie question, but I'm stumped.
I'm trying to do the example from Draper
and Yang (1997). They give this snippet of S-Plus code:
Specify the weight function:
weight < - function(y,x1,x2,b0,b1,b2)
{
pred <- b0+b1*x1 + b2*x2
parms <- abs(b1*b2)^(1/3)
(y-pred)/parms
I'm sure this must be a nls() newbie question, but I'm stumped.
I'm trying to do the example from Draper
and Yang (1997). They give this snippet of S-Plus code:
Specify the weight function:
weight < - function(y,x1,x2,b0,b1,b2)
{
pred <- b0+b1*x1 + b2*x2
parms <- abs(b1*b2)^(1/3)
(y-pred)/parms
data than
M2
Many thanks in advance
Bernard,
-
Une boite mail plus intelligente.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/ma
Dear all,
Is there a function to calculate the prediction intervals for random
effects in non-linear mixed models? I found a way to do it for linear mixed
models but not for non-linear mixed one.
Many thnaks
Bernard
for non-linear mixed one.
Many thanks
Bernard
_
o.fr
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
r example is (1,4,6).
Many thanks in advance,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEAS
in the firts model. Thus my
question: Which model should I select: the one that fits better to the data
(i.e Model 1) or the one that shows significant effects of my covariate
(Model2). Or in another way, Is it legitimate to use model 2?
Many thanks in advance,
Bernard
Dear All,
Is there any bootstrap function in nlme for a non linear mixed model. Either
a non-parametric or parametric one.
Thanks
Bernard
-
[[alternative HTML version deleted
re equals to the optimized parameters in fm2
not in fm1. I am missing something I suppose.
Bests,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
http
Dear all,
I am looking for an R package that allows me to calculate and plot the
confidence limits for the roc curve using for example some bootstrapping.
I tried "ROCR" who seems doing such work but i couldn't find the right option
to do it.
Many thanks
Bests
Marc
___
Dear all, I am looking for an R package that allows me to calculate and plot
the confidence intervals for the roc curve using for example some
bootstrapping. I tried "ROCR" who seems doing such work but i couldn't find the
right option in it. Many thanks Bests Marc
_
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https
On Thu, Feb 7, 2008 at 1:06 PM, John Kane <[EMAIL PROTECTED]> wrote:
> ?chisq.test
> --- jinjin <[EMAIL PROTECTED]> wrote:
>
> >
> > for example, an expression such as chisq(df=1,ncp=0)
> > ?
> >
perhaps pchisq(chisqvalue, df=1, ncp=0) is what you are looking for to
evaluate the probability for
A young colleague (Matthew Keller) who is an ardent fan of R is teaching me
much about R and discussions surrounding its use. He recently showed me
some of the sometimes heated discussions about Type I and Type III errors
that have taken place over the years on this listserve. I'm presumptive
eno
It is easy to worry too much about using numbers to represent order when
using statistics like the correlation. this little example shows that the
correlation is essentially a rank-order correlation itself:
> x <- 1:20
> y <- x^2
> cor(x,y)
[1] 0.9713482
x and y are definitely not linearly relate
I have R on all sorts of Macs, including one's a lot whimpier than the one
you are describing and it works great on all of them.
gary mcclelland
colorado
On Sat, Feb 9, 2008 at 6:29 PM, Maura E Monville <[EMAIL PROTECTED]>
wrote:
> I saw there exists an R version for Mac/OS.
> I'd like to hear fr
Hi Dani,
it would be better to start with a question you are trying to ask of your
data rather than trying to figure out what a particular function does. with
your variables and model, even if the component terms were not significant,
they must in the model or the product of sunlight and aspect wi
Hi Arin,
Others have commented wisely an your first issue. As for your 2nd issue, I
had my own concerns about using R in undergraduate teaching because I had
always used a point-and-click program for that level. I should not have
worried. The current generation has been typing on their keyboards
I just got a copy of
A First Course in Statistical Programming with R by W. John Braun and Duncan
J. Murdoch. Cambridge. at amazon:
http://www.amazon.com/First-Course-Statistical-Programming-R/dp/0521694248/
first couple of chapters are base R that most everyone would know before
wanting to pro
Dear all,
I am looking for a good reference on "Survival analysis". I am looking for a
booking containing both applications and Maths. Explaining different methods in
survival analysis
Many thanks
Hi,
I have been trying to use the function cochran.test from the Outliers
package to test for homogeneity of variance. This works well except when
I use transformed data. Would anyone have an idea why it doesn't work
and how I could do the cochran test on transformed data?
Thanks,
Stephanie
>l
Hi all,
I would like to test the homoegeneity of variances between several
linear model for some analysis of covariance. It seems that the
Bartlett's test is a good test to use but I am having problem using with
linear model and I cannot find any examples on the internet. There are
some exampl
I am interested Andrea is whether you ever established why your R2 was 1.
I have had a similar situation previously.
My main issue though, which I'd be v grateful for advice on, is why I am
obtaining such negative values -0.3 for Somers Dxy using validate.cph from
the Design package given m
.0017677983 0.091630642 150
U -0.001562582 -0.001579618 0.001150175 -0.0027297932 0.001167211 150
Q 0.094961022 0.096745857 0.092248266 0.0044975915 0.090463431 150
Dr Bernard North
Statistical Consultant
Statistical Advisory Service
Advice and Courses on Research Design and
d. So I suppose I could do that and add time series for
successive time series using lines( but then I wouldn't have a legend or I'd
have to create one "manually"
Many thanks for any advice
Bernard
speclong
Date time outcome id
1.1 1998-01-291 8.11879e-
I am using the validate option in the Design package with the Cox survival
model.
I am using the bw=T option which, like the fastbw function, performs a backward
elimination variable selection
The output includes a series of columns (below) giving information on
eliminated variables.
My question
Dear All,
Is it possible to get confidence intervals for Harrell's concordance index or,
equivalently, Somer's D using the rms package or in some other way ?
I have survival data it would be the c-index in the Cox model setting
Many thanks
Dr Bernard North
Statistical Consultant
S
I am using the rcorr.cens function from the Hmisc package and the
time-dependent ROC curve obtained using tdrocc in the survcomp package.
I understand that the C statistic from rcorr.cens has to be subtracted from 1
if high values of the risk variable lower survival.
Given that I wonder what the
I am using the rcorr.cens function from the Hmisc package and the
time-dependent ROC curve obtained using tdrocc in the survcomp package.
I understand that the C statistic from rcorr.cens has to be subtracted from 1
if high values of the risk variable lower survival.
Given that I wonder what the
anyone
know of an implementation that does this? I searched both the internet
and the help archives and was unable to find anything. Thanks in
advance.
Bernard Gordon
This is not an offer (or solicitation of an offer) to buy/sell
92 matches
Mail list logo