- Home
- Data Science
- R for Data Science

- 4.6 Rating
- 39 Question(s)
- 50 Mins of Read
- 9854 Reader(s)

- 4.6 Rating
- 39 Question(s)
- 50 Mins of Read
- 9854 Reader(s)

**matplot(x, cbind(y1,y2))** where x, y1,y2 are vectors or columns of a matrix or dataframe. Example as shown below where X is the vector from 1 to 8 and Y1 and Y2 are functions of X.

Stacking vectors concatenates multiple vectors into a single vector along with a factor indicating where each observation originated. Unstacking reverses this operation.

**Example: **

**() **is the function used to convert list into vector for arithmetic manipulation on the elements.

**. **read.delim() function reads a file into list. read.delim() is almost the same as read.table(), except the field separator is tab by default.

head(subset(airquality, Ozone > 28 & Temp > 70, select=c(Ozone, Temp)), 4)

subset(airquality, !is.na(Ozone))

head(subset(airquality, Month==5 & Day > 30, select= -Wind))

**): **The cumulative maximum value. Cumin(x): The cumulative minimum value. Cumprod(x): The cumulative product.

mapply(paste,1:3, 6:8, sep=letters[24:26])

**matplot(x, cbind(y1,y2))** where x, y1,y2 are vectors or columns of a matrix or dataframe. Example as shown below where X is the vector from 1 to 8 and Y1 and Y2 are functions of X.

Stacking vectors concatenates multiple vectors into a single vector along with a factor indicating where each observation originated. Unstacking reverses this operation.

**Example: **

**() **is the function used to convert list into vector for arithmetic manipulation on the elements.

**. **read.delim() function reads a file into list. read.delim() is almost the same as read.table(), except the field separator is tab by default.

head(subset(airquality, Ozone > 28 & Temp > 70, select=c(Ozone, Temp)), 4)

subset(airquality, !is.na(Ozone))

head(subset(airquality, Month==5 & Day > 30, select= -Wind))

**): **The cumulative maximum value. Cumin(x): The cumulative minimum value. Cumprod(x): The cumulative product.

mapply(paste,1:3, 6:8, sep=letters[24:26])

- Design Patterns Principles And Best Practices For Java J2Ee training
- Machine Learning With Python certification in Chennai
- Leading SAFe training online in Kolkata
- Html5 And Css3 classroom training in Bangalore
- Master R Programming classroom training in Los Angeles
- App Store Optimization classroom training in Boston
- Machine Learning-End Of Human Era
- Python Deep Dive training in Ottawa
- Asp Net Mvc classroom training
- Big Data Analytics course online in Delhi

Submitted questions and answers are subjecct to review and editing,and may or may not be selected for posting, at the sole discretion of Knowledgehut.

Log In With Facebook Log In With Google+ Login with linkedin We do not post without your permission.

Log In With Facebook Log In With Google+ Login with linkedin
We do not post without your permission.

Cancel / Close