3. What is menstrual cycle?
4. Why is personal hygiene important at adolescence?
5 Summarise second
Answers
Answer:
3.The menstrual cycle is the regular natural change that occurs in the female reproductive system that makes pregnancy possible. The cycle is required for the production of oocytes, and for the preparation of the uterus for pregnancy. The menstrual cycle occurs due to the rise and fall of estrogen.
4.Especially during adolescence, for both boys and girls, a lot of physical changes happen and in order to cope up with it physiologically and psychologically, personal hygiene is a must. By maintaining personal hygiene, the adolescents will be able to raise self-esteem and confidence within themselves.
group1 <- c('a','a','a','a','a','a','b','b','b','b','b','b','b','b')
group2 <- c('x','y','x','y','x','y','x','y','x','y','x','y','x','y')
value <- round(runif(14, min=0, max=1), digits =
5.df1<-
as.data.frame(cbind(group1,group2,value))
df1$value <- as.numeric(df1$value)
It is easy to get a new data frame with only the maximum values of each group, by using the dplyr package and summarise function:
df2 <- summarise(group_by(df1,group1),max_v = max(value))
But what I want is a new data frame with the 3 maximum values of each group, doing something like that:
df2 <- summarise(group_by(df1,group1),max_v =