My Blog

My WordPress Blog

My Blog

My WordPress Blog

Basic Data Summary

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")
Basic Data Summary

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top