volume_balok <- function(p,l,t){ volume_balok = plt return(volume_balok)

}

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.