search for: betahatdens

Displaying 1 result from an estimated 1 matches for "betahatdens".

2005 Feb 05
1
Labelling and formatting of graphics
...tput of the code below, I want to do the following: - get hats over some of the betas - get the polygons stippled, not coloured grey - remove the tick marks at the ends of the axes. If I put tick = false, the whole axis disappears. betahat <- c(0.04*0:150) betahatdens <- dnorm(betahat, 3, 1) plot(betahat, betahatdens, xlim = c(-0.2, 6.2), ylim = c(-0.09, 1), type = "l", lwd = 2, xlab = NA, ylab = NA, axes = FALSE) axis(1, pos = 0, labels = FALSE, tick = TRUE, at = c(0, 2, 3, 4, 6)) axis(2, pos = 0, labels = FALSE, tick = TRUE, at = c(0, 0.5)...