how to create code in R without package
write the code of sample mean without the using the package
thanks for reaching out!
The lecture in question concerns if else statements, which do not require any R packages. You should be able to run the commands in R studio without installing any packages.
Let us know if you have any further questions!