Displaying 20 results from an estimated 2723 matches for "ontario".
2007 Nov 27
2
str() options
Hello,
Is there a way to have str() and ls.str() return all factor levels?
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
....9-5 tools_2.7.2
sysname release version
machine
"Windows" "XP" "build 2600, Service Pack 2"
"x86"
# system info:
###
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ontario.ca/ofri
2008 Jun 19
3
YAPMQ - Yet Another PlotMath Question
...membering) how to pass values into text
functions in plots, as demonstrated by:
slope <- 45 ; plot(1:10) ; text(2, 7, labels = expression(45~degree)) ;
text(2, 5, labels = paste(bquote(.(slope)), expression(degree)))
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ontario.ca/ofri
2008 Apr 09
3
Changing default plot behaviour
...labels only on two
(arbitrary?) sides) without needing the five additional commands each
time?
plot(1:10, axes=FALSE)
axis(1, tcl=0.5)
axis(2, tcl=0.5)
axis(3, tcl=0.5, labels=FALSE)
axis(4, tcl=0.5, labels=FALSE)
box()
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2008 May 26
1
SciViews and Tinn-R installation problem
...reshape_0.8.0 car_1.2-8
[8] svSocket_0.8-9 svIO_0.8-9 R2HTML_1.58
svMisc_0.8-9 svIDE_0.8-9
loaded via a namespace (and not attached):
[1] lattice_0.17-8 svGUI_0.8-9 svViews_0.8-9
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ontario.ca/ofri
2009 Feb 12
3
getting all pairwise combinations of elements in a character string
...):length(mystring)],sep="")))
a1 a2 a3 a4 b1 b2 b3 c1 c2 d
"ab" "ac" "ad" "ae" "bc" "bd" "be" "cd" "ce" "de"
>
--
Levi Waldron
post-doctoral fellow
Jurisica Lab, Ontario Cancer Institute
Division of Signaling Biology
IBM Life Sciences Discovery Centre
TMDT 9-304D
101 College Street
Toronto, Ontario M5G 1L7
2008 Dec 09
2
assign()ing within apply
..."or"
"mh" "sm" "be" "be" "be" "or" "or"
, I just can't remember how to get them back into the original dataframe
objects. Suggestions?
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ontario.ca/ofri
2007 Nov 20
1
Process multiple columns of data.frame
...Bout$ht.n), 'ht.n'] <- 0
Bout[is.na(Bout$dbh.n), 'dbh.n'] <- 0
Would the form of such a command be different
between numeric, character and factor columns?
. . . between data.frames and matrices?
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2007 Aug 09
1
705 DIDs for Collingwood Ontario?
Hi,
Does anyone provide 705441XXX, 705444XXX or 705446XXX DIDs? This is for
Collingwood area in Ontario.
Thanks
--
Zeeshan A Zakaria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070809/d3f02efa/attachment.htm
2008 Feb 12
3
Reorder data frame columns by negating list of names
...ke:
> xxx[,c( c('b', 'd', 'h'), -c('b', 'd', 'h') )]
Error in -c("b", "d", "h") : invalid argument to unary operator
Suggestions? and Thank you, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2006 Apr 16
5
Newbie Problems with pluralization
...class TaxGroupTest < Test::Unit::TestCase
fixtures :taxes, :tax_groups, :taxes_tax_groups
# Replace this with your real tests.
def setup
@taxgroup = TaxGroup.find(1)
end
# Replace this with your real tests.
def test_create
assert_equal 1, @taxgroup.id
assert_equal "Ontario", @taxgroup.name
assert_equal "Ontario w/ pst", @taxgroup.description
assert_equal "GST", @taxgroup.taxes[1].name
end
end
in which i get the following error:
1) Error:
test_create(TaxGroupTest):
ActiveRecord::StatementInvalid: Mysql::Error: #42S02Table
'&...
2009 Aug 27
2
setting par(srt) according to plot aspect ratio
...unction(x) 2*x
(f_angle <- atan(1)*180/pi)
(g_angle <- atan(2)*180/pi)
xpos <- 0.2
plot(f)
plot(g,add=TRUE)
par(srt=f_angle)
text(xpos,f(xpos),label="y=x",pos=3)
par(srt=g_angle)
text(xpos,g(xpos),label="y=2x",pos=3)
--
Levi Waldron
post-doctoral fellow
Jurisica Lab, Ontario Cancer Institute
Division of Signaling Biology
TMDT 9-304D
101 College Street
Toronto, Ontario M5G 1L7
(416)581-7453
[[alternative HTML version deleted]]
2008 May 06
2
list manipulation
...ht spr stat dam
bn1999 654 7 oplt tree bd ht dbh stat dam
bn2003 1407 9 oplt tree bd94 ht94 ht99 ht02 ht03 stat dam
[[1]]
NULL
[[2]]
NULL
[[3]]
NULL
[[4]]
NULL
[[5]]
NULL
[[6]]
NULL
[[7]]
NULL
[[8]]
NULL
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2005 Dec 17
17
problems with quotes and escaping
...seems all these quotes could get
out of hand really fast.
Also, I would like to suggest, if feasible, that you make the wiki
downloadable for offline viewing,
especially since it seems to disappear or slow to a halt every now and then.
Thanks
--
============================
Brian Peiris
Brampton, Ontario, Canada
brianpeiris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or brianpeiris-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
============================
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists...
2007 Jul 09
2
parsing strings
...r letters and digits
and then break the string where letters are followed by digits, however
I am a bit clueless about how I could use, e.g., the 'charmatch' or
'parse' commands to achieve this.
Thanks a lot in advance for your help.
Best, Michael
Michael Drescher
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
1235 Queen St East
Sault Ste Marie, ON, P6A 2E3
Tel: (705) 946-7406
Fax: (705) 946-2030
[[alternative HTML version deleted]]
2008 Jan 17
2
Converting plots to ggplot2
...release
"Windows" "NT 5.1"
version machine
"(build 2600) Service Pack 2" "x86"
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ofri.mnr.gov.on.ca
2011 Jun 27
0
OpenBUGS and glmmBUGS package
...the glmmBUGS package with OpenBUGS under Linux.
Here is a short list of code I modified from the diseasemapping
package document:
----------------------------------------
library(diseasemapping)
data(popdata)
data(casedata)
model = getRates(casedata, popdata, ~age*sex, breaks=seq(0, 90, by=10) )
ontario = getSMR(popdata,model, casedata)
spplot(ontario, 'SMR')
library(spdep)
popDataAdjMat = poly2nb(ontario, ontario[["CSDUID"]])
library(glmmBUGS)
forBugs = glmmBUGS(formula=observed + logExpected ~ 1,
effects="CSDUID", family="poisson", spatial=popDataAdjMat...
2005 Feb 01
1
Is Bell HDSL in Ontario good solution for VOIP?
Hi,
Have you tried it?
Any comments would be greatly appreciated.
I can have it at C$200, is that a good price?
Thanks a lot.
robert
2007 Jul 12
3
(no subject)
...in 1:nrow(auto.data.i)) { ### this obviously does not work
since 'Error in nrow(auto.data.i) : object "auto.data.i" not found'
+ for(k in 1:ncol(auto.data.i)) {
+ auto.data.i[j,k] <- 'some value'
+ }}}
Thanks a bunch for all your help.
Best, Michael
Michael Drescher
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
1235 Queen St East
Sault Ste Marie, ON, P6A 2E3
Tel: (705) 946-7406
Fax: (705) 946-2030
2008 Jun 04
1
ggplot questions
...plt in the
views below and each rplt in expanded views.
All locations (rplt centers, tree positions) are recorded as azimuth and
distance from their respective plot centers, hence my inclination to use
polar coordinates.
Thanx, DaveT.
*************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson at ontario.ca
http://ontario.ca/ofri