I want to study the gender difference and so I am attempting to use the R
function but I don't know how to use it.
This is my script.
data<-read.csv(file.choose())
attach(data)
data
Subset
newdata <- subset(data, Gender=="1","2", select=Total)