Skip to content

Instantly share code, notes, and snippets.

@darioappsilon
Last active December 22, 2020 09:30
Show Gist options
  • Save darioappsilon/87ffde530c63f4e675c4d76b359f8009 to your computer and use it in GitHub Desktop.
Save darioappsilon/87ffde530c63f4e675c4d76b359f8009 to your computer and use it in GitHub Desktop.
003_linear_regression
library(reshape)
# Load in th dataset
df <- read.csv("Fish.csv")
# Remove target variable
temp_df <- subset(df, select = -c(Weight))
melt_df <- melt(temp_df)
# Draw boxplot
boxplot(data = melt_df, value ~ variable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment