On 19-11-2012, at 15:48, Anna23 wrote:
> . Q>>>Use the built in dataset called iris in this task.
> (a) Calculate the result of following formula separately in every species
> for all of the
> numerical variables: log(x)/x.
> (b) Calculate trimmed mean for each of the numerical variables using
> apply?function. Choose
> your own trimming percentage
>
Please read the posting guide: http://www.r-project.org/posting-guide.html
R-help is not for homework.
Read the introductory manual "An Introduction to R" (links are on the
page for the posting guide.)
Berend