How do we find the solution of x say in
2*x=6
using R? It must be very trivial but I cant find out the appropriate answer.
How do we find the solution of x say in
2*x=6
using R? It must be very trivial but I cant find out the appropriate answer.
You can use the solve()
function, which can actually handle multiple equations:
solve(2, 6)
The first argument is the left side of the equation, the second is the right side.