By using Rstudio. I dont need the excetlly answer, could you just please show some idea or funtion shou be used for thes

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

By using Rstudio. I dont need the excetlly answer, could you just please show some idea or funtion shou be used for thes

Post by answerhappygod »

By using Rstudio. I dont need the excetlly answer, could you just please show some idea or funtion shou be used for these questions?
By Using Rstudio I Dont Need The Excetlly Answer Could You Just Please Show Some Idea Or Funtion Shou Be Used For Thes 1
By Using Rstudio I Dont Need The Excetlly Answer Could You Just Please Show Some Idea Or Funtion Shou Be Used For Thes 1 (23.45 KiB) Viewed 34 times
• 3a. The svvariable in the pros.dat matrix is binary: 1 if the patient had a condition called "seminal vesicle invasion or SVI, and o otherwise. SVI (which means, roughly speaking, that the cancer invaded into the muscular wall of the seminal vesicle) is bad it it occurs. then it is believed the prognosis for the patient is poorer, and even once/if recovered, the patient is more likely to have prostate cancer return in the future. Compute a Boolean vector called has svi, of length 97, that has a TRUE element if a row (patient) in pron.dat has SVI, and FALSE otherwise. Then using sum(), figure out how many patients have SVI. • 3b. Extract the rows of pros.dat that correspond to patients with SVI, and the rows that correspond to patients without it. Call the resulting matrices pros.dat.svi and pros.dat.no.svi, respectively. You can do this in two ways: using the ban.avi Boolean vector created above, or using on-the-fly Boolean indexing, it's up to you. Check that the dimensions of pron.dat.avi and pron.dat.no.avi make sense to you.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply