search for: brantford

Displaying 20 results from an estimated 39 matches for "brantford".

2012 May 28
1
Rcurl, postForm()
Dear colleagues, Could I get some assistance using postForm() to scrape the business names and addresses at this website: http://www.brantford.ca/business/LocalBusinessCommunity/Pages/BusinessDirectorySearch.aspx I've read through (http://www.omegahat.org/RCurl/RCurlJSS.pdf) and scoured the web for tutorials, but I can't crack it. I'm aware that this is probably a pretty basic question, but I need some help regardless. Yours...
2003 Aug 11
6
Slow Windows XP shared browsing.
...rowse the shared folder. They just don't give it enough time to get connected. Anyone got an answer for this. I've tried updating to the latest version of samba but that didn't fix the problem. Thanks for any help. Matthew Scarrow ComIT Solutions Inc. www.comit.ca Paris: 519-442-0100 Brantford: 519-750-0933
2012 Nov 09
5
using lapply with recode
...5), rep('AB', 5)))) str(mylist) ###My current code lapply(mylist, function(x) { recode(x$prov, "'QUE'='QC' ; 'Quebec'='QC'") } ) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9
2010 Oct 10
1
Create single vector after looping through multiple data frames with GREP
...;> I'm grateful for any suggestions. >>> Yours, Simon Kiss >>> >>> >>> >>> ********************************* >>> Simon J. Kiss, PhD >>> Assistant Professor, Wilfrid Laurier University >>> 73 George Street >>> Brantford, Ontario, Canada >>> N3T 2C9 >>> Cell: +1 519 761 7606 >>> >>> ______________________________________________ >>> R-help at r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guid...
2010 Oct 19
2
separate elements of a character vector
...rs, Simon Kiss x1<-rnorm(500) plot(x1) test<-seq(1987, 2002, by=1) test_2<-seq(2003, 2006, by=1) test<-format(c(test, test_2), width=5) mtext(test, side=1, line=2) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2011 Jul 28
2
cycling from x11 window in RCommander to graphics device window: Mac Os 10.6.8
...t. I've looked through the help documentation and tried reinstalling tcltk prior to opening up Rcommander, but that does not address the problem. Any thoughts? Yours, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2012 Aug 20
2
Changing line length in Sweave output works for numeric, but not for character vectors
...erbatim>>= test<-c('The government should do more to advance societys goals, even if that means limiting the freedom and choices of individuals.') @ \end{document} ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606 Please avoid sending me Word, PowerPoint or Excel attachments. Sending these documents puts pressure on them to use Microsoft software and helps to deny them any other choice. In effect, you become a buttress of the Microsoft monopoly. This pressure...
2011 Nov 10
2
Listing tables together from random samples from a generated population?
...are Value', main="Chi-Squared Values From 100 different samples asking\nabout gender and tea/coffee drinking") abline(v=3.84, lty=2) Thank you in advance, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2011 Jan 18
2
Counting dates in arbitrary ranges
...t_1<-hist(as.numeric(mydata[[1]], breaks=c("14056", "14421")))$counts cut(mydata[[1]], breaks=c(as.Date("2008-06-26"), ("2009=06-26"))) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2011 Jan 17
1
Importing multiple text files with lapply.
...= "\n") : element 1 is empty; the part of the args list of 'is.character' being evaluated was: (file) Does anyone have any suggestions? Yours, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2012 Apr 16
1
grep and XML
...p') So, I can get the node, properly but then, if I try soething like this: grep(c('USD'), txt) I get: integer(0) Can anyone suggest a way forward? Yours, Simon KIss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2012 Dec 18
2
Changing Variable Names In VCD
...? Or is there a way to do it simply within mosaic. I was thinking something like: mosaic(~var1+var2, labelling_args=list(varnames=c('newvar1', 'newvar2')) Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada
2011 Jul 11
1
grep lines before or after pattern matched?
...ment to grep in unix that can do this ...grep -A4 'pattern' infile>outfile, but I don't know if there is an equivalent argument in R. Any thoughts. Yours, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2011 Jan 25
1
subsetting based on joint values of critera
..... $ ban : num 0 0 0 0 0 0 0 0 0 0 ... $ partisan: Factor w/ 3 levels "democrat","mixed",..: 1 1 1 1 1 1 1 2 3 2 ... $ news : num 1.67 2 0 0 2.38 ... ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2011 Mar 31
1
error in recode.defalt ....object '.data' not found
..., "1=4; 2=3; 3=2; 4=1; 8=NA; -9=NA") *ERROR Error in recode.default(social$nonwhites, "1=4; 2=3; 3=2; 4=1; 8=NA; -9=NA") : object '.data' not found ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2011 Jul 23
2
sum part of a vector
...x) sum(1:x)) } I can sort of get the same sapply function to do what I want when working on a test string test<-1:10 sapply(test, function(x) sum(1:x)) Any thoughts? Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2011 Apr 22
1
indexing list elements with lapply?
...1-ff) hh<-runif(10, 0.86, 1) hh<-cbind(hh, 1-hh) ii<-runif(10, 0.92, 1) ii<-cbind(ii, 1-ii) jj<-runif(10,0.76, 1) jj<-cbind(jj, 1-jj) r<-list(ff, gg, hh,ii, jj) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2013 Mar 15
2
latex(test, collabel=) returns wrong latex code?
...olumn{1}{vote}{A}&\multicolumn{1}{l}{B}\tabularnewline \hline A&$50$&$50$\tabularnewline B&$50$&$50$\tabularnewline \hline \end{tabular} \end{center} \end{table} ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606 Please avoid sending me Word, PowerPoint or Excel attachments. Sending these documents puts pressure on many people to use Microsoft software and helps to deny them any other choice. In effect, you become a buttress of the Microsoft monopoly. To conv...
2010 Sep 21
2
group means of multi-way table?
...ot;, "Green", "Liberal", "Conservative"), size=300, replace=TRUE)) mydata$z=as.numeric(sample(1:4, size=300, replace=TRUE)) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 223 Grand River Hall, 171 Colborne Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606
2010 Oct 06
2
Converting scraped data
...o tried this: as.numeric(as.character(test[16,c(2:5)] and that also changed the values from what they originally were. I'm grateful for any suggestions. Yours, Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 519 761 7606