Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this data using R please : using the data below : The data set has 5 columns: worker|D, height (in inches),

I need help with this data using R please :

using the data below : The data set has 5 columns: worker|D, height (in inches), weight (in pounds), annS (annual salary, in $) and unit (one of CS, E, M or P). Which unit has the most workers? How many workers are in that unit? What is the average salary among workers that are 70 inches or taller in height? (Hint: Make a data.frame that contains only workers with heights >= 70 inches)

workerID height weight annS unit 1 101 61 286 45334 CS 2 102 72 151 65605 M 3 103 73 168 68037 M 4 104 75 188 67823 E 5 105 63 240 77436 P 6 106 69 278 54510 E 7 107 71 212 55009 P 8 108 62 229 77995 P 9 109 62 145 63492 CS 10 110 75 183 87878 M 11 111 57 148 72762 CS 12 112 57 139 50279 CS 13 113 62 243 68151 P 14 114 66 266 78995 E 15 115 60 225 54737 M 16 116 59 277 75510 P 17 117 55 195 76405 CS 18 118 55 242 58650 P 19 119 63 273 77487 E 20 120 67 187 71284 P 21 121 57 164 58631 P 22 122 75 177 51191 P 23 123 57 254 67205 P 24 124 63 172 58527 P 25 125 74 187 82998 P 26 126 55 263 57480 E 27 127 62 183 59051 P 28 128 70 213 61771 CS 29 129 60 192 75925 P 30 130 57 245 75420 CS 31 131 74 184 61942 P 32 132 70 241 60265 P 33 133 69 149 67685 CS 34 134 67 150 78159 E 35 135 58 254 62821 M 36 136 71 276 74927 P 37 137 75 258 54120 E 38 138 62 202 61818 E 39 139 60 202 48461 E 40 140 66 233 76047 P 41 141 66 141 72851 M 42 142 72 270 60088 CS 43 143 55 163 76096 E 44 144 58 187 61706 E 45 145 67 202 65645 P 46 146 55 222 59685 E 47 147 55 285 66251 M 48 148 67 199 62576 E 49 149 75 258 66848 M 50 150 68 292 73829 E 51 151 61 227 74272 CS 52 152 65 257 70301 P 53 153 57 276 65626 P 54 154 66 175 65793 CS 55 155 56 195 54868 P 56 156 66 192 75236 CS 57 157 70 145 61019 P 58 158 61 132 69906 E 59 159 75 143 60209 CS 60 160 73 280 69158 M 61 161 70 239 66950 E 62 162 64 201 80352 M 63 163 64 240 65370 M 64 164 68 168 62609 CS 65 165 68 277 65203 P 66 166 63 152 76656 P 67 167 75 172 86659 CS 68 168 74 151 70158 P 69 169 66 181 56776 CS 70 170 72 142 68420 P 71 171 69 247 66090 P 72 172 75 172 81600 M 73 173 70 289 75515 M 74 174 72 276 64316 CS 75 175 65 131 71687 CS 76 176 75 202 66144 P 77 177 75 258 85205 E 78 178 62 182 69580 E 79 179 74 281 64471 E 80 180 66 142 69268 P 81 181 67 145 68419 E 82 182 72 152 71378 P 83 183 58 259 60440 P 84 184 73 281 63282 P 85 185 63 142 76314 P 86 186 75 283 64689 E 87 187 72 159 71302 CS 88 188 59 270 48471 CS 89 189 70 151 87920 P 90 190 55 263 60195 CS 91 191 64 208 64912 CS 92 192 71 169 62103 M 93 193 66 235 77271 CS 94 194 62 244 76855 CS 95 195 62 132 71544 E 96 196 67 283 60311 E 97 197 66 269 57180 P 98 198 58 149 90637 P 99 199 56 208 60002 P 100 200 66 210 40023 M 101 201 56 181 77635 CS 102 202 55 172 61549 CS 103 203 67 244 82307 CS 104 204 75 205 72230 P 105 205 63 279 70417 M 106 206 66 142 76586 CS 107 207 75 218 64991 E 108 208 55 259 69873 CS 109 209 56 205 75688 E 110 210 75 242 70258 CS 111 211 65 178 68299 E 112 212 75 171 77652 P 113 213 70 200 57146 CS 114 214 70 284 53466 E 115 215 68 200 55072 P 116 216 67 272 67706 M 117 217 72 193 61632 M 118 218 68 274 73926 M 119 219 60 211 77735 P 120 220 71 262 58206 M 121 221 63 287 80997 P 122 222 57 214 56165 M 123 223 67 177 68181 M 124 224 69 254 68968 M 125 225 56 267 68496 P 126 226 66 161 82618 E 127 227 55 242 71103 P 128 228 61 192 92979 M 129 229 61 147 67048 E 130 230 68 195 87102 CS 131 231 55 152 66115 M 132 232 72 215 67312 E 133 233 58 132 61242 CS 134 234 57 225 68493 P 135 235 62 239 60826 P 136 236 59 232 78846 P 137 237 61 169 70669 CS 138 238 68 201 57728 P 139 239 73 215 59703 P 140 240 67 227 67578 E 141 241 68 170 78157 CS 142 242 57 195 65537 P 143 243 71 270 70444 CS 144 244 55 198 67119 M 145 245 69 148 89159 M 146 246 65 184 66385 P 147 247 68 220 60291 M 148 248 71 153 55753 CS 149 249 67 232 71826 P 150 250 71 285 60725 M 151 251 74 229 68974 E 152 252 66 237 70317 P 153 253 62 151 60329 CS 154 254 70 209 44625 P 155 255 58 240 72514 E 156 256 56 256 63779 E 157 257 64 202 51125 P 158 258 57 278 65363 E 159 259 71 264 66735 E 160 260 67 174 55968 E 161 261 67 156 67359 CS 162 262 74 300 76589 M 163 263 71 166 59619 CS 164 264 68 130 79316 CS 165 265 67 253 55220 P 166 266 67 250 66438 M 167 267 55 274 73324 M 168 268 69 269 43732 M 169 269 63 139 61083 P 170 270 75 255 67761 CS 171 271 58 132 72783 CS 172 272 64 179 78934 CS 173 273 71 198 68076 E 174 274 69 253 71728 E 175 275 59 242 65577 CS 176 276 57 183 58583 CS 177 277 55 159 62727 E 178 278 55 260 65883 E 179 279 68 287 74006 E 180 280 65 165 78291 M 181 281 57 233 68352 P 182 282 65 176 86645 M 183 283 61 253 56645 M 184 284 67 200 70926 M 185 285 65 248 55957 P 186 286 65 248 65324 E 187 287 70 201 54312 CS 188 288 74 275 63876 CS 189 289 69 167 77829 CS 190 290 72 242 66453 M 191 291 64 248 69193 P 192 292 61 251 66906 M 193 293 61 154 56937 M 194 294 75 187 54660 E 195 295 74 189 54182 P 196 296 63 298 66819 E 197 297 72 292 68577 E 198 298 69 221 60118 M 199 299 58 198 61412 M 200 300 67 286 69187 CS 201 301 71 297 73470 M 202 302 66 162 83477 P 203 303 64 213 70939 E 204 304 72 187 70864 CS 205 305 67 209 67997 CS 206 306 70 248 72651 CS 207 307 65 243 60269 CS 208 308 65 141 64408 CS 209 309 62 211 56439 E 210 310 72 204 69918 M 211 311 66 289 55955 M 212 312 61 250 53608 M 213 313 73 235 55354 CS 214 314 70 192 71940 P 215 315 58 209 69998 P 216 316 67 244 59663 E 217 317 66 261 65401 CS 218 318 61 234 73016 CS 219 319 63 213 52927 CS 220 320 68 199 65607 CS 221 321 71 229 71200 CS 222 322 59 283 69584 M 223 323 75 266 75451 M 224 324 71 187 78778 M 225 325 59 277 60612 M 226 326 69 148 50739 P 227 327 75 249 94147 P 228 328 65 188 78531 E 229 329 57 130 60774 E 230 330 71 208 56162 CS 231 331 70 219 86315 E 232 332 55 186 68848 M 233 333 63 206 51127 CS 234 334 75 255 60188 M 235 335 70 257 67440 P 236 336 73 271 75565 CS 237 337 55 258 62594 P 238 338 60 199 74152 E 239 339 74 203 69818 CS 240 340 71 169 63819 E 241 341 72 253 69847 P 242 342 67 191 62641 CS 243 343 64 149 65997 E 244 344 69 218 71162 E 245 345 72 147 73117 M 246 346 60 197 64094 E 247 347 71 225 57911 E 248 348 71 241 75164 P 249 349 61 161 48774 E 250 350 56 294 50751 CS 251 351 59 131 67737 P 252 352 69 163 68370 M 253 353 65 216 70794 M 254 354 70 171 69293 P 255 355 68 255 84686 E 256 356 62 239 65883 M 257 357 69 206 66828 M 258 358 60 248 70500 E 259 359 71 297 54612 P 260 360 67 233 40018 P 261 361 60 267 72172 CS 262 362 61 277 72347 P 263 363 65 245 79196 P 264 364 56 160 53632 CS 265 365 62 184 61144 E 266 366 58 193 77350 P 267 367 63 233 68108 E 268 368 68 246 66316 P 269 369 57 235 47890 E 270 370 70 135 70690 P 271 371 75 289 54110 P 272 372 63 184 73963 CS 273 373 69 220 70177 P 274 374 75 158 64879 E 275 375 55 200 68716 P 276 376 68 202 59729 CS 277 377 68 231 58502 E 278 378 65 196 57220 M 279 379 59 154 48531 E 280 380 68 131 57518 P 281 381 75 130 74854 E 282 382 73 295 63887 M 283 383 63 152 75549 M 284 384 62 241 73124 P 285 385 62 172 53106 M 286 386 62 222 58585 CS 287 387 68 253 72514 E 288 388 69 243 80532 E 289 389 58 169 58165 E 290 390 64 236 62081 P 291 391 65 209 67485 M 292 392 62 210 77762 CS 293 393 72 154 75214 M 294 394 66 204 49809 P 295 395 64 212 89373 M 296 396 72 170 54902 P 297 397 62 214 65951 E 298 398 66 177 55959 P 299 399 61 176 75661 M 300 400 62 261 68988 P

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

College Algebra And Trigonometry A Unit Circle Approach,

Authors: Mark Dugopolski

6th Edition

0321867564, 9780321867568

More Books

Students also viewed these Mathematics questions

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago

Question

2. It is the results achieved that are important.

Answered: 1 week ago