↑ Note the Write and Preview modes at the top left of the dialogue box when editing.
Format code and math with fences:
your code here
y = b0 + b1•X1 + b2•X2 + e
Markdown syntax can be found HERE. You can also use the formatting features in the menu bar above.
You can create a bullet for multiplication by typing •:
•
If you copy it in the Preview mode you can paste it back into your formula in the Write view.
REPRODUCIBLE CODE:
As much as possible, try to provide a reproducible example with your question. That means including the code you ran to create the result that you received.
Creating reproducible examples is a bit of an art form. Read the suggestions provided on the Help Tab.
In general:
Include the code to load the data so that the person answering your question doesn't have to look it up.
You might be getting an error in one line of your code, but you did things between the step in which you loaded data and the line of code that is creating the error. We may need this info to answer your question.
Do not, however, just paste ALL of your code into the question. Try to isolate the problem, as much as possible.
Include the error message from R.
Often this will be sufficient information to answer your question.
> x <- 1:5
> y <- 1:10
> plot( x, y )
Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' and 'y' lengths differ
I have a question about Lab 22, Part 3....
↑ Note the Write and Preview modes at the top left of the dialogue box when editing.
Format code and math with fences:
your code here
y = b0 + b1•X1 + b2•X2 + e
Markdown syntax can be found HERE. You can also use the formatting features in the menu bar above.
You can create a bullet for multiplication by typing
•
:•
If you copy it in the Preview mode you can paste it back into your formula in the Write view.
REPRODUCIBLE CODE:
As much as possible, try to provide a reproducible example with your question. That means including the code you ran to create the result that you received.
Creating reproducible examples is a bit of an art form. Read the suggestions provided on the Help Tab.
In general:
Do not, however, just paste ALL of your code into the question. Try to isolate the problem, as much as possible.
Often this will be sufficient information to answer your question.