A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Saving and Loading your work in R

save Use save command to save R objects related to any specific work that you are doing (to distinguish it from other things you or any other user might do in R on the same machine). You can save the environment in a file with extension .Rdata.

load This can be loaded into R later […]

More on “A Little Trick in Reading Data”

Here is an example of the beauty of R.

To split up a character string, all you need is to use a function called substr (for sub string)!! So you don’t really need to write the variable into a new file and read it back with read.fwf as I did (see my earlier post titled […]

Subset

The following text from the R help pages clearly explains the use of command subset in extracting data from a data.frame. This command will be of much use in preparation of data set for further analysis.

Vikas

—————

subset {base} R Documentation

Subsetting Vectors and Data Frames

Description

Return subsets of vectors or data frames […]