## R Tutorial #7 – Solving systems of linear equations – Statistical Programming Language R

R Tutorial 7 – Solving systems of linear equations.

R is a programming language and software environment for statistical computing and graphics. The R language has become a de facto standard among statisticians for the development of statistical software, and is widely used for statistical software development and data analysis. R is part of the GNU project.

• Views:60,266 views
• Rating:
• Categories:
• Tags:

Evfan091 says:

at 3:26 what are the characters after A?
it looks like a diagonal 8 or a percentage sign % without the line in between

Stepr Hug says:

R by its nature operates as vectors. So b is already a vector even without specifying the dimensions. b is not to be read as having 3 columns but instead one column and 3 rows.

Narendiran Krishnan says:

hey could u do for finding the quadratic equation using r ?

TheVillagerman says:

what if your matrix is not a square matrix and it is also non-linear?

Keepcalm&carryon says:

HELLO, I can not get the same result of “solve (A)” as what you’ve got. I rerun the A, which shows that the matrix is still the right matrix. and then, without anything else was undertaken, simply “solve (A)” just didn’t come right. and my checking, “solve (A) %*% b” does not equal to the value of x. So do you have any idea where I might go wrong?

jvhkvgkh says:

when creating b matrix, don’t we need to use “dim” function to have 3 rows and 1 column rather than having 3 columns and 1 row (time 2.40)

Enric Martinez says:

What is this “array()” function? Wouldn’t it be more handy to define the vectors and use rbind or directly the matrix() function? Does array() have any advantage?

faryseot says:

se puede solucionar sistemas no lineales?

Gordon Brown says:

Thanks for making these videos!

Cassielball says:

So useful thankyou

What if i want to solve just 1 second degree equality like say 0.2*x+0.8*x^2=0 ?

Daniel Pantigozo Gastañaga says:

excuse me, what function have solve???

cochinodos says:

Very nice video, thank you very much! Can you use R to solve pseudoinverses as well? 😉

Gordon Brown says:

it is a % * % for the “real” matrix multiplication. plus thats what the full screen option is for…

Richard S. says:

Great R tutorial! What’s missing is stuff that has to do with statistics. Tables, data frames, reading from and to files and maybe plotting.

faryseot says:

can solve nonlinear systems?

Evfan091 says:

.. I guess it was a percentage sign, it was hard to see on the screen