9 search results for "g4greetz"

Which function in R

March 3, 2017
By
Which function in R

The which() function will return the position of the elements(i.e., row number/column number/array index) in a logical vector which are TRUE.

Read more »

Match function in R

March 1, 2017
By
Match function in R

The match() function returns a vector of the position of first occurrence of the vector1 in vector2. If the element of the vector1 does not exist in vector2, NA is returned.

Read more »

R or Python for Data Science?

January 16, 2017
By
R or Python for Data Science?

Addressing the question 'R or Python for data science' depends mainly on the problems which is to be solved, the tools required to solve the problem and your personal preference. Read more..

Read more »

LISTING ALL THE FILES WITH A SPECIFIED EXTENSION USING R

December 15, 2016
By
LISTING ALL THE FILES WITH A SPECIFIED EXTENSION USING R

What if we need to list only the files with a specified extension using R ? Here we can make use of the functions Sys.glob() and the list.files() along with some arguments.

Read more »

TRACEBACK FUNCTION IN R

December 12, 2016
By
TRACEBACK FUNCTION IN R

In R, when a function returns an error, there is an easy way to figure out which command have triggered the error.

Read more »

DIFFERENCE BETWEEN library() AND require() IN R

December 8, 2016
By
DIFFERENCE BETWEEN library() AND require() IN R

The library() and require() can be used to attach and load add-on packages which are already installed. The main difference between the two function is explained in the post.

Read more »

FUNCTIONS FOR EXPLORING A DATAFRAME IN R

December 5, 2016
By
FUNCTIONS FOR EXPLORING A DATAFRAME IN R

The basic functions used for exploring a datframe in R.

Read more »

MANAGING WORKSPACES USING SETWD AND GETWD FUNCTIONS IN R

October 31, 2016
By
MANAGING WORKSPACES USING SETWD AND GETWD FUNCTIONS IN R

The R working environment is called a workspace. The workspaces are stored into a directory and is reloaded the next time you open R. We can choose which directory to be used to store our projects. The common commands used for managing the workspaces are given in the blog post.

Read more »

INSTALL R AND RSTUDIO IN UBUNTU 12.04 AND HIGHER

October 25, 2016
By
INSTALL R AND RSTUDIO IN UBUNTU 12.04 AND HIGHER

Installing RStudio in Ubuntu 12.04 and higher versions requires R to be installed. The steps given in this post will help to install R and RStudio.

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)