difference between apply lapply and sapply in r code example Example: r sapply syntax sapply(value,function) // Basic usage