Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help getting my boxplot produce in rstudio with this data set: https://docs.google.com/spreadsheets/d/1iLDRc18sHMO5-rcY7S4Z_h2aUk7CPoieaMwPSwVdpJc/edit?usp=sharing Prompt: Make boxplots of your new variable, WACTtoJINS by school of respondent

Need help getting my boxplot produce in rstudio with this data set:

https://docs.google.com/spreadsheets/d/1iLDRc18sHMO5-rcY7S4Z_h2aUk7CPoieaMwPSwVdpJc/edit?usp=sharing

Prompt:

Make boxplots of your new variable, WACTtoJINS by school of respondent (Q27)

ggplot(data=Facwriting)+geom_boxplot(mapping=aes(x=School, y=WACTtoJINS))

error:

Don't know how to automatically pick scale for object of type tbl_df/tbl/data.frame. Defaulting to continuous. Error: Aesthetics must be either length 1 or the same as the data (90): x, y

Here is some code that I have:

library(readr) Facwriting <- read_csv("~/stat 220/hw2/hw2/Facwriting.csv")

WACTtoJINS<-mutate(Facwriting,WACTtoJINS=round(as.numeric(Facwriting$WACTimprove) /as.numeric(Facwriting$JINSImprove),digits = 3))

Is ther any way to fix this "aesthetics" error please?

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions