r studio ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

r studio ?

mollie
Hi!

Quick question about an r studio command. Is there a command that counts the number of successes? For question 2 in problem 1 in the homework
Reply | Threaded
Open this post in threaded view
|

Re: r studio ?

Taeho Kim
Administrator
mollie wrote
Hi!

Quick question about an r studio command. Is there a command that counts the number of successes? For question 2 in problem 1 in the homework
Hi mollie,

In this particular situation, we could simply use "sum" to get the # of successes.
This is because the data is recorded as 1=success and 0=failure.