Skip to content

Instantly share code, notes, and snippets.

@geofferyzh
Created April 16, 2012 18:10
Show Gist options
  • Save geofferyzh/2400436 to your computer and use it in GitHub Desktop.
Save geofferyzh/2400436 to your computer and use it in GitHub Desktop.
RinAction - R Importing Data - Keyboard
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# R in Action - Importing Data #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
########################################
# Entering Data from Keyboard #
########################################
mydata <- data.frame(age=numeric(0), gender=character(0),weight=numeric(0))
str(mydata)
mydata <- edit(mydata)
fix(mydata)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment