Did you first try a web search? -- you should always do this before posting
here.
"meta-analysis in R" brought up this:
https://CRAN.R-project.org/view=MetaAnalysis
Have you looked at this task view yet?
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
Thank you.
That indeed dispels my brain fog!
Best,
Bert
Bert Gunter
"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 Wed, Aug 12, 2020 at 6:35 AM Stefan Evert
wrote:
>
> On 10 Aug 2020, at 18:36, Bert Gunter wrote:
>
> But this appears to be imprecise (it confused me, anyway). The usual sense
> of "matching" in regex's is "match the pattern somewhere in the string
> going forward." But in the perl lookahead construct it apparently must
> **exactly** match
I think that the current documentation is correct, but that does not
mean that it cannot be improved.
The key phrase for me is "from the current position" which says to me
that the match needs to happen right there, not just somewhere in the
rest of the string.
If you used the expression " +t"
Thank you very much!
With best regards
Dr. Mehdi Dadkhah
Email: drdadk...@outlook.com
Website: drdadkhah.click
From: Michael Dewey
Sent: Thursday, July 23, 2020 1:06 PM
To: Dr. Mehdi Dadkhah ; r-help@r-project.org
Subject: Re: [R] Question about citing R
Dear Medhi
It is good that you are going to cite the packages properly. I do not
think it matters too much whether they are in the article itself or in
the supplementary material, the important thing is that they are there.
You do not have any legal obligation to cite them, as far as I know
Thank you!
On Sat, May 9, 2020 at 11:44 AM wrote:
> Or, to split the paragraph into sentences, analyse each sentence and
> decide how to agregate the result...
>
>
>
> On 9 May 2020 04:33, Mehdi Dadkhah wrote:
>
> Thank you!
>
> On Fri, May 8, 2020 at 10:04 PM John Kane wrote:
>
> > I think
Thank you!
On Fri, May 8, 2020 at 10:04 PM John Kane wrote:
> I think your best bet is to ask the author/maintainer, Stefan Feuerriegel
> ,about this. The reference manual
> https://cran.r-project.org/web/packages/SentimentAnalysis/SentimentAnalysis.pdf
> gives his email address as
>
> On Fri,
I think your best bet is to ask the author/maintainer, Stefan Feuerriegel
,about this. The reference manual
https://cran.r-project.org/web/packages/SentimentAnalysis/SentimentAnalysis.pdf
gives his email address as
On Fri, 8 May 2020 at 08:32, Mehdi Dadkhah wrote:
> Hi,
> I hope you are doing
I think it unlikely that you'll get such specific help here.
Try posting on:
R-SIG-phylo: R SIG on phylogenetic and comparative methods and analyses
instead.
(I also assume you are aware of:
https://CRAN.R-project.org/view=Phylogenetics ,
but I have no idea whether it is helpful).
Bert Gunter
Thank you so much Duncan. I will pitch in. Tom
From: Duncan Murdoch
Sent: Sunday, May 3, 2020 2:56 PM
To: Fomby, Tom; r-help@R-project.org
Subject: Re: [R] Question about "sample" function and inconsistent results I am
getting across machines.
On
:50 PM
To: Fomby, Tom; r-help@R-project.org
Subject: Re: [R] Question about "sample" function and inconsistent results I am
getting across machines.
I just tried both versions, and it's the ASUS that's using the buggy old
algorithm.
Duncan Murdoch
On 03/05/2020 3:32 p.m., Duncan Mur
ay 3, 2020 2:32 PM
To: Fomby, Tom; r-help@R-project.org
Subject: Re: [R] Question about "sample" function and inconsistent results I am
getting across machines.
On 03/05/2020 1:39 a.m., Fomby, Tom wrote:
> Please consider the following code:
>
> set.seed(1)
>
> t
er-groups/. (I haven't
checked how similar those two lists are.)
Duncan Murdoch
Thank you,
Tom Fomby
Department of Economics
SMU
Dallas, TX 75275
*From:* Duncan Murdoch
*Sent:* Sunday, May 3, 2020 2:32 PM
*To:*
I just tried both versions, and it's the ASUS that's using the buggy old
algorithm.
Duncan Murdoch
On 03/05/2020 3:32 p.m., Duncan Murdoch wrote:
On 03/05/2020 1:39 a.m., Fomby, Tom wrote:
Please consider the following code:
set.seed(1)
train.index = sample(181,150)
head(train.index)
# [1]
It is a lot easier from this side of the conversation to view skeptically the
claim that all of these installations of R are using the same version than that
the software seed has started behaving randomly within the same version of R.
On May 2, 2020 10:39:58 PM PDT, "Fomby, Tom" wrote:
On 03/05/2020 1:39 a.m., Fomby, Tom wrote:
Please consider the following code:
set.seed(1)
train.index = sample(181,150)
head(train.index)
# [1] 49 67 103 162 36 159 Result from my ASUS computer
#
# [1] 68 167 129 162 43 14 Result from my wife's HP Pavilion computer
In both cases,
Only you have the power to solve your problem. Follow the instructions in the
footer of any R-help email.
On April 10, 2020 8:33:41 PM PDT, Anand Menon wrote:
>Hello, Could you please help unsubscribe me from these emails. Thank
>you.
>
>Kind Regards,
>Anand K Menon
>Cell: 1-416-939-3671
>
>
Hello,
There are instructions to unsubscribe at the bottom of this e-mail and
of every R-Help e-mail, see the all capital letters word.
Hope this helps,
Rui Barradas
Às 04:33 de 11/04/20, Anand Menon escreveu:
Hello, Could you please help unsubscribe me from these emails. Thank you.
Kind
Hello, Could you please help unsubscribe me from these emails. Thank you.
Kind Regards,
Anand K Menon
Cell: 1-416-939-3671
On Fri, Apr 10, 2020 at 3:46 PM Ana Marija
wrote:
> Hello,
>
> I would like to try this example in this link:
>
>
On Fri, Apr 10, 2020 at 2:54 PM Duncan Murdoch wrote:
> On 10/04/2020 3:46 p.m., Ana Marija wrote:
> > I have in current directory from
> > where I would run this function a
> > file named output4.bed
>
> Just use "output4.bed" as the
> filename. The system.file() function
> is for working
Got it, thanks!
On Fri, Apr 10, 2020 at 2:54 PM Duncan Murdoch wrote:
>
> On 10/04/2020 3:46 p.m., Ana Marija wrote:
> > Hello,
> >
> > I would like to try this example in this link:
> > https://www.rdocumentation.org/packages/SNPRelate/versions/1.6.4/topics/snpgdsBED2GDS
> >
> > for example
On 10/04/2020 3:46 p.m., Ana Marija wrote:
Hello,
I would like to try this example in this link:
https://www.rdocumentation.org/packages/SNPRelate/versions/1.6.4/topics/snpgdsBED2GDS
for example this line:
bed.fn <- system.file("extdata", "plinkhapmap.bed.gz", package="SNPRelate")
I have in
I tried to do this but I got this error:
> bed.fn <- system.file("output4.bed", package="SNPRelate")
> dim(bed.fn)
NULL
> fam.fn <- system.file("output4.fam", package="SNPRelate")
> bim.fn <- system.file("output4.bim", package="SNPRelate")
> snpgdsBED2GDS(bed.fn, fam.fn, bim.fn, "HapMap.gds")
AM
To: Ivan Krylov ; Lim, Hwanggyu
Cc: r-help@r-project.org
Subject: Re: [R] Question about nlminb function
This thread points out the important and often overlooked difference between
"convergence" of an algorithm and "termination"
of a program. I've been pushing this butt
Hello Ivan,
Thank you so much for your valuable comments. I will definitely look at the R
package of nloptr you introduced.
Best,
Hwanggyu
-Original Message-
From: Ivan Krylov
Sent: Friday, April 3, 2020 5:25 AM
To: Lim, Hwanggyu
Cc: r-help@r-project.org
Subject: Re: [R] Question
This thread points out the important and often overlooked
difference between "convergence" of an algorithm and "termination"
of a program. I've been pushing this button for over 30 years,
and I suspect that it will continue to come up from time to time.
Sometimes it is helpful to put termination
On Thu, 2 Apr 2020 10:26:07 +
"Lim, Hwanggyu" wrote:
> when n-1th estimates and nth estimates have absolute differences
> less than 0.001 for all three parameters, the iteration must stop
> I am using nlminb optimization function
nlminb function uses the PORT library. According to [1], the
On 05/02/2020 12:57 p.m., Jeff Newmiller wrote:
The rmarkdown package is not the issue... this question is about editor
customization. Rmarkdown can be edited in many text editors and IDEs, and none
of them are on topic here. That said, there is a high probability that OP is
using the RStudio
The rmarkdown package is not the issue... this question is about editor
customization. Rmarkdown can be edited in many text editors and IDEs, and none
of them are on topic here. That said, there is a high probability that OP is
using the RStudio IDE, and indeed it would be best to ask them for
Try posting this at the RStudio Help site, as R Markdown is part of the
ecosystem they have created and support.
Bert Gunter
"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 Fri, 18 Oct 2019, Mehdi Dadkhah wrote:
I am using Interpretive structural modeling (ISM) ...
My question is: How should I calculate geometric mean of experts’ opinions
...
I'm not a statistician, nor do I know anything about ISM. With that
disclosure I offer a couple of thoughts.
Thank you!
With best regards,
On Wed, Jul 31, 2019 at 1:24 PM peter dalgaard wrote:
> It is not obvious that this is an R question, but 2 suggestions
>
> (a) some emotions are not clearly positive or negative (e.g. anticipation)
> (b) emotions possibly not mutually exclusive
>
> -pd
>
> > On 31
It is not obvious that this is an R question, but 2 suggestions
(a) some emotions are not clearly positive or negative (e.g. anticipation)
(b) emotions possibly not mutually exclusive
-pd
> On 31 Jul 2019, at 09:11 , Mehdi Dadkhah wrote:
>
> Hi,
> I hope you are doing well!
> I used NRC
I don't think I understand your question.
What if you enter
class(anno)
Does that give anything?
On Mon, May 6, 2019 at 2:29 AM David Winsemius
wrote:
> I wouldn’t have expected an message, but it does raise the question: why
> are you making two different copies of the same text file if you
I wouldn’t have expected an message, but it does raise the question: why are
you making two different copies of the same text file if you are concerned
about size issues?
—
David
Sent from my iPhone
> On May 5, 2019, at 5:14 PM, Spencer Brackett
> wrote:
>
> Also,
>
> In case there is
Also,
In case there is any confusion... "~/Vakul's GBM code" was set up in the
working directory (via setwd) as the folder in which the file 'mapper.txt'
is contained... thereby making the "~/Vakul's GBM code/mapper.txt" as
shown.
Should I perhaps reset my working directory to the file I'm
AM
To: Nitu, Laurentiu
Cc: r-help@r-project.org
Subject: Re: [R] Question about addressing a data frame
is.na<http://is.na>(DF) is a matrix for a data.frame DF. The semantics of '["
are different for matrices
and data.frame and that can cause confusion
> DF <- data.frame(X=c(101
is.na(DF) is a matrix for a data.frame DF. The semantics of '[" are
different for matrices
and data.frame and that can cause confusion
> DF <- data.frame(X=c(101,NA,NA), Y=c("one","two",NA),
row.names=c("i","ii","iii"))
> is.na(DF) # returns a matrix when given a data.frame
X Y
i
Hi
You shouldn't use HTML formating unless you want to surprise us with weird and
messy email.
function dcast is in data.table and/or in reshape2 packages. For both
install.packages("data.table")
install.packages("reshape2")
followed by
library(data.table)
library(reshape2)
should be enough
Hi,
dcast() is a function, not a package, so R can't find it in the package archive.
You need to install the package that contains it. Probably you want reshape2
install.packages("reshape2")
Sarah
On Thu, Mar 21, 2019 at 9:54 AM Marie-joe Kfoury
wrote:
>
> Hi,
>
>
> I am having a problem
Thanks a lot Jeff
I sent to authors and I hope can find these function or even alternatives
On Sun, 17 Feb 2019 at 17:11, Jeff Newmiller
wrote:
> I would guess in an archived version of the package [1], though they may
> have been moved to another package. Such an old package probably will not
I would guess in an archived version of the package [1], though they may have
been moved to another package. Such an old package probably will not work on a
modern version of R... you can extract the functions and see if they still run.
Note that those functions may have theoretical issues or
even I tried to use another library mipfp to generate multivariate Bernoulli
*using the following:*
> p.joint <- ObtainMultBinaryDist(corr = corr_mat[1:10,1:10], marg.probs =
probs[1:10])
*it Shows:*
Problematic pairs:
row col
[1,] 10 9
[2,] 9 10
Warning messages:
1: In
*Here Sample of Code for 10 variables:*
> probs_10 = probs[1:10]
> probs_10
[1] 9.795272e-01 9.331778e-01 6.764349e-01 9.884067e-02 9.52e-05
3.499417e-03 2.380556e-05 9.826457e-01 9.628633e-01 8.874949e-01
> corr_mat_10 = corr_mat[1:10,1:10]
> corr_mat_10
[,1] [,2]
Hi Eman,
It helps if you create a small example that reproduces the problem and then
post the code with your question.
This will help people determine what is causing the problem.
Best,
Eric
On Mon, Feb 11, 2019 at 11:52 AM إيمان إسماعيل محمد <
emanismail...@gmail.com> wrote:
> I need to
Er, just keep it simple, Marc... give one option:
library(lattice)
If you _ever_ use require() without acting upon the return value then you are
setting yourself or someone else up for confusing missing objects errors
someday for no good reason. This _isn't_ just personal preference... by
On Tue, 8 Jan 2019, Bert Gunter wrote:
I think it's ?install.packages
Bert,
Of course it is. My apologies to the original poster.
Rich
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
On Tue, 8 Jan 2019, Marc Schwartz wrote:
lattice is a "recommended" package, which means that it is installed by
default with any standard R installation.
Marc,
Thanks for the reminder.
Regards,
Rich
__
R-help@r-project.org mailing list -- To
Guys,
lattice is a "recommended" package, which means that it is installed by default
with any standard R installation.
Thus, all that is required, as Sarah noted in an earlier reply, is either:
library(lattice)
or
require(lattice)
depending upon preference.
latticeExtra, on the other
I think it's ?install.packages
Bert Gunter
"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 Tue, Jan 8, 2019 at 9:50 AM Rich Shepard
wrote:
> On Tue, 8 Jan 2019, S.
On Tue, 8 Jan 2019, S. Mahmoud Nasrollahi wrote:
I have got a problem during working with some package in R and in spite of
trying with R help, internet and any other resources I could not succeed.
Indeed when I what to install some function like bwplot, boxplot, xyplot I
receive this sort of
xyplot is not a package, it is a function within the lattice package, which
should already be installed.
library(lattice) # load the package from the R library
?xyplot # look at the help for the function
The others are also functions, not packages.
Sarah
On Tue, Jan 8, 2019 at 9:15 AM S.
Dear John and Peter,
Thank you both for your answers. I am going to try the solutions you gave me!
Thanks again,
Lisa
From: Fox, John
Sent: 23 November 2018 16:54:49
To: Lisa van der Burgh
Cc: r-help@R-project.org; peter dalgaard
Subject: RE: [R] Question
Dear Lisa,
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of peter
> dalgaard
> Sent: Friday, November 23, 2018 10:16 AM
> To: Lisa van der Burgh <40760...@student.eur.nl>
> Cc: r-help@R-project.org
> Subject: Re: [R] Quest
You seem to be bringing in a ton of stuff without looking at features in base
R...
Check
help(mauchly.test)
help(anova.mlm)
and examples therein. There are also options in the "car" package.
-pd
> On 23 Nov 2018, at 11:43 , Lisa van der Burgh <40760...@student.eur.nl> wrote:
>
> Hi
e becomes something like this:
>
>x <- y <- z <- 0
>
># here is my scope problem
>result <- list(x = x, y = y, z = z) # c == 0 case
>if (c==1) result <- bar1()
>if (c==2) result <- bar2()
>x <- result[["x"]]
>y <-
"y"]]
z <- result[["z"]]
Duncan Murdoch
- Original Message -
From: "Duncan Murdoch"
To: "Sebastien Bihorel" ,
r-help@r-project.org
Sent: Tuesday, October 30, 2018 4:13:05 PM
Subject: Re: [R] Question about function scope
On 30/10/2018 3:5
Thanks a lot Eric,
I think you are on the same page as Duncan (at least with his 2nd option). I
will definitively explore this.
From: "Eric Berger"
To: "Duncan Murdoch"
Cc: "Sebastien Bihorel" , "R mailing list"
Sent: Tuesday, October 30, 20
That's cool! I think this solution would fit better with what my intended setup.
Thanks a lot
- Original Message -
From: "Duncan Murdoch"
To: "Sebastien Bihorel" ,
r-help@r-project.org
Sent: Tuesday, October 30, 2018 4:18:51 PM
Subject: Re: [R] Question about fu
.
- Original Message -
From: "Duncan Murdoch"
To: "Sebastien Bihorel" ,
r-help@r-project.org
Sent: Tuesday, October 30, 2018 4:13:05 PM
Subject: Re: [R] Question about function scope
On 30/10/2018 3:56 PM, Sebastien Bihorel wrote:
> Hi,
>
> From the R user manual,
Here's another modification to your code that also works. It's a lot
uglier, but will allow bar1 and bar2 to be used in multiple functions,
not just foo.
bar1 <- function(env){
env$x <- 1
env$y <- 1
env$z <- 1
with(env, cat(sprintf('bar1: x=%d, y=%d, z=%d\n', x, y, z)))
}
bar2 <-
Hi Sebastien,
I like Duncan's response. An alternative approach is to pass around
environments, as in the following:
bar1 <- function(e) {
e$x <- e$y <- e$z <- 1
cat(sprintf('bar1: x=%d, y=%d, z=%d\n', e$x, e$y, e$z))
}
bar2 <- function(e) {
e$x <- e$y <- e$z <- 2
cat(sprintf('bar2: x=%d,
On 30/10/2018 3:56 PM, Sebastien Bihorel wrote:
Hi,
From the R user manual, I have a basic understanding of the scope of function
evaluation but have a harder time understanding how to mess with environments.
My problem can be summarized by the code shown at the bottom:
- the foo function
t the code.)
Göran
-Original Message-
From: Jim Lemon [mailto:drjimle...@gmail.com]
Sent: Thursday, September 13, 2018 11:50 PM
To: Guo, Fang (Associate) ; r-help mailing list
Subject: Re: [R] Question on Binom.Confint
Hi Fang,
Let's assume that you are using the "binom.confint" f
I did use library(binom). However, I was able to use the method "lrt" which is
short for likelihood ratio test.
-Original Message-
From: Jim Lemon [mailto:drjimle...@gmail.com]
Sent: Thursday, September 13, 2018 11:50 PM
To: Guo, Fang (Associate) ; r-help mailing list
Subje
I used library(binom).
-Original Message-
From: Bert Gunter [mailto:bgunter.4...@gmail.com]
Sent: Thursday, September 13, 2018 10:04 PM
To: Guo, Fang (Associate)
Cc: r-help-requ...@r-project.org; R-help
Subject: Re: [R] Question on Binom.Confint
In what package?
Binomial confidence
--
> From: Bert Gunter [mailto:bgunter.4...@gmail.com]
> Sent: Thursday, September 13, 2018 10:04 PM
> To: Guo, Fang (Associate)
> Cc: r-help-requ...@r-project.org; R-help
> Subject: Re: [R] Question on Binom.Confint
>
> In what package?
> Binomial confidence inte
Hi Fang,
Let's assume that you are using the "binom.confint" function in the
"binom" package and you have made a spelling mistake or two. This
function employs nine methods for estimating the binomial confidence
interval. Sadly, none of these is "lrt". The zero condition is
discussed in the help
On 2018-09-13 20:58, David Winsemius wrote:
On Sep 13, 2018, at 1:15 PM, Guo, Fang (Associate)
wrote:
Hi,
I have a question with the function Binom.Confint(x,n,"method"=lrt). For
likelihood ratio test, I'd like to ask how you define the upper limit when the frequency
of successes is
In what package?
Binomial confidence interval functions are in several.
Bert Gunter
"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, Sep 13, 2018 at 6:38 PM Guo, Fang
> On Sep 13, 2018, at 1:15 PM, Guo, Fang (Associate)
> wrote:
>
> Hi,
>
> I have a question with the function Binom.Confint(x,n,"method"=lrt). For
> likelihood ratio test, I'd like to ask how you define the upper limit when
> the frequency of successes is zero. Thanks!
First you need to
Your question is notable for what it is missing... any trace of R code.
[1][2][3] Do read the Posting Guide.
I don't see "Sargan" in base R, so your analysis likely used a contributed
package... there seem to be a couple, so your example code would clarify. I
don't see the number of IVs listed
> Olivier Crouzet
> on Thu, 19 Apr 2018 18:13:30 +0200 writes:
> Hi,
> I think he's talking about how much a statistical estimator is influenced
by extreme datapoints, e.g.
>
Hi,
I think he's talking about how much a statistical estimator is influenced by
extreme datapoints, e.g.
https://en.m.wikipedia.org/wiki/Robust_statistics#Breakdown_point
Olivier
--
Olivier Crouzet
Assistant Professor
@LLING UMR6310 - Université de Nantes / CNRS
Guest Scientist
@UMCG -
On 15/04/2018 17:26, Marc Girondot via R-help wrote:
Le 15/04/2018 à 17:56, alireza daneshvar a écrit :
break-down point
Can you explain more what you plan to do and give an example of what you
have tried to do until now to do a "break down point" in R. Perhaps a
"break down point" is
Le 15/04/2018 à 17:56, alireza daneshvar a écrit :
break-down point
Can you explain more what you plan to do and give an example of what you
have tried to do until now to do a "break down point" in R. Perhaps a
"break down point" is common in your field, but I have no idea about
what it is
.org
Sent: Monday, April 9, 2018 12:33:41 AM
Subject: Re: [R] Question about subset
Sent from my iPhone
> On Apr 8, 2018, at 9:06 PM, Sebastien Bihorel
> <sebastien.biho...@cognigencorp.com> wrote:
>
> Hi,
>
> The help page for subset states "subset: logical expr
Thanks.
That works great!
> df <- data.frame(x=c(1,1,NA,NA,2), y=c('a','a','a','b','b'),
> z=c(TRUE,FALSE,TRUE,FALSE,TRUE))
> cond1 <- 'x==1'
> cond2 <- 'x==1 & z'
> df
x y z
1 1 a TRUE
2 1 a FALSE
3 NA a TRUE
4 NA b FALSE
5 2 b TRUE
> subset(df, subset =
Sent from my iPhone
> On Apr 8, 2018, at 9:06 PM, Sebastien Bihorel
> wrote:
>
> Hi,
>
> The help page for subset states "subset: logical expression indicating
> elements or rows to keep: missing values are taken as false."
>
> Before I try to re-invent
Please read the "Details" section of the help file -- it essentially
tells you what to do by directly using indexing; e.g. for a vector,
index by:
[is.na(subset) | subset] .
Adjust as necessary for your data structure.Or look at the code of,
e.g. subset.data.frame and create your own subset
Do not model average the regression coefficients. This makes no sense (see
Cade 2015. Model averaging and muddled multimodel inferences). And, no
there is no reasonable way to model average regression coefficients ala
Burnham and Anderson approach when some of your models include interactions
Oh ok. Thanks very much. I will have to restrict to a shorter interval.
Hanna
2018-02-06 14:33 GMT-05:00 Göran Broström :
> Hi Hanna,
>
> your function is essentially zero outside a short interval around 9. And
> the help page states: "If the function is approximately
Hi Hanna,
your function is essentially zero outside a short interval around 9. And
the help page states: "If the function is approximately constant (in
particular, zero) over nearly all its range it is possible that the
result and error estimate may be seriously wrong."
You could try to
Sorry. I meant in the previous email that the function h() is a monotone
decreasing function. Thanks very much.
2018-02-06 13:32 GMT-05:00 li li :
> Hi all,
> The function h below is a function of c and it should be a monotone
> increasing function since the integrand is
I may be missing the point, but if you can do the calculations by hand could
you not write a function in R to do the same and apply it to a data.frame of
the values?
On Saturday, November 4, 2017, 11:01:59 AM EDT, Paul Kent
wrote:
Hi,
I've been
Assuming you have as your model a one-way ANOVA, you can use the
aovSufficient function in HH.
## install.packages("HH") ## if you don't have it yet
library(HH)
?aovSufficient
On Sat, Nov 4, 2017 at 9:30 AM, Paul Kent wrote:
> Hi,
>
>
> I've been performing some
AFAICS, without knowing the structure of your data and what specifically
you wish to do, how could one answer your question? -- which is probably
yes, you can do it, but without further info, ??? Maybe someone with a
better crystal ball can help -- or you could clarify.
Cheers,
Bert
Bert
gt;
> Berend
>
>> Best,
>> Bernhard
>>
>> -Ursprüngliche Nachricht-
>> Von: Berend Hasselman [mailto:b...@xs4all.nl]
>> Gesendet: Donnerstag, 13. Juli 2017 10:53
>> An: OseiBonsu, Frances
>> Cc: Pfaff, Bernhard Dr.; r-help@r-project.org
>
>
One can indeed sometimes approximate without too much harm. But not always.
Berend
> Best,
> Bernhard
>
> -Ursprüngliche Nachricht-
> Von: Berend Hasselman [mailto:b...@xs4all.nl]
> Gesendet: Donnerstag, 13. Juli 2017 10:53
> An: OseiBonsu, Frances
> Cc
type.
Best,
Bernhard
-Ursprüngliche Nachricht-
Von: Berend Hasselman [mailto:b...@xs4all.nl]
Gesendet: Donnerstag, 13. Juli 2017 10:53
An: OseiBonsu, Frances
Cc: Pfaff, Bernhard Dr.; r-help@r-project.org
Betreff: [EXT] Re: [R] Question on Simultaneous Equations & Forecasting
Frances
Frances,
I would not advise Gauss-Seidel for non linear models. Can be quite tricky,
slow and diverge.
You can write your model as a non linear system of equations and use one of the
nonlinear solvers.
See the section "Root Finding" in the task view NumericalMathematics suggesting
three
Hi Frances,
I have not touched the system.fit package for quite some time, but to solve
your problem the following two pointers might be helpful:
1) Recast your model in the revised form, i.e., include your identity directly
into your reaction functions, if possible.
2) For solving your model,
Please keep the conversation on the list: Others may be able to help you
better than I can.
On 2017-07-06 10:38, SEB140004 Student wrote:
Ya. I had successfully got the result. Thank you very much. :)
Isn't possible for me to obtain the network from the correlation matrix?
I know nothing
I think that Goran is right, I didn't take "cor(data)" literally.
Jim
On Thu, Jul 6, 2017 at 3:38 AM, Göran Broström wrote:
> On 2017-07-05 11:56, Jim Lemon wrote:
>>
>> Hi Chin Yi,
>> If you are trying to correlate "Health" with "Disease", i.e.
>>
>>
On 2017-07-05 11:56, Jim Lemon wrote:
Hi Chin Yi,
If you are trying to correlate "Health" with "Disease", i.e.
cydf<-read.table(text="OTU ID Health Disease
Bacterial 1 0.29 0.34
Bacterial 2 0.25 0.07
Bacterial 3 0.06 0.06
Bacterial 4 0.07 0.09
Bacterial 5 0.02 0.05",
Hi Chin Yi,
If you are trying to correlate "Health" with "Disease", i.e.
cydf<-read.table(text="OTU ID Health Disease
Bacterial 1 0.29 0.34
Bacterial 2 0.25 0.07
Bacterial 3 0.06 0.06
Bacterial 4 0.07 0.09
Bacterial 5 0.02 0.05",
header=TRUE)
print(cor(cydf$Health,cydf$Disease))
[1]
This is not a Spark-help mailing list, either.
--
Sent from my phone. Please excuse my brevity.
On June 22, 2017 4:20:36 PM PDT, Amrith Deepak wrote:
>This function won’t work with objects in spark as you can’t do a dfda$a
>in spark as it’s not stored as a local variable.
>
Sorry, I don’t think you understand my problem. dta =
spark_read_csv(sc,”data_tbl”,”extension/file",delimiter = "|")
dta is just a pointer to spark where the data is stored. I am using sparklyr to
run this on spark. I’m not running it locally so I can’t use the $. I know how
to do this locally
This function won’t work with objects in spark as you can’t do a dfda$a in
spark as it’s not stored as a local variable.
Thanks,
Amrith
> On Jun 22, 2017, at 4:15 PM, David Winsemius wrote:
>
>
>> On Jun 22, 2017, at 11:22 AM, Amrith Deepak wrote:
101 - 200 of 1516 matches
Mail list logo