Essentially, creating a dataframe and even the ggplot data seems to work, my laptop just does not want to display the data graphically. According to this video:
you should be able to see the data when clicking on "plots", however in my case just nothing happens as shown in my screenshot.
This is a much smaller example than my original problem with the same issue:
Blockquote
library(tidyverse)
library(caret)
library(ggplot2)
library(dplyr)
Fruit<-c("Banana", "Apple", "Banana", "Apple", "Apple")
Origin<-c("New Guinea", "China","Germany", "USA", "Germany")
Quality<-c("Good", "Bad", "Good", "Very bad", "Decent")
Value<-c(50,75,80,60,30) #cents
Price<-c(1,2,1,3,1) #euros
Fruits<-data.frame(Fruit, Origin, Quality, Value, Price)
Fruits$Fruit<-as.character(Fruits$Fruit)
Fruits$Origin<-as.character(Fruits$Origin)
Fruits$Quality<-as.character(Fruits$Quality)
Fruits$Value<-as.factor(Fruits$Value)
Fruits$Price<-as.factor(Fruits$Price)
n <- 50
Fruits<-do.call("rbind", replicate(n, Fruits, simplify = FALSE))
Plot<-ggplot(Fruits, aes(Price)) +
geom_histogram()