I want to see some details about the first line of the dataframe. This is my code:
name <- "Carmen"; n1 <- 10; n2 <- 100; m <- 0.5
M <- data.frame(n1, n2, m)
ls.str(pattern="M", max.level=-1)
But it results in error, I don't know if this function has already updated to a new one:
Error in ls.str(pattern = "M", max.level = -1) : unused argument (max.level = -1)
I started learning R and I'm reading this pdf (the code is found on page 10):