search for: khobson

Displaying 13 results from an estimated 13 matches for "khobson".

Did you mean: hobson
2005 May 13
3
List and Column Names in a Function?
...mn names to the function? I've posted this type of question before and received no response. Maybe this example will be easier to understand and troubleshoot. ds <- function(myds, vec) {myds[[vec]]*2} ds1 <- c(X=list(1:10), Y=list(11:20)) ds(get("ds1"),get("Y")) khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager Oklahoma City, OK 73105-3204
2005 May 24
2
Missing Data Line Type?
...exists, make that line solid, otherwise, make it dashed up to the next existing x/y point. Additionally, what plot type would you recommend for a plot with two Y points per X? The two points would be joined by a vertical line. The average of the two is the dual type line described above. mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm
2005 Jun 10
2
Default Format for Dates?
...in a WordPerfect macro but I'd rather do it as an R default date format if possible. I researched some of this in the archives, FAQ's and manuals but didn't find anything that met my need. I would imagine that this type of question is probably an FAQ but I didn't find it. mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm
2005 May 31
1
Add Columns and Order for Rbind?
...d you recommend to reorder one list based on the column names of another? If both sets have the same order and columns, I can then use rbind. I can live with columns being added to the master list set it makes the task easier using something like union for column name matching and order. mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm
2005 Jul 01
4
R integration with Microsoft Powerpoint
Please allow me an unusual question. Is there any way that R can be closely integrated with a Microsoft Powerpoint presentation? I would like to embed R calculations in Powerpoint so that I will start Powerpoint, be prompted to enter some parameters, and an R function will run and return values and graphs. Thanks, John R 2.1.1 windows 2k John Sorkin M.D., Ph.D. Chief, Biostatistics and
2005 Jun 23
1
Stop Warnings for Invalid Factor Level, NAs generated?
...tpdata[which(names(labdata) == "ESNm1")] <- ESN-((ilpair-ifpair)+1-k)*2-1 + } + #pdata[nrow(pdata)+1,names(tpdata)] <- NA + pdata[nrow(pdata)+1,names(tpdata)] <- tpdata + } + } There were 50 or more warnings (use warnings() to see the first 50) ...snip mailto:khobson at odot.org Kenneth Ray Hobson, P.E. Oklahoma DOT - QA & IAS Manager 200 N.E. 21st Street Oklahoma City, OK 73105-3204 (405) 522-4985, (405) 522-0552 fax Visit our website at: http://www.okladot.state.ok.us/materials/materials.htm
2005 Apr 29
2
Windows List of Folders?
For windows, how can I list only the folders in some folder? I was thinking that dir() and file.info() with isdir==TRUE being something that might work. These folders or directories are numerically named with no dot extension names or other characters. Typically, these are 3132, 3334, ... Here is what I tried. The last line is where I need more work. pData="C:/Myfiles/R/Data/" setwd
2005 Apr 29
0
Windows list of Folders
Hi Kenneth: I tried: list.files(path="c:\\pctexv4\\samples") and that worked just fine. Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodgess at gator.uhd.edu From: khobson at fd9ns01.okladot.state.ok.us Subject: [R] Windows List of Folders? X-BeenThere: r-help at stat.math.ethz.ch For windows, how can I list only the folders in some folder? I was thinking that dir() and file.info() with isdir==TRUE being something that might work. These folders or directori...
2005 Jun 30
1
how to call egarch of sas in R
I use R to generate data and I need to estimate the data by egarch (that doesn't have in R). So how I can call egarch from SAS in R. Regards, luck
2005 Jul 01
2
the format of the result
I write a function to get the frequency and prop of a variable. freq<-function(x,digits=3) {naa<-is.na(x) nas<-sum(naa) if (any(naa)) x<-x[!naa] n<-length(x) ta<-table(x) prop<-prop.table(ta)*100 res<-rbind(ta,prop) rownames(res)<-c("Freq","Prop") cat("Missing value(s) are",nas,".\n") cat("Valid case(s)
2005 Jun 16
3
Excel files first row not being read
hi, i am using the RODBC package to read excel files using odbcConnectExcel and susequently sqlFetch to read the contents of the file. the file that i use is just a matrix of numbers thats all. no headers and column names. what happens is that the sqlFetch is not reading my first row of numbers. i have tried different combinations of colnames and rownames logical values but that first row is not
2005 Apr 22
2
Hoaglin Outlier Method
I am a new user of R so please bear with me. I have reviewed some R books, FAQs and such but the volume of material is great. I am in the process of porting my current SAS and SVS Script code to Lotus Approach, R and WordPerfect. My question is, can you help me determine the best R method to implement the Hoaglin Outlier Method? It is used in the Appendix A and B of the fo llowing link.
2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
This code opens a CSV file from the working directory set by wd. I copy 2 or more columns in the spreadsheet and then close it. What I need help with is setting the first row as the column names in clipboardTextAsDF. There is probably a simple or better way to do this but I have been away from R for awhile now. I just be over-thinking this. I tried read.DIF to read the clipboard but that