R Studio Commands for summary stats and continuous predictor variables

  1. How would I write out the R command code for the following: “For the training and test sets separately, compute the summary statistics of the response variable LOV and the following continuous predictor variables: Age, Wait_Time, and Patient_ID.”

  2. What should the code look like for the following request:
    Complete the command to estimate the full model by entering the name of the appropriate data set (either “test_set” or “training_set“) and then removing the comment indicator # in the line of code below:

# full_model = lm(LOV ~ ., x = test_set)

3. Also, is this written correctly based on the computation requested? See below:
Complete the command to estimate the full model by entering the name of the appropriate data set (either "`test_set`" or "`training_set`") and then removing the comment indicator # in the line of code below:
```{r}
# full_model = lm(LOV ~ ., x = test_set)

Read more here: Source link