SHARE
TWEET

Untitled

a guest May 24th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a <- "My name is John"
  2. a <- "myname@comp.com"
  3. b <- strsplit (a, "@")
  4. print(b)
  5.  
  6.  
  7. a <- "myname"
  8. b <- "comp.com"
  9. paste(a,b,sep="@")
  10.  
  11. print(seq(5, 9, by = 0.4))
  12.  
  13. gender <- factor(c("male","female","male"))
  14.  
  15. print(gender)
  16.  
  17. blood <- factor(c("O","A","B"),levels = c("A" , "B" ," AB" , "O"))
  18.  
  19. print(blood[1:2])
  20. subject_name <- c("John Doe" , "Mark Rob")
  21. Temperature <- c(88.1 , 98.1)
  22.  
  23. Flu_status <- c(True,False)
  24.  
  25. list_data <- list(subject_name[1] , Temperature[2] , Flu_status[2] , gender[1] , blood[1])
  26.  
  27. print(list_data)
  28.  
  29. subject1 <- list(fullname = )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top