# download.file() Seems to put the xlsx file onto hard drive.
>download.file("http://www.udel.edu/johnmack/data_library/zipcode_centroids.xlsx";,
> "zipcode_centroids.xlsx")
trying URL 'http://www.udel.edu/johnmack/data_library/zipcode_centroids.xlsx'
Content type
'application/vnd.openxmlformats
class int seems to interact oddly with fix() and dotchart().
Reading a .csv file when there are no decimal points
in an item, results in a data.frame having a column
of class int. The mode, however, is numeric.
fix() does not recognize int "vectors",
and thus does not spread its sheet.
dotcha
Greetings,
The aov() function may mislabel
the random effects as in the example below:
Has anybody else noticed this?
Cordially,
Giles Crane, MPH, ASA, NJPHA
gilescr...@verizon.net
> m2
Call:
aov(formula = y ~ ap + pe + Error(ju), data = d)
Grand Mean: 77.50667
Stratum 1: ju
Te
umbers 1 to 1
However, grouping the statement with curly brackets
also gives the correct system time.
system.time( { x=1:1} ) # times the statement correctly
Having fun with R,
Giles Crane
__
R-help@r-project.org mailing list
https://stat.ethz.
) #prints a permutation of 1 to 8
for(i in 1:5) #does not
sample(1:8,8)
Cordially,
Giles Crane
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
top level environment.
However, I would like to load the data into the function environment,
so that the data goes away when the function terminates.
Cordially,
Giles Crane
--
View this message in context:
http://r.789695.n4.nabble.com/Loading-Rdata-within-an-R-function-tp2282751p2283051.html
Sen
mydata.Rdata.
}
I wish to load mydata.Rdata only within the function f1.
Perhaps I have misunderstood the capabilities of load(),
or the environment concepts.
Thank you for any help you may give.
Cordially,
Giles Crane
--
View this message in context:
http://r.789695.n4.nabble.com/Loading-Rdat
To whom it may concern:
I compared several R package results,
and manual checked two generalized chain block
design experiments. The correct adjusted
treatment means can be computed
by using the effects library as follows:
library(effects)
aov1 = aov(y~blocks+rows+trt)
means.aov = a
G1, file = "DIAG1.Rdata")
I am now testing this approach.
Cordially,
Giles
Giles Crane, M.Phil., MPH
Research Scientist & Statistician
Tel 609 292-8012, -5666
Fax 609 292-9288
[EMAIL PROTECTED]
__
This does not really answer your question but the following
lets yo
f renaming
variables (columns) in dataframes, but I have
found no methods for renaming objects.
The functionassign() does not do this.
Thank you for any help you can give.
Cordially
Giles Crane, M.Phil., MPH
Research Scientist & Statistician
New Jersey Department of Health & Senior Serv
Is there a function to form in one step (configure files and install)
a simple R package of consisting of one script file of R functions?
For example in Windows:
form.package(name="mypkg", rcodefile ="c:\misc\mypkg.r" )
Thank you for any comments.
Giles
Giles Crane, M
11 matches
Mail list logo