search for: calkin

Displaying 20 results from an estimated 20 matches for "calkin".

Did you mean: calvin
2007 Dec 05
2
converting factors to dummy variables
...s like red:a red:e blue:b blue:c blue:e green:c green:d green:e 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 any ideas would be appreciated. -- Tim Calkins 0406 753 997
2008 Aug 08
1
Vista problem -- can't type commands at prompt
...roke has any impact. As long as I leave the R window active, it continues to work as expected. I have tried using the batchfiles "el R" method which doesn't work. I have disabled UAC and am an admin on this machine. thanks for any help you might be able to provide. tim -- Tim Calkins 0406 753 997
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
2007 Dec 27
2
Help with lm and multiple linear regression? (Plain Text version)
(Apologies the previous version was sent as rich text) Hello, I'm new to R, but I've read the intro to R and successfully connected it to an instance of mysql. I'm trying to perform multiple linear regression, but I'm having trouble using the lm function. To start, I have read in a simply y matrix of values(dependent variable) and x matrix of independent variables. It says both
2009 Aug 06
1
creating MS Access query objects using RODBC
...that sql statement saved as an Access Query in each db. Is this possible using R? I'm aware that I could use RODBC sqlQuery and write sql to make a table or that I could run the sql, extract it to R, and then use sqlSave to save the dataframe as a table in the db. thanks in advance, -- Tim Calkins 0406 753 997 [[alternative HTML version deleted]]
2006 Nov 21
1
R-squared with and without constant
...des: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 4.799 on 98 degrees of freedom Multiple R-Squared: 0.8146, Adjusted R-squared: 0.8108 F-statistic: 215.3 on 2 and 98 DF, p-value: < 2.2e-16 Thanks in advance. tim -- Tim Calkins 0406 753 997
2007 Oct 25
2
the difference between temp and .temp
...____________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Tim Calkins 0406 753 997
2006 Nov 01
1
Position of a specific letter in a character string
Dear useR, x is a character string In R: > x<- '32159_3' Which function could enable me to determine the position of underscore in x? In here, the underscore is on the 6th digit of x. --- Yours Sincerely Leon [[alternative HTML version deleted]]
2007 Aug 16
0
summarising systemfit with saveMemory
...ined with > systemfit <<--SNIP-->> if (!saveMemory) { <<--SNIP-->> mcelr2 <- 1 - (rtOmega %*% resids)/denominator } else { mcelr2 <- NA } <<--SNIP-->> Or am I missing something here. Thanks in advance. -- Tim Calkins 0406 753 997
2007 Oct 22
2
Matrix manipulation
Hi everyone, suppose I have a 2D matrix, is there a command to snip out a specific row/column and then remerge the remaining columns/rows back into a contiguous matrix? I will need to repeat this operation quite a bit(reverse selection). Thanks for any insights you can offer. Yifei
2007 Oct 26
1
Accessing scripts in a different directory on a Mac
Hi all. A question for knowledgeable folks using R on an Intel Mac running OS X 10.4.10 For ease of maintenance, I have broken a large R script into a main script which ?oversees? things by calling other scripts, using ?source?. Let?s call the secondary scripts ?sub-scripts.? I?d like for the sub-scripts to reside in a different directory (again, for ease of maintenance, and so I can access
2001 Nov 12
1
%a for Samba
Hi! Good work on Samba!!! for the %a: Are you going to recognize Win2K, WinXP, Win98?? This would help in keeping roaming profiles seperate for Win2K and WinXP - thanks! Patrick
2006 Nov 17
2
Large data Problem
Hi R-Experts, I'm having a problem with reading a large data file which is in .csv format and size is 120 MB (app.). I was trying to use RODBC package but I found RODBCconnectExcel function only. And can I convert this file to .dbf format? How can I read this file? And also let me know if this was a file in .sas7bdat format, what should I do? Thanks in advance.
2007 Oct 23
2
A very simple question
Hi all, My apologies for a very simple question. I just downloaded R 2.6.0. I want to bring in all of the objects from 2.5.0 that I see when I type ls(). I have no idea how to do that. Thanks in advance. David -- ======================================================================= David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison
2007 Oct 29
1
lm design matrix bug?
Hi All Maybe I dont understand it, but I would have expected that the design matrix has as many rows as there were observations available to fit the model. Below a small artificial dataset created, then one model fitted and the design matrix outputted, having 27 rows. Then I delete 6 obs, and fit the model on these 21 obs, but the design matrix that comes out has 26 rows? Thanks for your
2006 Nov 08
2
chisq test with for loop
Hi all. i am desperating. i need a matrix of p.values from an chi square test. i had it already work but than my computer collapsed when taking the whole data set 800x260 into account. i am sure it looked like this but it doesn't work now. can anybody help me? thanks in advance. x=read.table("C:\...) d=ncols(x) z<=matrix(0,d,d) for(i in 1:d) for(j in 1:d)
2007 Oct 01
1
tricky problem with "if" function -
Hi all, This question involves using a "for" loop to make a "decision" in a script. I've written a rather intricate script, and near the start of it, I want it either to do a loop (if a variable called "number.runs" > 1) or not do a loop (if "number.runs" is 1). This is probably trivial but I can't figure it out. Here's a self-contained
2007 Jan 15
4
How to format R code in LaTex documents
Hi, I am planning on putting some R script in an appendix of a LaTex document. Can anyone recommend me a way of how to format it? Is there a way to keep all line breaks without having to insert \\ in every single line? Thank you! Benjamin
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-...
2006 Nov 13
1
handling time units--hours, minutes, days--from file times
Dear R-helpers, I am trying to generalize my function for recording measurement times from file times "mtime"--my intervals are minutes to hours over the course of several days. I want to use hours as my units, and I have had trouble dealing with time units in a general way. I have a simple solution for the dealing with regular intervals, but I have not been able to handle irregular