On 08-09-2014, at 06:55, Mohan Radhakrishnan
wrote:
> No. I was not looking for an answer to that question. I wasn't clear :-) I
> already code using Octave and R to solve ML algorithms.
>
> I am trying to understand how R packages can help us to solve such
> equations using LU decomposition
No. I was not looking for an answer to that question. I wasn't clear :-) I
already code using Octave and R to solve ML algorithms.
I am trying to understand how R packages can help us to solve such
equations using LU decomposition etc. The question was about using R with
these math algorithms.
M
Hello,
Inline.
Em 07-09-2014 09:54, Mohan Radhakrishnan escreveu:
Hi,
I code R to parse data but not for solving equations. So this is
my first such problem. It is a programming puzzle.
I have these two equations.
1)4x - 3w = 0
2)8x - 7w =0
I know the value of x and w for
In my education this was 9th or 10th grade (US) math. The r-help mailing list
is not set up for providing mini-tutorials on R programming. Please read the
Posting Guide, do the expected self-eduction in R programming, do the requested
searching on your remaining questions in the Archives or Stac
Hi,
I code R to parse data but not for solving equations. So this is
my first such problem. It is a programming puzzle.
I have these two equations.
1)4x - 3w = 0
2)8x - 7w =0
I know the value of x and w for
equation 1). x = 3 and w = 4
equation 2). x = 7 and w = 8
I also kno
Solved: it's in the Ryacas vignette:
> yacas("Solve(1-(R/100) == (2*y)/1,R)")
expression(list(R == 100 * (1 - 2 * y/1)))
>
On Tue, Jun 18, 2013 at 11:33 PM, Erin Hodgess wrote:
> Dear R People:
>
> I have the following equation:
> $1 - \frac{R}{100} = \frac{2y}{1}$
> and I was wond
Dear R People:
I have the following equation:
$1 - \frac{R}{100} = \frac{2y}{1}$
and I was wondering if there was a way in R to solve for R (no pun
intended).
I'm experimenting with Ryacas, but nothing yet.
Version R-3.0.1 on Windows 7.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
De
Diviya Smith wrote
>
> Hi there,
>
> I would like to solve the following equation in R to estimate 'a'. I have
> the amp, d, x and y.
>
> amp*y^2 = 2*a*(1-a)*(-a*d+(1-a)*x)^2
>
> test data:
>amp = 0.2370 y=
> 0.0233 d=
> 0.002 x=
> 0.091
> Can anyone suggest how I can set this up?
>
Thi
On 23/07/2012 2:46 PM, Diviya Smith wrote:
Hi there,
I would like to solve the following equation in R to estimate 'a'. I have
the amp, d, x and y.
amp*y^2 = 2*a*(1-a)*(-a*d+(1-a)*x)^2
test data:
amp = 0.2370 y=
0.0233 d=
0.002 x=
0.091
Can anyone suggest how I can set this up?
See ?pol
Hi there,
I would like to solve the following equation in R to estimate 'a'. I have
the amp, d, x and y.
amp*y^2 = 2*a*(1-a)*(-a*d+(1-a)*x)^2
test data:
amp = 0.2370 y=
0.0233 d=
0.002 x=
0.091
Can anyone suggest how I can set this up?
Thanks,
Diviya
[[alternative HTML version dele
It was supposed to be a joke :-(
On 1/24/12 4:15 PM, Gabor Grothendieck wrote:
On Tue, Jan 24, 2012 at 4:07 PM, Carl Witthoft wrote:
Like the t-shirt says, "There's no place like 127.0.0.1 "
Though I wasn't familiar with this I check the repositories list and CRAN
(extras) is selected in
On Tue, Jan 24, 2012 at 4:07 PM, Carl Witthoft wrote:
> Like the t-shirt says, "There's no place like 127.0.0.1 "
>
>
>
>
>
> Though I wasn't familiar with this I check the repositories list and CRAN
> (extras) is selected in my installation (R-2.14.1). By the way, when trying
> Ryacas after wha
Like the t-shirt says, "There's no place like 127.0.0.1 "
Though I wasn't familiar with this I check the repositories list and
CRAN (extras) is selected in my installation (R-2.14.1). By the way,
when trying Ryacas after what seemed to be a successful install, for a
simple example of
x <
Many Thanks David.
2012/1/22 David Winsemius [via R]
>
> On Jan 22, 2012, at 1:25 PM, Eliano wrote:
>
> > People,
> >
> > I'm researching some Bayesian statistic topics and in the midle of
> > my study
> > i found a very simple problem and i'm trying to find a simple
> > package to
> > solve thi
Many Thanks Berend.
2012/1/22 Berend Hasselman [via R]
>
> On 22-01-2012, at 19:25, Eliano wrote:
>
> > People,
> >
> > I'm researching some Bayesian statistic topics and in the midle of my
> study
> > i found a very simple problem and i'm trying to find a simple package to
> > solve this type o
On Sun, Jan 22, 2012 at 4:28 PM, David Stevens wrote:
> Though I wasn't familiar with this I check the repositories list and
> CRAN (extras) is selected in my installation (R-2.14.1). By the way,
> when trying Ryacas after what seemed to be a successful install, for a
> simple example of
>
> x <-
Though I wasn't familiar with this I check the repositories list and
CRAN (extras) is selected in my installation (R-2.14.1). By the way,
when trying Ryacas after what seemed to be a successful install, for a
simple example of
x <- 2
Eval(yacas(expression(x*x)))
I got the following:
[1] "Star
I would have assumed it was just an artifact of the fact Prof Stevens
specified the omegahat repos in his call, though I haven't looked at
the innards of install.packages to see when/how the re-route to CRAN
extras happens.
Michael
On Sun, Jan 22, 2012 at 4:08 PM, Duncan Murdoch
wrote:
> On 12-0
On 12-01-22 3:56 PM, R. Michael Weylandt wrote:
CRAN suggests it's not available for windows since the build can't be
automated: http://cran.r-project.org/bin/windows/contrib/r-release/ReadMe
but it suggests builds are available from Prof Ripley (to whom be
honor and praise for ever and ever, am
Michael
That did the trick. Thanks for your help, and I agree with your praise
for Prof Ripley.
David
On 1/22/2012 1:56 PM, R. Michael Weylandt wrote:
> CRAN suggests it's not available for windows since the build can't be
> automated: http://cran.r-project.org/bin/windows/contrib/r-release/Rea
CRAN suggests it's not available for windows since the build can't be
automated: http://cran.r-project.org/bin/windows/contrib/r-release/ReadMe
but it suggests builds are available from Prof Ripley (to whom be
honor and praise for ever and ever, amen!) here:
http://www.stats.ox.ac.uk/pub/RWin/bin/
I'm following this thread and got curious about Ryacas. After installing
yacas and Ryacas, I was alerted to the missing XML package for Windows.
I couldn't find in on a couple of mirrors so I tried
http://www.omegahat.org/RSXML/ and
install.packages("XML", repos = "http://www.omegahat.org/R";)
On Sun, Jan 22, 2012 at 1:25 PM, Eliano wrote:
> People,
>
> I'm researching some Bayesian statistic topics and in the midle of my study
> i found a very simple problem and i'm trying to find a simple package to
> solve this type of equations:
>
> Lets say that i need to compute beta values for th
On 22-01-2012, at 19:25, Eliano wrote:
> People,
>
> I'm researching some Bayesian statistic topics and in the midle of my study
> i found a very simple problem and i'm trying to find a simple package to
> solve this type of equations:
>
> Lets say that i need to compute beta values for the bet
On Jan 22, 2012, at 1:25 PM, Eliano wrote:
People,
I'm researching some Bayesian statistic topics and in the midle of
my study
i found a very simple problem and i'm trying to find a simple
package to
solve this type of equations:
Lets say that i need to compute beta values for the beta
People,
I'm researching some Bayesian statistic topics and in the midle of my study
i found a very simple problem and i'm trying to find a simple package to
solve this type of equations:
Lets say that i need to compute beta values for the beta distribution and i
now for example:
E(teta)=a/(a+b)
Shant Ch wrote:
>
> Hi,
>
> I want to find a value of n1. I used the following code but I am getting
> the
> error -
>
>
> Error in as.vector(x, mode) :
> cannot coerce type 'closure' to vector of type 'any'
>
>
> n=10
> a_g<-(1/(n*(n-1)))*((pi/3)*(n+1)+(2*sqrt(3)*(n-2))-4*n+6)
>
> a_
Hi,
I want to find a value of n1. I used the following code but I am getting the
error -
Error in as.vector(x, mode) :
cannot coerce type 'closure' to vector of type 'any'
n=10
a_g<-(1/(n*(n-1)))*((pi/3)*(n+1)+(2*sqrt(3)*(n-2))-4*n+6)
a_s<-function(n1)
{
t1=(n1-1)/2;
(t1*(gamma(t1)/g
On Sat, 15 Mar 2008, ianfiske wrote:
>
> If you want to find the value of x such that f(x) = 0, then you can minimize
> f^2 or abs(f) using optim. Hope this helps,
For all but the (default) Nelder-Mead method you will be better off with
f^2 or some other differentiable function than abs(f), sin
+61 7 3286 7700
mailto:[EMAIL PROTECTED]
http://www.cmis.csiro.au/bill.venables/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of francogrex
Sent: Sunday, 16 March 2008 3:24 AM
To: r-help@r-project.org
Subject: [R] Solving equations with optim
Hello, optim
If you want to find the value of x such that f(x) = 0, then you can minimize
f^2 or abs(f) using optim. Hope this helps,
Ian
francogrex wrote:
>
> Hello, optim searches for min (or max) of a function, but is it possible
> to solve for a specific value? I mean, I want to find the value of a a
Hello, optim searches for min (or max) of a function, but is it possible to
solve for a specific value? I mean, I want to find the value of a and b that
give the function value closest to ZERO (and not min or max) in the below.
is it possible? thanks
test=function(x){
a=x[1]
b=x[2]
if (all(x>0))(
32 matches
Mail list logo