Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with programming in R. I need to use a for loop and if control statements. I'm trying to print all of the

image text in transcribed

I need help with programming in R.

I need to use a for loop and if control statements.

I'm trying to print all of the non-blank entries in the home.dest column for males, aged 60 or younger embarking from S. I've tried multiple variations of this and keep getting stuck. Up until the age part it works, but after that it gets broken. Where am I going wrong? How can I fix this?

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra And Number Theory An Integrated Approach

Authors: Martyn R Dixon, Leonid A Kurdachenko, Igor Ya Subbotin

1st Edition

0470640537, 9780470640531

More Books

Students also viewed these Mathematics questions

Question

Una sociedad tiene una vida limitada. Verdadero Falso

Answered: 1 week ago

Question

2. Find five metaphors for communication.

Answered: 1 week ago