How to print the head first 10 rows with only select variables in R

0 votes
In order to print out the first 10 rows of a dataframe in R, I am using head(data.frame, 10).

But this dataf rame has 64 variables, and I only want to select 3 of those variables to show for my print out of the first 10 rows.

Can I use the head function to do this?
Jun 9, 2022 in Data Analytics by Avinash
• 1,260 points

edited Mar 4 22 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP