search for: datafilenames

Displaying 19 results from an estimated 19 matches for "datafilenames".

Did you mean: datafilename
2007 Mar 27
0
Error when calling residual.plots() on an ANOVA object
Dear *, I have to perform an ANOVA analysis to study the effects on the performance of some algorithmic components in the design of my algorithm. I have done a full factorial design for the following 5 factors (my response variable is "best"): $ model :'data.frame': 3360 obs. of 6 variables: ..$ best : num [1:3360] 0.108 0.573 0.625 1.057 0.451 ...
2011 Jan 06
8
Accessing data via url
# Can anyone suggest why this works datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data" person.data <- read.table(datafilename,header=TRUE) # but this does not? dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/trees.txt" treedata <- read.table(dd, header=TRUE)
2011 Mar 23
2
) Error in eval(expr, envir, enclos) : object '' not found
> datafilename="E:/my documents/r/sex/bysex1.csv" > data.sex=read.table(datafilename,header=T) > data.sex y.sex.age.region.c.n 1 1980,F,A,N,-18.15,13.61 2 1980,F,A,N,-18.61,13.04 3 1980,F,A,N,-18.81,12.32 4 1990,F,A,N,-21.12,11.7 5 1990,F,A,N,-20.77,11.58 6 1990,F,A,N,-21.6,13.34 7 1990,F,A,N,-21.78,12.6 > model.anova<-aov(c~age*sex,data=data.sex)
2010 Sep 20
2
interpreting one-way anova tables
Hi, I am trying to reconcile anova table in R (summary(lm)) with individual t.test. datafilename="http://personality-project.org/R/datasets/R.appendix1.data" data.ex1=read.table(datafilename,header=T) #read the data into a table summary(lm(Alertness~Dosage,data=data.ex1)) gives: Call: lm(formula = Alertness ~ Dosage, data = data.ex1) Residuals:    Min     1Q Median     3Q    Max
2012 Jan 15
0
Reading MINE output into a matrix
I've benefited from this list with input on how to build up a symmetrical matrix. The purpose of that query was to work with the output from the MINE routine posted at www.exploredata.net To the extent it helps others, here is the script that I was working on an which turns a given MINE output column (in the case below, the third column corresponding to "MIC") into a matrix.
2010 May 10
1
how to get p-value from ave
Hi there, I checked google for aov. usually one uses summary to see whether the p-value is small. but I want to put aov in my script. how can I get the p-value, (0.1115, 0.6665, 0.6665 in the following example)? thanks YU > datafilename="http://personality-project.org/r/datasets/R.appendix2.data" > data.example2=read.table(datafilename,header=T) > aov.ex2 =
2006 Dec 08
2
any way to make the code more efficient ?
...down significiantly and I think I remember reading somewhere that doing an rbind of something to itself is not a good idea. Thanks. #======================================================================= =============================================== start<-1 for (filecounter in (1:length(datafilenames))) { print(paste("File Counter = ", filecounter)) datafile= paste(datadir,"/",datafilenames[filecounter],sep="") aggfxdata<-clnaggcompcurrencyfile(fxfile=datafile,aggminutes=aggminutes, fillholes=1) logbidask<-log(aggfxdata[,"bidask"]) aggfxdata<-...
2012 Jun 10
1
compute Mcdonald's omega ω
Dear all I am a newbie to R and I would appreciate it very much if someone can give me some advice on this. Please note that I am not a programmer so some of the questions might sound really stupid. I would like to compute McDonald's omega calculation using R, I'm aware I can use the omega function in the psych package. But I'm really not sure how to do it. I have read these two
2009 Nov 08
2
Simple 2-Way Anova issue in R
Hello, I'm new to R and have been following many guides including the two-way anova (http://www.personality-project.org/r/r.anova.html). Using that walkthrough including the supplied data I do str(data.ex2) and receive the appropriate types of data as follows: > str(data.ex2) 'data.frame': 16 obs. of 4 variables: $ Observation: int 1 2 3 4 5 6 7 8 9 10 ... $ Gender :
2004 Jun 17
2
Question on lists and vectors of lists
I have an elementary programming question. Could someone please point me in the right direction? I have a function which will run for thousands of companies. At each invocation, it returns 2 numbers. I plan to do something like: think_one_firm <- function(filename) { # Do stuff return(list(x=x,y=y)) } So for each of the firms in my dataset, I will call
2010 Jan 06
2
problem with strptime and 2010 dates
Hi, I'm reading data from a text file and transforming it in R and my date column seems to be getting corrupted. Can someone point out what's wrong? This code worked fine until I added a new date in 2010. thank you. To load the data I run: work_table = read.table(datafilename,header=TRUE) #read the data file attach(work_table)
2001 Oct 23
1
HOMM3 and DirectPlay
Using a recent build of wine (20011023 and previous) I've gotten heroes of might and magic 3 working, minus networking :/ After doing a full install in WINE (with fake windows), attempting to run the game came up with the 'unable to initialize resources - possible disk problem'. Examination of the output of wine --debugmsg +relay,+text,+string Heroes3.exe indicates that the game is
2006 Jul 28
2
negative binomial lmer
To whom it may concern: I have a question about how to appropriately conduct an lmer analysis for negative binomially distributed data. I am using R 2.2.1 on a windows machine. I am trying to conduct an analysis using lmer (for non-normally distributed data and both random and fixed effects) for negative binomially distributed data. To do this, I have been using maximum likelihood,
2024 Mar 22
1
Error message
Hi all, I am creating an X1.RData file using the R 4.2.2 library. x1.R save(datafilename, file="X1.RData") When I am trying to load this file using another script X2.R load("X1.RData") I am getting this error message: Error in load("X1.RData", : bad restore file magic number (file may be corrupted) .. no data loaded. I am using the same R library (R
2024 Mar 22
1
Error message
Here is the first few bytes, xxd -l 128 X1.RData 00000000: 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5......N.\W/.. 00000010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?. 00000020: 66ce 0ebb 2057 ec36 55b4 0ece a036 695a f... W.6U....6iZ 00000030: 258b 3493 b661 f620 f7fe ada7 158a 15f7 %.4..a. ........ 00000040: e016 a548 6fcb 20c8 6fb4 493d adc9 ea4a ...Ho. .o.I=...J 00000050:
2006 Oct 18
0
(no subject)
I currently have an instance of R running on Solaris 8 Version 2.2.0 (2005-10-06 r35749) Package: its Version: 1.0.9 Package: Hmisc Version: 3.0-1 I decided to build a new install on Linux RedHat As4.0 32 Bit running R version 2.4.0 (2006-10-03) Package: its Version: 1.1.4 Package: Hmisc Version: 3.1-1 Package: chron Version: 2.3-8 I am using the library(its) on both machines and
2010 Aug 06
2
How to read a file inside a function?
Hi I wish to read a file from my local directory from inside a function. I am passing the filename as the argument but this does not work. Say for example function(dat) { dat1=read.csv("D:\\dat.csv",header=TRUE) } If I call funtion(dat) I get the following error. 'Intuitively' i understand this is a mistake but how do I overcome this and how can I read a file name passed as an
2006 Oct 18
0
R issue with quantile using its package
Frank, Thanks for the reply so what I did in the interim was unistalled Hmisc and chron and used version 3.0-2 of Hmisc which doesn't have the dependency on chron, and reinstalled its version 1.1.4 However I still heave the issue, when I try to run the quantile command on the given dataset. Thanks, ~Lloyd Gilroy, Lloyd (GTI) wrote: > I currently have an instance of R running on
2004 Jan 25
1
Samba] Samba3 Printer drivers installation
> [Samba] Samba3 Printer drivers installation > Andrei Mikhailovsky andrei at arhont.com > Tue Jan 20 11:52:41 GMT 2004 > > > Hello, > > I am having problems installing printer drivers for Samsung ML-4500 > printer, so windows workstation can just fetch them from print$ share. > When I run rpcclient with -d 4 i get the following error: > >