Displaying 2 results from an estimated 2 matches for "intage".
Did you mean:
vintage
2010 May 18
1
Regarding the 'R' Load Command
...le("ex.data", "w")
> cat("\"imurder\" \"itheft\" \"irobbery\" \"iassault\" \"idrug\"
\"iburglary\" \"igun\" \"psych\" \"Freq\" \"priors\" \"firstage\"
\"intage\" \"sex\" \"race\" \"marstat\" \"empac\"
\"educ\" \"zipcode\" \"suspendmn\" \"drugs\" \"alco\" \"probation\"
\"parole\"",file = zz, sep = "\n", fill = TRUE)
> c...
2006 Feb 08
0
insert value according to indice
...the proportions are not being attached to only those individuals with the specified value for that proportion.
Below is an example of the code that I am using. I have also attached the data file that I am using to create this dataframe.
#Read in Data
age.int <- read.csv('C:/intage.csv',header = TRUE)
asubs112 <- subset(age.int, rs1042364 != "(2,2)")
ages112 <- sort(unique(na.omit(asubs112$first_drink)))
for ( i in ages112) {
indce <- which(na.omit(asubs112$first_drink == i))
prop <- length(indce)/nrow(asubs112)
as...