Displaying 20 results from an estimated 300 matches similar to: "Data manipulation"
2009 Mar 10
3
mean +/- SEM
Hi all,
I am looking for a R function which unables me to plot mean +/- SEM. Is there such a function in R?
Many thanks,
Stefo
[[alternative HTML version deleted]]
2008 Oct 13
2
SAS Data
Hello everybody,
I would like to read a SAS Data data1.sas7bdat in R! Is this possible?
Thank you a lot in advance ;),
Stefo
2009 May 15
2
error writing to connection
Hello,
I am using: save(data,file="D:/mayData.RData"), and I have the following error:
Error in save(data, file = "D:/mayData.RData") : error writing to connection
Thank you very much in advance,
Stefo
[[alternative HTML version deleted]]
2007 Oct 10
1
disperse variable
Hello all,
I read the following variable
> x
x
1 1_A1_ML1_a.DLL
2 11_B1_ML2_a.DLL
3 4_A1_ML3_a.DLL
4 55_C1_ML4_a.DLL
5 14_C1_ML5_a.DLL
I would like to disperse it in three variable such as
> x1
[1] 1 11 4 55 14
> x2
[1] "A1" "B1" "A1" "C1" "C1"
> x3
[1] "ML1" "ML2" "ML3"
2005 Dec 13
3
Ices0 and ShoutCast (and KiSS)
I have successfully set up a system with Ices0.4 and IceCast2.20 (and
Tunez). It plays well using mpg123 or WinAmp.
But I would like to use also my KiSS DVD player for the stream, and I have
not been able to do so - It appearently needs 110% SHOUTcast
compatibility.
So I tried the IceCast2.3.1 - but it still didn't like the KiSS (or the
other way around). In stead, I have added a SHOUTcast
2004 Jul 16
3
Email eller vedhæftet fil blokeret
Email eller vedhæftet fil afsendt fra din adresse (eller med din adresse som afsender) er blevet afvist fra Allerød Kommune.
Spam og virus bliver typisk sendt under dække af andre afsendere og den blokerede email behøver derfor ikke oprinde direkte fra dig. (Husk dog altid at have et opdateret antivirusprogram på din computer.)
Du kan evt. scanne din computer med det gratis' værktøj
2006 Jan 30
5
Help with R: functions
Hello R-users
I am new to R and trying to write some functions. I have problems writing functions that takes a data set as an arguement and uses variables in the data. I illustrate my problem with a small example below:
sample data #------------------
visual24<-rnorm(30,3,5)
visual52<-rt(30,7)
dats<- data.frame(cbind(visual24,visual52))
remove(visual24, visual52)
2011 Nov 23
2
Is there an easier way to iterate over multiple data frames in R?
> for (d in paste('df', 1:3, sep='')) {
+ assign(d, as.data.frame(replicate(3, rnorm(4))))
+ }
> dats = list(df1,df2,df3)
> for (i in 1:length(dats)) {
+ names(dats[[i]]) = c('w', 'l', 'h')
+ }
> dats
[[1]]
w l h
1 1.24319239 -0.05543649 0.05409178
2 0.05124331 -1.89346950 0.33896273
3 -1.69686777 -0.35963008
2018 May 05
1
error in chol.default((value + t(value))/2) : , the leading minor of order 1 is not positive definite
Dear friends - I'm having troubles with nlme fitting a simplified model
as shown below eliciting the error
Error in chol.default((value + t(value))/2) :
? the leading minor of order 1 is not positive definite -
I have seen the threads on this error but it didn't help me solve the
problem.
The model runs well in brms and identifies the used parameters even with
fixed effects for TRT?
2005 Dec 14
0
Ices0 and ShoutCast (and KiSS)
THAT was it!
Both ones work, so I think I'll stick to the last one.
Now the KiSS will connect to the IceCast2, and I have enabled the metadata
again without problem.
Thank you very much!
Henrik ?stergaard
Henrik Ostergaard Madsen wrote:
> It did unfortunately not change anything.. Except that the track titles
> disappears in WinAmp (as expected).
>
> As the player was able
2008 Jun 25
2
Is this sapply behaviour normal?
Hi, I'm trying to use sapply to compute the min of several variables, each
of them stored in data.frames, grouped as a list:
Is it normal that mean() and min() produce different objects dimensions?
> str(dats)
List of 5
$ log20:'data.frame': 83 obs. of 5 variables:
..$ DATE : int [1:83] 2001081500 2001081512 2001081600 2001081612
2001081700 2001081712
2012 Apr 23
2
plot function creating bars instead of lines
Hello,
I am having a problem where code that plots lines using a different data
frame plots bars with the current data frame (I am intended to plot lines).
The code specifies lines (see below), so I can't figure out why the results
are bars. I suspect that it may have something to do with the fact that in
the data frame where the code worked as intended, the both variables
specifying
2010 Jan 30
2
parsing files for plot
Hi,
I have many files containing one column of data. I like to use the scan
function to parse the data. Next I like to bind to a large vector.
I try this like:
count<-1
files <- list.files() # all files in the working directory
for(i in files) {
tmp <- scan(i)
assign(files[count], tmp)
count<-count+1
}
This part works!
Now I like to plot the data in a boxplot.
2012 May 15
1
How to Un-group a grouped data set?
Hello, R-fellows,
I have a question that I really don't know how to solve. I have spent hours
on line surfing for possible solutions but in veil. Please if anyone could
help me handle this issue, you would be so appreciated!
I have a "grouped" dataset like this:
> data
Study TX AEs N
1 1 1 3 5
2 1 0 2 7
3 2 1 1 10
4 2
2012 Mar 10
1
Subsetting a data.frame -> Read in with FWF format from .DAT file
Hi there,
I am having trouble subsetting a data frame by a conditional via one column
(of many).
I read the file into R through "read.fwf," where I specified column widths.
Original data is .DAT. I then utilized "names" function to read in column
headings.
For one column, PRVDR_NUM, I wish to further amend the entire data set, but
only have PRVDR_NUM == 050108. This is
2003 Nov 25
8
Prompt recording
Does anybody have useful tips on creating good quality recordings for
use with prompts in asterisk? I'm interested in hearing input on
hardware (mics, dats, sound cards, etc) and software (recording
software, dsp) as well as recording techniques.
Jerimiah
Tularosa Communications
2013 Jun 24
3
Dibujar rectas sobre varios un grafico multipanel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Estimada comunidad, tengo que hacer un grafico con 4 paneles (4 graficos
pegados juntos) y sobre este tengo que dibujar 4 rectas ajustadas a los
datos de cada panel. Intente hacerlo con lattice usando el siguiente
codigo :
library(lattice)
library(latticeExtra)
xYplot(Cbind(mf[,3],mf[,5],mf[,6])~dia|factor(sol),data=mf,xlab="Time
2004 Feb 20
1
read.table with spaces
DeaR useRs:
Excuses for my english. I am trying to read a file with my dats and the format is a number, 3 spaces, other number, etc...
When I use:
a<-read.table(file="c:/datos2.dat",sep="")
R sais:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 3 did not have 34 elements
And I see my dats and in line 3 the first number is an
2019 Sep 06
3
Unable to set attributes in a samba share (error 0x00000005)
Hi,
I've set a share using samba, connected it to my Active Directory, and
now I'm having problems when I copy files into this share.
To setup the AD connection I've followed
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member,
and installed it into my Debian 9 install using APT, after
https://wiki.samba.org/index.php/Distribution-specific_Package_Installation.
With
2013 Jun 02
2
Conversión de objeto temporal (TS) a matriz (o data.frame)
Hola,
Si no te entiendo mal, necesitas la conversión a matriz como paso
intermedio para agregar por meses (o cualquier unidad temporal). Si es
así, te aconsejo que uses el paquete zoo y el método aggregate para la
clase zoo.
Por ejemplo:
library(zoo)
dats <- data.frame(date=seq(as.Date('2012-01-01'), by='day', length=3*365),
A=rnorm(3*365),