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