My Blog
—
by
rCopy code# Summary statistics summary(data) # Calculate mean height and weight mean_height <- mean(data$height) mean_weight <- mean(data$weight) cat("Mean Height:", mean_height, "\n") cat("Mean Weight:", mean_weight, "\n")
# Summary statistics summary(data) # Calculate mean height and weight mean_height <- mean(data$height) mean_weight <- mean(data$weight) cat("Mean Height:", mean_height, "\n") cat("Mean Weight:", mean_weight, "\n")
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Leave a Reply