I am taking this course as part of a requirement for my major, and wish to learn to effectively use R for research purposes.
36*3
## [1] 108
You can also embed plots, for example:
x <- c(1, 2, 3, 4, 5)
y <- c(12, 13, 13, 14, 15)
plot(x, y,
main = "Ren Kondo",
xlab = "fertilizer (g)",
ylab = "growth (cm)",
pch = 16,
col = "green")
#natural log of 10 and 435 times 10
log(10)
## [1] 2.302585
435*210
## [1] 91350
# Example data
data <- c(23, 45, 56, 67, 45, 56, 89, 34, 23, 56, 45)
# Create the boxplot
boxplot(data, main="Boxplot of Data", ylab="Values")
df <- data.frame(
A = c(23, 45, 56, 67, 45, 56, 89, 34, 23, 56, 45),
B = c(12, 34, 56, 78, 34, 56, 67, 89, 45, 56, 67)
)
# Create a boxplot for each column
boxplot(df, main="Boxplot of Multiple Variables", ylab="Values")