# I need help in Vector and Factor parts

Per Google translate:

Hallo und Willkommen!

Mit freundlichen Grüßen ist der erste deutsche Beitrag, den ich gesehen habe, und ich weiß nicht, wie viele deutsche Sprecher in der Community sind. Hier.

Sie sollten sich der Bedeutung von [reproduzierbares Beispiel, Reprex genannt] bewusst sein (https://forum.posit.co/t/faq-whats-a-reproducible-example-reprex-and-how-do-i-do-one/ 5219) und gegebenenfalls [Hausaufgabenrichtlinie] (FAQ: Homework Policy).

Könnten Sie ein "reprex" posten?

Hello I need help with these tasks only what I can do I write in the end please check someone and answer if they can help

1. Fixed a Vekor named, with 20 random values ​​between 10 and 40
2. a vector named imt with 50 values ​​randomly drawn from the interval 35 to 120
3. a factor vector encoding the animals of the VP as 'h', 'k' and 'r' in random order.

a factor that divides the subjects into two groups according to the vector, one group containing values ​​greater than the mean and the other values ​​less than or equal to the mean. For this, it may be necessary to first create any vector with 50 digits, and then replace the digits with indexing.
Then determine the mean, standard deviation, corrected sample variance, and uncorrected sample variance of the first ZVA.

Also, give the following values: * the values ​​of the female VP's imt vector whose fixed values ​​are greater than 25. * the animals of the VP who are in the above-average group of the second factor and have imt values ​​below 100 * the sexes of the VP who have imt values ​​below 100 but above 45.

first task: fixed <-sample (15: 35,50, replace = T)
second: imt <-sample (35: 120,50, replace = T)
third: animals <-factor (c ("m", "f", "d"))

I'm learning that new so that would be very grateful for help