DS4PS / cpp-524-spr-2020

Course shell for CPP 524 Foundations of Program Evaluation II for Spring 2020.
http://ds4ps.org/cpp-524-spr-2020/
0 stars 1 forks source link

Example question w formatting #2

Open lecy opened 4 years ago

lecy commented 4 years ago

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.

> x <- 1:5
> y <- 1:10
> plot( x, y )
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' and 'y' lengths differ