On Mon, 12 Sep 2016, Ding, Jie Ding (NIH/NIA/ERP) [F] wrote:
Dear Achim,
Sorry to have disturbed you. I have encountered a problem when computing
Hausman test statistics (i.e. p values) in R to compare OLS and 2SLS models.
The problem is a discrepancy between the two p-value outputs from th
Do you mean "increase the convergence value." Decreasing it should
make it harder to converge (I believe, depending on exactly how
"convergence vaue" is defined, so doublecheck.)
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into i
Thanks for the reply.
I have another related issue with Gamma mixture model. here is the
description:
I am trying to fit a 2 component gamma mixture model to my data (residual
values obtained after running Generalized Linear Model), using following
command (part of the code):
expr_mix_gamma <-
Thanks for your suggestion. I have checked and I don't have JPEG2000 in
ggdalDrivers()). I am pretty new in R. I don't understand how to do I
implement JPEG2000 (JP2OpenJPEG driver) in gdalDrivers() so that I can read
grib2 files
with regards
-Deb
On Sat, Sep 10, 2016 at 2:33 AM, Michael Sumner
Dear Achim,
Sorry to have disturbed you. I have encountered a problem when computing
Hausman test statistics (i.e. p values) in R to compare OLS and 2SLS models.
The problem is a discrepancy between the two p-value outputs from the "manual
approach (by hand)" and the " diagnostics argument" i
Hello Jeff,
I kept fooling with this, and also looking around the web and I actually
found something on stackoverflow, which does what I had in mind. You
mentioned that you would rarely use someting like this, but the link is:
http://stackoverflow.com/questions/6192848/how-to-generalize-outer-to
Hello,
subsets of association rules (with respect to support, confidence, lift, or
items) can be obtained with the arules::subset() function; e.g.
rm(list = ls(all.names = TRUE))
library(arules)
set.seed(42)
x <- lapply(X = 1:500, FUN = function(i)
sample(x = 1:10, size = sample(1:5,
A vignette has been added to the package. I hope that even those who don’t use
the package will find its discussion of trellis graphics useful. Otherwise,
this is a minor update that fixes some bugs and adds a few small features. See
the NEWS file for details. As always, comments and suggestions
If you think you might want to put this function into a package, it would be
much better to use gsub instead of passing the job off to an external program,
because non-POSIX operating systems (Windows) will be a headache to support.
--
Sent from my phone. Please excuse my brevity.
On September
Dear Benjamin,
Like R, the Rcmdr package is free software distributed under the GNU General
Public License. For more information, type ?license at the R > command prompt.
I hope this helps,
John
--
John Fox, Professor
McMaster University
Hamilton, Ontario, C
No you may not.
I suggest that you *first search before posting* -- e.g. on "R package
moments of distributions" -- where you would find the package
"moments" that apparently already does exactly what you suggest (there
are some other packages as well). You could also first search the CRAN
task vi
Today I need to compute the means for some distributions... and there's no easy
way to do it!
I mean (no pun intended), there is (d,p,r,q) for all distributions (like:
dgamma, pgamma, rgamma, qgamma; dchisq, pchisq, rchisq, dchisp; etc), but there
is no "m"-functions, like a mgamma to get the m
At the risk of being redundant, the command prcomp(pcl, scale.=T) is the same
as the command print(prcomp(pcl, scale.=T)). This passes the results of
prcomp() to print() which prints some of them (whatever the function
print.prcomp() is programmed to display) and then throws them away. To save t
Thank you to Sarah Goslee and Ivan Calandra for their exhaustive explanations.
About Ivan Calandra's suggestion to put data in the right format adding a
column "station" with values being
either RM or RT, I would ask Ivan if he means to divide the initial data frame
into two data frames, one for
Why do you want a commercial license? The software is free of charge
and free to use anywhere.
If you want support of some kind, then you need to spell this out -
there are companies and consultants who will support your R work for a
price.
On Mon, Sep 12, 2016 at 8:39 AM, benjamin.stoc...@daiml
Dear Benjamin,
Have a look at FAQ 2.11:
https://cran.r-project.org/doc/FAQ/R-FAQ.html#Can-I-use-R-for-commercial-purposes_003f
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics &
Dear r-project Team
How does It cost a commercial license for the R Console and the R-comander GUI
without the Rstudio enviroment.
Thanks for helping me.
Freundliche Gr�sse/Kind regards
Benjamin Stocker
Reporting/Controlling MBC
Mercedes-Benz Schweiz AG
Bernstrasse 55
8952 Schlieren/Switzerlan
Hi Nick,
"prcomp" returns an object of class "prcomp" so when you simply 'print' the
object it gets passed to the "print.prcomp" function. If you want to see
all the objects you should assign the results to an object.
Regards,
Charles
On Mon, Sep 12, 2016 at 7:56 AM, WRAY NICHOLAS
wrote:
> Hi
Hi R Folk I have been kicking some data around and one thing has been to try a
PC analysis on it, but whereas in the online examples I've looked at the prcomp
function gives a set of five outputs when I use the prcomp function it only
gives me a set of standard deviations and the rotation matrix
Perhaps use the correct function. (Just one little letter off...)
--
Sent from my phone. Please excuse my brevity.
On September 11, 2016 10:57:39 PM PDT, Chris Evans wrote:
>I am trying to read activity data created by Garmin. It outputs dates
>like this:
>
>"Thu, 25 Aug 2016 6:34 PM"
>
>The pr
Not sure what the issue is with the provided code but note:
library(lubridate)
lubridate::dmy_hm("Thu, 25 Aug 2016 6:34 PM")
[1] "2016-08-25 18:34:00 UTC"
Though if you go that route: set the TZ because on the timestamp it is
ambiguous.
On Sun, Sep 11, 2016 at 10:57 PM, Chris Evans wrote:
>
On 12 Sep 2016, at 12:33 , Chris Evans wrote:
> OK. I'm an idiot (not for the first time and, sadly, no doubt not for the
> last). strptime() was all that was needed: just that one pesky character and
> I can't remember now why I went astray there, but thanks to all who supplied
> the answer
On 9/11/2016 10:57 PM, Chris Evans wrote:
I am trying to read activity data created by Garmin. It outputs dates like this:
"Thu, 25 Aug 2016 6:34 PM"
The problem that has stumped me is this:
strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p")
Error in as.POSIXlt.character(x,
It should be strptime for character vectors.
strptime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p”)
> On 12 Sep 2016, at 08:57, Chris Evans wrote:
>
>> strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p")
[[alternative HTML version deleted]]
__
> On 12 Sep 2016, at 07:57 , Chris Evans wrote:
>
>> strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p")
strptime, not strftime...
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
On Mon, 12 Sep 2016, Chris Evans writes:
> I am trying to read activity data created by Garmin. It outputs dates like
> this:
>
> "Thu, 25 Aug 2016 6:34 PM"
>
> The problem that has stumped me is this:
>
>> strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p")
> Error in as.POSIXlt
OK. I'm an idiot (not for the first time and, sadly, no doubt not for the
last). strptime() was all that was needed: just that one pesky character and I
can't remember now why I went astray there, but thanks to all who supplied the
answer and all who supplied additional useful information.
As
27 matches
Mail list logo