question archive Use R Make up a brand new variable called filmpower, which is based on critic scores and box office receipts

Use R Make up a brand new variable called filmpower, which is based on critic scores and box office receipts

Subject:StatisticsPrice: Bought3

Use R

Make up a brand new variable called filmpower, which is based on critic scores and box office receipts. Do this by running the following line of code: u1quiz$filmpower <- u1quiz$Critic.Score + u1quiz$Box.Office Now, take a look at the first row of your dataset. What is the score for filmpower for the movie in the first row? 

 

Title

Year

Rating

Runtime

CriticScore

BoxOffice

Awards

Distribution

filmpower

Thank You for Smoking

2005

R

92

86

24.6

Won Awards

Domestic

110.6

Blade II

2002

R

117

59

81.6

Won Awards

International

140.6

Footloose

2011

PG-13

113

70

51.8

No Awards

Domestic

121.8

Mr. Deeds

2002

PG-13

96

22

126.2

Won Awards

Domestic

148.2

Hall Pass

2011

R

105

34

45

No Awards

Domestic

79

Stolen

2012

R

96

16

0.3

No Awards

Domestic

16.3

Rocket Science

2007

R

101

84

0.6

Won Awards

Domestic

84.6

Bedtime Stories

2008

PG

99

25

110

Won Awards

Domestic

135

Invincible

2006

PG

105

71

57.8

No Awards

Domestic

128.8

Cop Out

2010

R

107

19

44

No Awards

Domestic

63

G-Force

2009

PG

88

22

119.4

Won Awards

Domestic

141.4

10,000 BC

2008

PG-13

109

8

94.8

No Awards

International

102.8

Metallica Through the Never

2013

R

93

78

3.4

Won Awards

Domestic

81.4

McFarland, USA

2015

PG

129

79

44.5

Won Awards

Domestic

123.5

Beowulf

2007

PG-13

115

71

82.2

Won Awards

Domestic

153.2

Dolphin Tale

2011

PG

113

82

72.3

Won Awards

Domestic

154.3

The Twilight Saga: New Moon

2009

PG-13

130

28

296.6

Won Awards

Domestic

324.6

Half Nelson

2006

R

106

90

2.6

Won Awards

Domestic

92.6

Greetings from the Shore

2007

R

116

70

0.0405

Won Awards

Domestic

70.0405

Date Movie

2006

PG-13

83

7

48.5

Won Awards

International

55.5

In the Bedroom

2001

R

130

93

35.7

Won Awards

Domestic

128.7

White Chicks

2004

PG-13

109

15

69.1

Won Awards

Domestic

84.1

Crazy, Stupid, Love.

2011

PG-13

118

78

84.3

Won Awards

Domestic

162.3

Reign of Fire

2002

PG-13

101

40

42.9

Won Awards

International

82.9

Twisted

2004

R

97

1

25

Won Awards

International

26

Civil Brand

2002

R

95

16

0.1

Won Awards

Domestic

16.1

Waking Life

2001

R

99

80

2.1

Won Awards

Domestic

82.1

Invictus

2009

PG-13

134

76

37.4

Won Awards

Domestic

113.4

Impostor

2001

R

95

22

5.3

No Awards

Domestic

27.3

The Raid 2

2014

R

150

79

2.6

Won Awards

International

81.6

(500) Days of Summer

2009

PG-13

95

86

32.1

Won Awards

Domestic

118.1

The Purge

2013

R

85

38

64.4

Won Awards

International

102.4

Meet the Fockers

2004

PG-13

115

38

279.2

Won Awards

Domestic

317.2

Wild Horse, Wild Ride

2011

PG

106

93

0.0946

Won Awards

Domestic

93.0946

One Missed Call

2008

PG-13

87

0

26.8

No Awards

International

26.8

The Extraordinary Adventures of Ad?le Blanc-Sec

2010

PG

107

83

0.1

Won Awards

International

83.1

Beerfest

2006

R

110

41

19

Won Awards

International

60

Frankenweenie

2012

PG

87

87

35.3

Won Awards

Domestic

122.3

Rush Hour 2

2001

PG-13

90

52

226

Won Awards

International

278

Hercules

2014

PG-13

98

60

72.7

No Awards

Domestic

132.7

The Armstrong Lie

2013

R

124

84

0.4

Won Awards

Domestic

84.4

Priest

2011

PG-13

87

16

29.1

No Awards

Domestic

45.1

Talk to Me

2007

R

118

82

4.4

Won Awards

Domestic

86.4

Men in Black 3

2012

PG-13

106

69

179

Won Awards

Domestic

248

High School

2010

R

99

27

0.0827

No Awards

Domestic

27.0827

Mr. & Mrs. Smith

2005

PG-13

120

59

186.1

Won Awards

Domestic

245.1

Dredd

2012

R

95

78

13.4

Won Awards

International

91.4

Zombieland

2009

R

88

90

75.6

Won Awards

Domestic

165.6

Good Hair

2009

PG-13

96

95

4.1

Won Awards

Domestic

99.1

Adult World

2013

R

97

56

0.0167

No Awards

Domestic

56.0167

Everybody's Fine

2009

PG-13

99

46

8.9

Won Awards

Domestic

54.9

Bowling for Columbine

2002

R

120

96

21.2

Won Awards

International

117.2

The Dilemma

2011

PG-13

111

24

48.4

No Awards

Domestic

72.4

Let's Be Cops

2014

R

104

18

82.4

No Awards

Domestic

100.4

Last Holiday

2006

PG-13

112

55

38.4

No Awards

Domestic

93.4

Grizzly Man

2005

R

103

93

2.9

Won Awards

Domestic

95.9

Knowing

2009

PG-13

121

33

79.9

Won Awards

International

112.9

Monster

2003

R

109

82

34.2

Won Awards

International

116.2

Frontera

2014

PG-13

103

52

0.0593

Won Awards

Domestic

52.0593

Red Riding Hood

2011

PG-13

100

10

37.7

No Awards

International

47.7

Spy Game

2001

R

126

66

62.3

No Awards

International

128.3

Identity

2003

R

90

62

51.5

No Awards

Domestic

113.5

A Most Violent Year

2014

R

125

90

5.7

Won Awards

International

95.7

Paranormal Activity 3

2011

R

83

68

104

Won Awards

Domestic

172

Rent

2005

PG-13

135

46

29.1

Won Awards

Domestic

75.1

Broken Flowers

2005

R

106

88

13.6

Won Awards

International

101.6

The Sisterhood of Night

2014

PG-13

104

79

0.0053

Won Awards

Domestic

79.0053

Spy Kids

2001

PG

88

93

110.8

Won Awards

Domestic

203.8

Tim's Vermeer

2013

PG-13

80

89

1.7

Won Awards

Domestic

90.7

Cutie and the Boxer

2013

R

82

96

0.2

Won Awards

Domestic

96.2

How to Train Your Dragon

2010

PG

98

98

217.4

Won Awards

Domestic

315.4

The A-Team

2010

PG-13

117

47

77.2

Won Awards

Domestic

124.2

Save the Date

2012

R

97

46

0.0038

Won Awards

Domestic

46.0038

42

2013

PG-13

128

79

95

Won Awards

Domestic

174

Bottle Shock

2008

PG-13

110

48

3.9

Won Awards

Domestic

51.9

Crazy Love

2007

PG-13

92

78

0.2

Won Awards

Domestic

78.2

Paranormal Activity 2

2010

R

91

58

84.7

Won Awards

Domestic

142.7

Deliver Us from Evil

2014

R

118

28

30.6

No Awards

Domestic

58.6

Confessions of a Dangerous Mind

2002

R

113

79

15.9

Won Awards

International

94.9

In Time

2011

PG-13

109

36

37.6

No Awards

Domestic

73.6

My Sister's Keeper

2009

PG-13

109

48

49.1

Won Awards

Domestic

97.1

Outrage

2009

R

90

78

0.2

Won Awards

Domestic

78.2

Bedazzled

2000

PG-13

93

49

37

Won Awards

International

86

X-Men 2

2003

PG-13

134

87

214.8

Won Awards

International

301.8

The Big Wedding

2013

R

89

7

21.8

No Awards

Domestic

28.8

Trance

2013

R

101

68

2.3

Won Awards

International

70.3

Preaching to the Choir

2005

PG-13

103

36

0.3

Won Awards

Domestic

36.3

Long Shot: The Kevin Laue Story

2012

PG-13

93

67

0.0284

No Awards

Domestic

67.0284

2 Fast 2 Furious

2003

PG-13

107

36

127.1

Won Awards

International

163.1

The Other Woman

2009

R

102

39

0.0206

No Awards

Domestic

39.0206

Redwood Highway

2013

PG-13

90

80

0.1

No Awards

Domestic

80.1

Mission: Impossible III

2006

PG-13

126

70

133.4

Won Awards

International

203.4

Dungeons & Dragons

2000

PG-13

107

10

14.8

No Awards

International

24.8

Jupiter Ascending

2015

PG-13

127

25

47.4

No Awards

International

72.4

Whip It

2009

PG-13

111

84

13

No Awards

Domestic

97

Le divorce

2003

PG-13

117

37

8.9

Won Awards

Domestic

45.9

Dirty Girl

2010

R

90

27

0.0536

No Awards

Domestic

27.0536

Fat Albert

2004

PG

93

25

48

No Awards

Domestic

73

?on Flux

2005

PG-13

93

10

25.9

No Awards

Domestic

35.9

Basic

2003

R

98

21

26.5

No Awards

International

47.5

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE