The R package _____ lets you perform SQL queries on your data frames.
A _____ is an R object that can contain elements of different data types.
Which of the following functions generate random Poisson variates with a given rate?
Which of the following produces bivariate scatterplots or time-series plots?
How many coefficients do you need to estimate in a simple linear regression model with one independent variable?
Which function computes the time (in seconds) needed to execute an expression?
> x <- c(1, 2, NaN, NA, 4)
> is.na(x)
Which of the following statements about R is incorrect?
function(p) {
params[!fixed] <- p
mu <- params[1]
sigma <- params[2]
## Calculate the Normal density
a <- -0.5*length(data)*log(2*pi*sigma^2)
b <- -0.5*sum((data-mu)^2) / (sigma^2)
-(a + b)
}
> ls(environment(nLL))