Minor pedantic point: the c()
function is actually named for “combine” since it “combines values into a vector or list” — same idea, slightly different vocab: c function - RDocumentation
You can find the documentation for a function in R by typing ?functionName
or help("functionName")
at the console.
You might be interested in this thread, which has lots of great resources for getting up to speed when you’re new to R: What's your favorite intro to R?