Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in R Programming by (50.2k points)
edited by
Currently, I am working on a dataset where some variables are characters and others are numeric. There are thousands of observations, some have received funding to do a project. Project is a character variable with different a few different options, depending on what they project they did; some observations just have "none" in that column.

I am trying to run some basic stats on the different potentialities within the Project variable and also run some plots to see where the distinct project objects fall compared to other variables in the dataset, which are mostly numeric covariates.

1 Answer

0 votes
by (108k points)

I think you can use a boxplot that will help you to visualize things from the dataset.

boxplot(Size ~ Project, data=Housing_Data)

If you want for an individual project:

boxplot(Size ~ Project, data=Housing_Data, subset=Project == "None")

If you are a beginner and want to know more about R then do check out the R programming course

Browse Categories

...