Basic Programming Terminology
Basic Programming Terminology
What is CodeGraf?
Terms for programs
a program #data = readDict('vanderbilt_units.csv')
#print(json.dumps(data,indent=2))
fileObject.write(generate_utc_date())
print('done')
print()
fileObject.write(generate_utc_date())
print('done')
print()
R script
in RStudio
Python script
in a Jupyter notebook
Command-line interfaces (CLI)
consoles
• A console is a program that sends text commands and receives text
output
shell console
Class: Car
R code
# Relationship between age of starting smoking and closeness
# create a factor out of closeness, box and whisker plot, then t-test of means
closeness_factor <- factor(with_maternal$maternal_closeness,
levels = c(0, 1),
labels = c("distant", "close"))
plot(with_maternal$H4TO2 ~ closeness_factor) a statement
t.test(with_maternal$H4TO2 ~ closeness_factor, var.equal=TRUE, conf.level=0.95)
• In script mode, the entire script is run at once. Feedback is only given
when explicitly required by the script.
Remote
Support for Skype consultations with your
subject librarian
Teaching and
Research Ask a Librarian: an easy way to
Needs submit a question via email