Displaying 3 results from an estimated 3 matches for "ichr".
Did you mean:
chr
2008 Mar 17
0
Accessing vector elements by a factor (PR#10971)
Full_Name: Dennis Walvoort
Version: 2.6.2
OS: MS Windows XP
Submission from: (NULL) (137.224.252.10)
I've encountered a problem when extracting vector elements by a factor.
Let's create a (named) character vector v:
i <- 1:10
v <- letters[i]
names(v) <- i
Let iInt, iChr, and iFac denote integer, character, and factor indices
respectively:
iInt <- i
iChr <- as.character(i)
iFac <- factor(iChr)
Now, consider the following tests:
all.equal(v, v[iInt]) # TRUE
all.equal(v, v[iChr]) # TRUE
all.equal(v, v[iFac]) # FALSE
all.equal(v, v[as.character(iFac)]) # T...
2007 Aug 17
2
for plots
...m(y ~ s(x,6) + z,data=gam.data)
plot(gam.object,se=TRUE)"
Thank you.
Brad.
Dr. Guicheng (Brad) Zhang
Senior Research Officer
School of Paediatrics and Child Health
Telethon Institute for Child Health Research
100 Roberts Road, Subiaco
Western Australia, 6008 AUSTRALIA
Email: Bradz@ichr.uwa.edu.au
Phone: 93407896
Fax: 93882097
[[alternative HTML version deleted]]
2009 Dec 14
1
RPART - printing full splitting rule number on tree plot
...+ Start2, data=temp)
plot(fit1)
text(fit1, use.n=TRUE, digits=5)
Thanks
Dr Rebecca O'Leary, PhD
Biostatistician
Senior Research Officer
UWA Centre for Child Health Research
Telethon Institute for Child Health Research, 100 Roberts Rd, Subiaco
Perth WA 6008 Australia
Email: roleary@ichr.uwa.edu.au
Tel: +61-8-9489 7745
Fax: +61-8-9489 7700
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by MailMarshal
###################################################################...