Question

There are 12 students in a class: John, Mary, Ruby, Jane, Tommy, Fred, Summer, Todd, Asia,...

There are 12 students in a class: John, Mary, Ruby, Jane, Tommy, Fred, Summer, Todd, Asia, Trevor, Richard, and Peter. Use R to generate a SRS of size 3. Hint: Use the following R codes (As mentioned in office hours) name_list <- c("John", "Mary", "Ruby", "Jane", "Tommy", "Fred", "Summer", "Todd", "Asia", "Trevor", "Richard","Peter") sample(name_list,size=3,replace=F)

Homework Answers

Answer #1

R Codes

Output

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT