₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,473 members, 8,528,010 topics. Date: Tuesday, 01 December 2026 at 03:48 PM

Toggle theme

Basic R Programming Question - Business - Nairaland

Nairaland Forum › Nairaland General › Business › Basic R Programming Question (216 Views)

1 Reply

Basic R Programming Question by jackaustin631(op): 11:35pm On Nov 21, 2022
This is probably a super basic question, but I kinda have no idea what I'm doing (just started r pretty recently). Here is the question:

"Create a logical vector that is TRUE if a weight in `weight` is within 40 pounds of 150. Call this vector `weight.150` "

The vector weight contains values ranging from 98 to 190 [color=#000000]tutorials on R[/color]. I have created some inequalities using the logical functions in r.

((fweight>=110)|(fweight<=190)) > weight.150

But I am having some issues (mainly because what I have right now isn't working)

Any help would be appreciated. Many thanks
1 Reply

Cost Of Feeding As The Most Basic Necessity In Today's Nigeria (Video) • How CBN Deliberately Prevents Naira From Appreciating Against Dollar - Sahara R. • Why You Should Become An Opay Agent (basic Requirements And Salary) • 2 • 3 • 4

Trade With Grip App Guys • Why You Need Weekly Meetings And How To Cover Your Weekly Meetings In Steps | NE • Still Buying Pi