Statistical Methods For Social Sciences
Statistical Methods For Social Sciences
• https://www.rstudio.com/products/rstudi
o/download/
Application
• R studio
• For the appearance
– Tools
– Global options
– Appearance
• Dracula
Application
• File- New file- R script
– Hello World----Run
– print("Hello World")----Run
There are lots of packages to perform
analysis in R.
– install.packages("Rcmdr") for the use of
command
You also need the library.
– library(Rcmdr)
Application
To load data file from text website
Crime <-
read.table("http://www.stat.ufl.edu/~aa/smss/data/
Crime.dat",header=TRUE)
–header=TRUE #variable names are at the
top of the file#