My question is probably pretty basic, but since I'm really new to R, here it
goes ....

 I have two separate data frames that include class names and various other
information on classes. I'm trying to create a match based on class names
and if a match exists to create a third data frame with the class name.

I was hoping to accomplish this with sapply, but I can't figure out if I can
embed an "if statement" with sapply. Does anyone know if that's a legit way
to accomplish what I am trying to do or is there some better way?

thank you,

Alina Sheyman

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to