Posts

Showing posts from January, 2023

R for healthscience

 type of variables:  integer: definite numbers with no .5 .6 examples: 1 ,2 ,3  charecter: u should put it between " "  u put things and give them values  r<- 1 p <- portugal  # 5 big mistakes 1- a is not A " capital is different" 2- when combining different values use c() to make a vector:  c(1,2,3) not (1,2,3) 3- "a==b" means "is a equal to b?" while "a=b" means make a equal to b: BIG DIFFERENCE 4- Be aware of NA ( non existing data " data: they can ruin everything " to name a vector" vec_aux<-c(3,4) List: is a collection of vectors that can be of different length or type, e.g.  make a list then name it : names(l)<-c("one","two") then l$one or l[2] difference between l[1] and l[[1]] is the first one also returns u the name and the element not exactly the element like in the second one > lapply(c, mean) if u create like vec<-c(1,2,3,4) [ 11:21 PM ] and then l<-list(vec) [...

Why they always win but i know i will lose

 Dear rawan .. only allah knows how you put your best in this but u never got a good result.. a result that made u happy.. a result that Cheer u up  Im always disappointed.. and feel like shit every mark .. specially today.. i got ent marks and i totally feel i didn't got the mark i deserve.. i feel the injustice and the unfair world ..  And yes I'm crying  Im crying cause i feel i worth 0 and dumb and not lucky at all .. I feel the world isn't appreciating any effort i do .. i wake up every day at 6 am at cold.. i reached home the last one who reached home ..  I suffer from noises.. i suffer from family pressure.. i suffer from the pressure to rise up my GPA .. i suffer how will i continue in medicine.. i suffer from the pressure of the elective.. opening up about diogo  I suffer.. and stuffer and all i do is studying and im not even good in this  I always get the second Lowest mark :')))??