search for: n3t

Displaying 20 results from an estimated 38 matches for "n3t".

Did you mean: n32
2012 Nov 09
5
using lapply with recode
...) 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
...ns. >>> 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 guide http://www.R-project.org/posting...
2010 Oct 19
2
separate elements of a character vector
...rm(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
...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
...('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 is a major obstacle t...
2011 Nov 10
2
Listing tables together from random samples from a generated population?
...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
...data[[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.
...ent 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
...ode, 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 May 28
1
Rcurl, postForm()
...ms[[1]] #These are the input nodes getNodeSet(forms[[1]], ".//input") #These are the select nodes getNodeSet(forms[[1]], ".//select") ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2011 Jul 11
1
grep lines before or after pattern matched?
...an 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
...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
...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
...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) 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?
...icolumn{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 convert to plain text cho...
2010 Sep 21
2
group means of multi-way table?
...ot;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
...s.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
2011 Sep 05
2
htmlParse hangs or crashes
...ages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] XML_3.4-0 RCurl_1.5-0 bitops_1.0-4.1 ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606
2011 Oct 31
1
Help combining cell labelling and multiple mosaic plots
...g_args=list(offset_varnames=c(top=3), offset_labels=c(top=2))) labeling_cells(text=round(prop.table(.test1, 1), 2)*100, clip=FALSE)(.test1) popViewport(2) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada N3T 2C9 Cell: +1 905 746 7606