R Dataset / Package vcd / Hitters
On this Picostat.com statistics page, you will find information about the Hitters data set which pertains to Hitters Data. The Hitters data set is found in the vcd R package. Try to load the Hitters data set in R by issuing the following command at the console data("Hitters"). This may load the data into a variable called Hitters. If R says the Hitters data set is not found, you can try installing the package by issuing this command install.packages("vcd") and then attempt to reload the data with library("vcd") followed by data("Hitters"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing Hitters at the command-line which should display the entire dataset.
If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Hitters R data set. The size of this file is about 27,040 bytes.
This data set is deduced from the
A data frame with 154 observations and 4 variables.
SAS System for Statistical Graphics, First Edition, Page A2.3
M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.
data("Hitters") attach(Hitters)colors <- c("black","red","green","blue","red","black","blue") pch <- substr(levels(Positions), 1, 1) ternaryplot(Hitters[,2:4], pch = as.character(Positions), col = colors[as.numeric(Positions)], main = "Baseball Hitters Data") grid_legend(0.8, 0.9, pch, colors, levels(Positions), title = "POSITION(S)")detach(Hitters)
Dataset imported from https://www.r-project.org.
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|Recent Queries For This Dataset|
No queries made on this dataset yet.
|Title||Authored on||Content type|
|R Dataset / Package COUNT / azprocedure||March 9, 2018 - 1:06 PM||Dataset|
|OpenIntro Statistics Dataset - fheights||August 9, 2020 - 12:25 PM||Dataset|
|R Dataset / Package datasets / LakeHuron||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package wooldridge / crime1||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package datasets / faithful||March 9, 2018 - 1:06 PM||Dataset|