Displaying 20 results from an estimated 26 matches for "datset".
Did you mean:
dataset
2008 Sep 07
2
restructuring datset problem
Hi,
I've got a question regarding the restructering of a data set. What I have are municipality zip-codes and the names of 5'000 built-up areas within municipalities. The following example shows, what I would like to do:
Input (Zip-Codes and Names):
# CODE NAME
#1 3 aaa
#2 3 aab
#3 3 aac
#4 4 bba
#5 4 bbb
#6 4
2015 May 29
3
Mi script R es muy lento
...<- data.frame(ListaABP);
#+++++++++++++++++++++++++++++++++++++++++++++++++
Este código tardaba 3 horas en ejecutarse. La solución que me han propuesto
es usar data.table en lugar de data.frame y ahora tarda 1 segundo
aproximadamente en ejecutarse y es este:
#-------------
library(data.table)
datSet <- fread("Set-A.csv")
resOut <- datSet[, .(ValMax=max(Value), ValMin=min(Value),
ValAvg=mean(Value)), by=c("RecordID","Parameter")]
resOut$RecordID <- as.factor(resOut$RecordID)
setkey(resOut, RecordID)
head(datSet)
datOutcome <- fread("Outcomes-A.csv&...
1999 Aug 24
1
package mlbench updated
Hi,
Evgenia and I have copied an updated version of the mlbench package to
CRAN which contains several new data sets. We have also changed some
of the variable names to avoid name conflicts.
Best,
--
-------------------------------------------------------------------
Friedrich Leisch
Institut f?r Statistik Tel: (+43 1) 58801 10715
Technische
1999 Aug 24
1
package mlbench updated
Hi,
Evgenia and I have copied an updated version of the mlbench package to
CRAN which contains several new data sets. We have also changed some
of the variable names to avoid name conflicts.
Best,
--
-------------------------------------------------------------------
Friedrich Leisch
Institut f?r Statistik Tel: (+43 1) 58801 10715
Technische
2003 Dec 09
1
R Interface handholding
...ULL);
}
R is happy to install this for me, but after doing a library(myincr),
the function doesn't seem to be available, so I presume I'm missing
something. Does R normally call, at library load, R_init_$MODULENAME() ?
My other question is.. our software produces data structures (we call datsets)
which resemble limited database tables, and I'd like some advice on exposing
them to R -- columns, in our scheme, either hold doubles or strings,
the columns have names, and we need the ability to export these into
appropriate R structures as well as populate them from R. I notice that
the R...
2015 Jun 01
2
Mi script R es muy lento
...>>
>> Este código tardaba 3 horas en ejecutarse. La solución que me han
>> propuesto
>> es usar data.table en lugar de data.frame y ahora tarda 1 segundo
>> aproximadamente en ejecutarse y es este:
>>
>> #-------------
>> library(data.table)
>> datSet <- fread("Set-A.csv")
>> resOut <- datSet[, .(ValMax=max(Value), ValMin=min(Value),
>> ValAvg=mean(Value)), by=c("RecordID","Parameter")]
>> resOut$RecordID <- as.factor(resOut$RecordID)
>> setkey(resOut, RecordID)
>> head(datSet)...
2007 Feb 25
3
Macros in R
...I don't know how to define macros in R. The problem at
hand is the following: I want R to go through a list of 1:54 and create the
matrices input1, input2, input3 up to input54. I have tried the following:
for ( i in 1:54) {
input[i] = matrix(nrow = 1, ncol = 107)
input[i][1,]=datset$variable
}
However, R never creates the required matrices. I have also tried to type
input'i' and input$i, none of which worked. I would be very grateful for
help as this is a basic question the answer of which is paramount to any
further usage of the software.
Thank you very much...
2013 Nov 21
1
how can I import a number of datsets in a folder in my working directory to a list in R
Hi,
Suppose, if I create 15 files in my working directory.
set.seed(48)
lapply(1:15,function(i) {m1 <- matrix(sample(1:20,1686*2,replace=TRUE),nrow=1686,ncol=2); write.table(m1,paste0("file_",i,".txt"),row.names=FALSE,quote=FALSE)})
?D <-dir()
D1 <- D[order(as.numeric(gsub("\\D+","",D)))]
D1
?res <- t(sapply(D1,function(x) {x1<-
2009 Jun 26
3
code that will use two data sets which differ in size.
Hi all,
This is a really basic question but I can't figure it out.
I am trying to write a piece of code that will use two datasets, z and m..
This code is meant to assign the mean of selected values in dataset m to a new column z$c in datset z but the rows and columns of the two data sets differ.
I managed to write this down but think I am missing something standard but basic,I will really appreciate if someone could point out where I' am going wrong or help me out with a piece of code for this.Google did not help me even and the...
2014 Nov 14
3
Cómo aplicar weights a las observaciones en un GLM binomial
...roblema. Si realizo un GLM con
ausencia/presencia como variable dependiente no siendo ésta proporcional
entre 1 y 0 debo ponderar las observaciones, lo cuál creo que se realiza
añadiendo el vector "weights" a la función, quedando asi:
modelo <- glm(v_dependiente ~ v1 + v2 + v3, data = datset, weights="x",
family = binomial (link=logit)
Mi duda es cómo calcular el factor de ponderación de las presencias y las
ausencias para crear el vector que pueda introducir en la función weights.
Muchas gracias! Un saludo
*-------------*
*Isabel García Barón*
[[alternative HTML version...
2010 Feb 05
1
maximum elements in an ff object?
Hello all,
I hate to add to the daily queries regarding R's handling of large
datsets ;), but...
I read in an online powerpoint about the ff package something about
the "length of an ff object" needing to be smaller than
.Machine$integer.max. Does anyone know if this means that the # of
elements in an ff object must be < .Machine$integer.max [i.e., that ff
provides no...
2007 Jun 14
0
nlsList problems: control option does not effect output and strange environment search
...s
derror)
return(Y)}))
params contains different parameters for 200 persons in 4 groups. Next I
sample for each person five observations one at the start, one at the
end and three randomly in between. Now I get the following error
messages:
testnlslist2<-nlsList(SSfpl,groupedData(Y~Time|group, datset))
Error in nls(y ~ cbind(1, 1/(1 + exp((xmid - x)/exp(lscal)))), data =
xy, :
step factor 0.000488281 reduced below 'minFactor' of 0.000976562
Error in nls(formula = formula, data = data, control = control) :
singular gradient
For the first error it could be that this is...
2006 May 15
2
How-Understand-Kmeans-Cluster!!
...] 27 22 26 29 27 7 5 13 23 26 21 3 38 5 8 28 8 22 5 33 24 18 21
32 13
>
I already have pre-process of the data i.e *Exam AAW326* is assigned to the
*slot-29 *which is the dataset
DDset. By using Kmeans-Clustering i am grouping the dataset accordingly. How
can i do the clustering
from the datset (DDset)? How can i understand the *similarities and
dis-similarities*? Will Kmeans-Clustering
helps on this problem? Where can i get *more tutorials* on
kmeans-clustering?
Thanks for reading this email.
Thanks in Advance
JJ
---
--
Lecturer J. Joshua Thomas
KDU College Penang Campus...
2011 Nov 18
1
couting events by subject with "black out" windows
I large datset that includes subjects(ID), Dates and events that need to be counted. Not every date includes an event, and I need to only count one event per 30days, per subject. So in essence, I need to create a 30-day "black out" period during which time an event cannot be "counted" for ea...
2006 Nov 16
3
Newbie problem ... Forest plot
Hello!
I have some data stored into 2 separate csv file. 1 file (called A.csv) (12 results named Group1, Group2, Group3, etc...) odds ratios, 2 file (called B.csv) 12 corresponded errors.
How to import that data into R and make forest plot like I saw inside help file Rmeta and meta with included different font colors and names trough X and Y axis.
I know for meta libb
...
out <-
2016 Aug 18
0
have a look over package "imputeTestbench"
...://www.researchgate.net/publication/305767990_R_package_%27imputeTestbench%27_as_a_Testbench_to_compare_missing_value_imputation_methods
The current version is talking about univariate dataset imputation. Very
next version will allow user to operate it on any type of dataset including
multivariate datset.
For more detail contact me at:
http://www.neerajbokde.com/?
--
Regards ,
*Neeraj Dhanraj Bokde *
*M.E. Embedded System*
*Birla Institute of Technology & Science,* Pilani
Pilani Campus , Rajasthan, India
Phone: *+91 9028415974*
Email: h2012105 at pilani.bits-pilani.ac.in; *neerajdhanraj...
2016 Aug 18
0
have a look over package "imputeTestbench"
...://www.researchgate.net/publication/305767990_R_package_%27imputeTestbench%27_as_a_Testbench_to_compare_missing_value_imputation_methods
The current version is talking about univariate dataset imputation. Very
next version will allow user to operate it on any type of dataset including
multivariate datset.
For more detail contact me at:
http://www.neerajbokde.com/?
--
Regards ,
*Neeraj Dhanraj Bokde *
*M.E. Embedded System*
*Birla Institute of Technology & Science,* Pilani
Pilani Campus , Rajasthan, India
Phone: *+91 9028415974*
Email: h2012105 at pilani.bits-pilani.ac.in; *neerajdhanraj...
2009 Dec 03
2
Dataframe help
Hi there
I have two dataframes
Dataframe_1
column_1 colum_2
121 12345
145 1675
167 2765
Dataframe_2
column_1 column2
121 abc
345 lmn
167 efg
I want a resulting dataframe
121 12345 abc
167 2765 efg
how do i go abt it
Ramya
--
View this message in context: http://n4.nabble.com/Dataframe-help-tp947934p947934.html
Sent from the R
2007 Jun 14
2
function with xyplot
Hi,
I'm a new user trying to switch from SAS, so sorry for the beginner's
question: Suppose I have a dataframe DF that contains variables X,Y,Z. I am
trying to write a function like this:
myplot <- function(varname){xyplot(varname ~ Y, group = Z, data = DF)}.
The problem is then how to enter X into my function. If I write myplot("X")
I get an error because the argument is a
2012 Nov 15
0
R KNN Regression Help
...rce data mining at the moment
and I have to do some simple R experiments; however, I have very little
experience with R.. And I am hoping one of you can please help me out:)I
need need to run a regression task that uses the KNN algorithm with k = 5
and cross validation = 10 on the computer hardware datset from the uci repo
and report the RMSE. All other parameters should be set to their default
values (if possible). I am hoping one of you experts can please help me out
with the
code?http://archive.ics.uci.edu/ml/datasets/Computer+Hardwarethanks,Bonjovi
--
View this message in context: http://r.78...