Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Example: From 'The R Book' 2nd ed. ~ 2.3.2 Generating Factor Levels...
#R version 3.3.2 print("# From 'The R Book' 2nd ed. ~ 2.3.2 Generating factor levels...") # If you want text for the factor levels, rather than numbers, use labels like this: Temp <- gl(2, 2, 24, labels = c("Low", "High")) Soft <- gl(3, 8, 24, labels = c("Hard","Medium","Soft")) M.user <- gl(2, 4, 24, labels = c("N", "Y")) Brand <- gl(2, 1, 24, labels = c("X", "M")) data.frame(Temp,Soft,M.user,Brand)
run
|
edit
|
history
|
help
0
Outlier
Multiple barplot
EulerEx3
Multiple linear regression modals
Hello world
oooo
histograms for survey stats and fats
test1
Program2.Question2
Ch. 4 Boxplot Skewed Left