Skip to main content

R (programming Language)
2 followers
135 questions
3 posts

Do you have questions about R (programming Language)?

Log in to ask questions about R (programming Language) publicly or anonymously.

Maverick Noah
High hopes get Higher vibes

Load Data Via R Studio Menu Items

Text File or Web URL. As you can see in both the "Import Dataset" menu items, you can import a data set "From Text File" or "From Web URL"

Selecting Data Format.

After... (More)

Charles Eli
I Don't want a perfect life. I want a happy life.

How to Create a Function in R

  1. Multiply the fractional numbers by 100.
  2. Round the result to one decimal place. You can use the round() function to do this.
  3. Paste a percentage sign after the rounded number. The paste() function... (More)
Cooper Levi
Choose A Good Heart Not a Good Face.

After typing in this command in R, you can manually select the directory and file where your dataset is located.

  1. Read the airquality. csv file into R using the read. csv command.
  2. Read the airquality.txt file into R using the... (More)
Adam Leo
The smart thing to do once wealthy: Keeping a low profile.

To exclude variables from dataset, use same function but with the sign - before the colon number like dt[,c(-x,-y)] . Sometimes you need to exclude observation based on certain condition. For this task the function subset() is used. subset() function... (More)