Displaying 1 result from an estimated 1 matches for "evalp".
Did you mean:
eval
2013 Sep 17
1
"With" question
All,
Trying to avoid using attach and detach while teaching class in Intro Stats.
data=read.delim("dataset1.dat",header=TRUE)
with(data,{
sort(age)
length(age)
(age[10]+age[11])/2
})
However, this code only produces output for the last line between the curly
braces. Granted, as we type the lines in one at a time and execute the code,
we'll see each output. And, we can fix