PRINCIPLE

The R language was primarily designed as a language for data manipulation, modeling and visualization, and many of the data structures reflect this view. ####When R is started, a workspace is created and that workspace is where the user creates and manipulates variables.This workspace is an environment, and an environment is a set of bindings of names, or symbols, to values. The top-level workspace can be accessed through its name, which is GlobalEnv. Assignment of value to a variable is generally done with either the = (equals) character, or a special symbol that is the concatenation of less than and minus,<-. Assignment creates a binding between a symbol and a value, in a particular environment. An R package typically consists of a coherent collection of functions and data structures that are suitable for addressing a particular problem. Here we use some package : 1. Bio3d 2. scatter plot3d 3. ggbiplot 4. peptides 5. lines 3d

ASSIGNMENT 1

SPECTRAL ANALYSIS

#setwd("H:/ROLL25")
Z<-read.csv("spectra.csv")
x<-Z$wavelength
y<-Z$absorb
mainlab=paste("wavelength vs absorbtion")
xlabel=paste("wavelength")
ylabel=paste("absorption")
plot(x,y,main = mainlab,col="red",cex=0.5,xlab = xlabel,ylab = ylabel)