Hekate
March 8, 2019, 6:32pm
1
Hi, I hope you can help me. I'm writing my graduate work about polynomials and I have to implement (and then solve) system of six-linear equations with 6 variables.
Do you have any ideas or packeges and command how to do it?
I'm sorry if I did sth wrong about title etc. I'm fresh and don't know local rules
The simplest solution will be to write the system in form of \mathbf{X}\mathbf{\beta}=\mathbf{Y} , and then solve it using X^{-1}Y , if X is invertible. Otherwise, if X'X is invertible, you can use (X'X)^{-1}X'Y , else you can use generalized inverse of X'X .
Look at the solve function provided in the base
package and ginv of the MASS
package.
You may also want to take a look at this: Solving Linear Equations
1 Like
For getting the most out of this forum, you may want to start by reading this guides.
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Before you post
Check Out R Documentation - R has built in documentation on packages and functions .
For example typing ?lm into your R console will open the documentation on the lm function .
Search - Be sure to search for the basic keywords of your question with your favorite search engine, Stack Overflow, and R-Help. Stack Overflo…
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Title
Put extra effort into your title. Be as clear and compelling as possible.
For many your title will be the only thing they see before they completely ignore your post
Content
Besides asking the core of your query,
State Your Goals: Some community-members are quite task-oriented here. Stating specific goals for th…
Can I ask questions from a course I am taking here?
General questions are always welcome!
Please do ask general questions about things like:
How to use R
How to use the RStudio IDE or RStudio Cloud
How to work with tidyverse packages
Where to find resources to help you learn or solve problems
Specific questions can be OK, if you follow these rules:
Never copy-paste instructions from an assignment (even for online courses).
Explicitly mention the course you are taking and use the #homework tag.
Ask your question as a reproducible example (reprex) , preferably prepared for posting using the reprex package .
Want to maximize your chances of getting the help you need? Keep readin…
1 Like
system
Closed
March 29, 2019, 6:57pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.