Simple to Import and Call the data in R
First for all, statistician must have to change the Excel file (.xlsx) into (.csv) format. Then, open the R-software and run the following codes.
CODES
# Load the data file
data=read.csv(file.choose())
# Preview the loaded data
fix(data)
# Selection of specific first column with all row form data
y=data[ 1, ]
# Selection of specific first row with all column form data
y=data[ , 1 ]
# Selection of specific first ten column with all row form data
y=data[ 1:10, ]
# Selection of specific first ten row with all column form data
y=data[ , 1:10 ]
# Selection of specific first ten column with ten row form data
y=data[ 1:10, 1:10 ]
Please write your suggestions in comment box
Its so helpfull for the beginner learner
ReplyDeleteSir want next Lecture as well
ReplyDelete