Displaying 20 results from an estimated 6000 matches similar to: "Re ad in multiple datasets"
2010 Dec 29
1
Counting number of datasets and appending them
Hi there,
I have a question on how to read a bunch of dataset, assign each of the dataset to a matrix in the memory, and append them.
Suppose I have 20 dataset saved to different .rda files named gradeFileData1, gradeFileData2,...., gradeFileData20. And I would like to read them each into a dataset in the memory, then combine them. I wrote something like:
e1<-new.env(parent=.GlobalEnv)
2009 Sep 10
3
Order of multiple plots
Hello all,
I have a problem and need your help.
I am going to draw two plots in one row and two columns by using
?par(mfrow=c(1,2))?, but I want to first draw the right plot and then draw
the left plot. Does anybody can show me how to do it please? Thanks in
advance.
Legen
--
View this message in context: http://www.nabble.com/Order-of-multiple-plots-tp25377235p25377235.html
Sent from the R
2009 Jun 23
2
Plot with a vertical line at zero on x axis
Hallo, All,
I cannot add one straight vertical line at 0.0 on x axis using the following
data and R code:
y<-c(0.037790309,0.020307312,0.021109653,0.050216689,
0.026979484,0.027619193,0.024070163,0.021996969,
0.007831769,0.020065109,0.005903177,0.008182403)
d<-data.frame(cbind(y,seq(1:12)))
colnames(d)<-c("y","x")
attach(d)
2009 Nov 10
1
Data transformation
Dear all,
I have a dataset as below:
id code1 code2 p
1 4 8 0.1
1 5 7 0.9
2 1 8 0.4
2 6 2 0.2
2 4 3 0.6
3 5 6 0.7
3 7 5 0.9
I just want to rewrite it as this (vertical to horizontal):
id var1 var2 var3
2006 Sep 13
2
recursive methods for concatenating sets of files
Hello,
I would like to read sets of files within a folder, perhaps using recursive
methods.
Right now, I rename the files before import.
It would be even better to do this without renaming files, without providing
explicit filenames, perhaps by importing files based on chronology,
and translating each filename into a header?
Please excuse my ignorance, and help cure my clunky programming
2010 Apr 30
1
gluster-volgen - syntax for mirroring/distributing across 6 nodes
NOTE: posted this to gluster-devel when I meant to post it to gluster-users
01 | 02 mirrored --|
03 | 04 mirrored --| distributed
05 | 06 mirrored --|
1) Would this command work for that?
glusterfs-volgen --name repstore1 --raid 1 clustr-01:/mnt/data01
clustr-02:/mnt/data01 --raid 1 clustr-03:/mnt/data01
clustr-04:/mnt/data01 --raid 1 clustr-05:/mnt/data01
clustr-06:/mnt/data01
So the
2009 Jun 24
2
change the height or scale of the y axis
Hallo, All,
I have a question about changing the height or scale of the y axis. When I
use following two R codes, I can get two plots. Please look at the y axes,
the number of indices (x1, x2, ?) on the y axis in the first plot is smaller
than that in the second plot, and hence the space between any two indices in
the first plot is wider than that in the second plot. As the number of
indices
2008 Oct 26
2
Two sample Cramer-von Mises test
Hall all,
Where can I find the two sample Cramer-von Mises test in R package?
Thank you.
Legendy
--
View this message in context: http://www.nabble.com/Two-sample-Cramer-von-Mises-test-tp20174229p20174229.html
Sent from the R help mailing list archive at Nabble.com.
2007 May 16
1
WaitExten not responding on key presses
Hi,
I have the problem that WaitExten is not responding to key presses. Here
are the sections from my extensions.conf:
[globals]
incoming_call=0
menu=0
announce=0
[internal]
exten => 777,1,Goto(hotline,${EXTEN},1)
[hotline]
exten => _X.,1,Set(CALLERID(name)=Hotline)
exten => _X.,n,Set(original_extension=${EXTEN})
exten => _X.,n,GotoIf($[${announce}=1]?4:10)
exten =>
2015 May 21
26
[Bug 90567] New: Display freeze when starting League of Legends (Wine)
https://bugs.freedesktop.org/show_bug.cgi?id=90567
Bug ID: 90567
Summary: Display freeze when starting League of Legends (Wine)
Product: xorg
Version: 7.6 (2010.12)
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee:
2010 Jan 05
3
R matching lat/lon pairs from two datasets?
Hello,
I am trying to match lat/lon from one dataset with the lat/lon from a
second dataset and use that rows data for calculations. I am using
match, but this is finding the first match and not comparing the pair,
how can I determine if the lat/lon are the same? See example below. Is
there a better way to determine to a matching pair of lat/lon values?
Example Datasets:
> data2
2008 Mar 12
4
Distances between two datasets of x and y co-ordinates
Hi all
I am trying to determine the distances between two datasets of x and y
points. The number of points in dataset One is very small i.e. perhaps
5-10. The number of points in dataset Two is likely to be very large
i.e. 20,000-30,000. My initial approach was to append the first dataset
to the second and then carry out the calculation:
dists <- as.matrix(dist(gis data from 2 * datasets))
2010 Nov 24
5
Performance tuning tips when working with wide datasets
Does anyone have any performance tuning tips when working with datasets that are extremely wide (e.g. 20,000 columns)?
In particular, I am trying to perform a merge like below:
merged_data <- merge(data1, data2, by.x="date",by.y="date",all=TRUE,sort=TRUE);
This statement takes about 8 hours to execute on a pretty fast machine. The dataset data1 contains daily data going
2008 Dec 09
1
Re sampling with index
Hallo, All,
I have a question needs your help.
I just want get a sample with the original index. For example, I have a
dataset,
ind x
1 39
2 24
3 15
4 75
5 61
After resample, I want to get a new dataset like this (with the original
index)
ind x
3 15
5 61
1 39
Thank you in advance.
Legendy
--
View this message in context:
2010 Jul 29
4
looking for setdiff equivalent on dataset
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100729/2fc86d3d/attachment.pl>
2009 Nov 12
2
redundant factor levels after subsetting a dataset
#I have a data frame with a numeric and a character variable.
x=c(1,2,3,2,0,2,-1,-2,-4)
md=c(rep("Miller",3), rep("Richard",3),rep("Smith",3))
data1=data.frame(x,md)
#I subset this data.frame in a way such that one level of the character
variable does not appear in the new dataset.
data2=data1[x>0,]
data3=subset(data1,x>0)
#However, when I check the levels
2008 Oct 19
2
definition of "dffits"
R-users
E-mail: r-help@r-project.org
Hi! R-users.
I am just wondering what the definition of "dffits" in R language is.
Let me show you an simple example.
function() {
library(MASS)
xx <- c(1,2,3,4,5)
yy <- c(1,3,4,2,4)
data1 <- data.frame(x=xx, y=yy)
lm.out <- lm(y~., data=data1, x=T)
lev1 <- lm.influence(lm.out)$hat
sig1 <-
2008 Mar 03
1
Formating a zoo dataset .
Suppose I have following dataset :
> head(data1)
Date Return
1 03/31/00 0.14230650
2 04/28/00 -0.03276228
3 05/31/00 -0.06527890
4 06/30/00 -0.04999873
5 07/31/00 -0.01447902
6 08/31/00 0.22265729
Now I convert it to zoo object :
> data11 = zoo(data1[,2], as.Date(data1[,1], format="%m/%d/%y"))
> head(data11)
2000-03-31 2000-04-28 2000-05-31
2001 Mar 16
1
combine dataset
Hi,
I have two data sets look like below:
==========================
state count1 percent1
CA 19 0.34
TX 22 0.35
FL 11 0.24
OR 34 0.42
GA 52 0.62
MN 12 0.17
NC 19 0.34
state count2 percent2
FL 22 0.35
MN 22 0.35
CA 11 0.24
TX 52 0.62
==========================
How to combine these two data set and make it look
like below?
2005 Jul 11
1
validation, calibration and Design
Hi R experts,
I am trying to do a prognostic model validation study, using cancer
survival data. There are 2 data sets - 1500 cases used to develop a
nomogram, and another of 800 cases used as an independent validation
cohort. I have validated the nomogram in the original data (easy with
the Design tools), and then want to show that it also has good results
with the independent data using 60