Displaying 3 results from an estimated 3 matches for "tcalkin".
Did you mean:
talkin
2006 Nov 21
1
R-squared with and without constant
Greetings Listers!
the R-squared value reported by summary of lm is calculated as
1 - RSS/RSS_m
where RSS_m is the residual sum of squares of a minimal model. In
most cases, the minimal model is simply y = mean(y), but when a
constant is left out of the model, the minimal model is y = 0.
However, if you manually add a constant, R still considers y = 0 the
minimal model. This also causes
2006 Nov 16
2
.rdata files
Help! I accidentally saved my work as an .rdata format instead of .txt
I need to somehow get it saved as a .txt file otherwise i'm really in trouble!
Does anyone know how to convert .rdata to .txt files??
I also tried re-loading the file into R to see if i can re-save it but it doesnt work!
i've attached it below...
please help me asap! i need to turn it in as a .txt file
Thanks
2006 Nov 17
0
difftime for handling time units--hours, minutes, days--from file times
Thanks, Tim
To get the time difference in the proper units, it's as simple as this:
difftime(myfileinfo$mtime[2], myfileinfo$mtime[1], units="hours")
Cheers,
Warren
On 11/13/06, Tim Calkins <tcalkins@gmail.com> wrote:
> hardly the most efficient way to go, but consider using a substring
> function to extract the time bits from your data, then reading them as POSIX
> dates and using difftime.
>
> for example,
>
> > mytime <- c("G2659310 2006-310-10-55-32.txt...