R studio problem.
Code already runs fine, just need questions under this:
Create a graphic or graphics (choose which you think is best and explain why you chose it as a comment in your code or as a separate document) for the group protesting by date (assoc_actor1). Amongst the choices are a stacked bar graph and overlaid lines, but you are free to choose something else.
Identify the type of variable for each and the distribution for each (again, as a comment in your code or as a separate document
Have R return the data type for each variable. Did R guess the data type correctly?
Struggling with where to start this assignment? Follow this guide to tackle your assignment easily!
Here are the questions you need under your R Studio problem:
-
What type of graphic did you choose and why?
- Explain whether you selected a stacked bar graph, overlaid lines, or another visualization and justify your choice.
-
What type of variable is each one?
- Identify the variable type for
assoc_actor1
(categorical/nominal) and date (ordinal or continuous).
- Identify the variable type for
-
What is the distribution of each variable?
- Describe the distribution pattern (e.g., normal, skewed, uniform, or categorical frequency distribution).
-
What data type did R assign to each variable?
- Use
class()
orstr()
to check the data type forassoc_actor1
and date.
- Use
-
Did R correctly guess the data type?
- Analyze whether R correctly interpreted the data type and whether any conversions were necessary (e.g., converting factors to characters or dates).
Would you like a sample R code snippet to check and visualize this?
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount