Hi Janet,
This might help:
jcdf<-read.table(text="scen trans evap flow
1 1.10.10.09
1 1.20.20.10
1 1.30.30.20
2 2.10.10.09
2 2.20.20.10
2 2.30.30.20
3 3.10.10.09
3 3.20.20.10
3 3.3
Hello R community,
I have a data frame that has multiple observations in a single column that
I would like to break into multiple columns.
The data looks something like this:
scen trans evap flow
1 1.10.10.09
1 1.20.20.10
1 1.30.30.20
2 2.10.1
On 2019-06-28 15:26, Duncan Murdoch wrote:
On 28/06/2019 7:35 a.m., Göran Broström wrote:
Hello,
I have two large data frames, 'liss' (170 million obs, 8 variables) and
'fobb' (52 million obs, 8 variables, same as for 'liss'), and checking
their sizes I get
> object.size(liss)
7477492552
On 28/06/2019 7:35 a.m., Göran Broström wrote:
Hello,
I have two large data frames, 'liss' (170 million obs, 8 variables) and
'fobb' (52 million obs, 8 variables, same as for 'liss'), and checking
their sizes I get
> object.size(liss)
7477492552 bytes
> object.size(fobb)
2494591736 bytes
F
Dear all,
I need to run the following ANOVA
b <- aov(y ~ a +b*(factor(a)/b) + c + d + e)
I'm checking the assumption of the normality of the residuals and then the
Levene's Test for Homogeneity of Variance. I first transform my data so the
normality assumption is met, but if I do that the Homoge
Hello,
I have two large data frames, 'liss' (170 million obs, 8 variables) and
'fobb' (52 million obs, 8 variables, same as for 'liss'), and checking
their sizes I get
> object.size(liss)
7477492552 bytes
> object.size(fobb)
2494591736 bytes
Fair enough, but when I save them to disk (saveRDS
Hello,
Please always cc the list.
To know more about the regular expressions used by r read
help("regex")
The one I used is not very complicated.
\\. match a dot; it is a meta-character so it needs to be escaped.
{2,} repeated at least 2 times, at most an undetermined number of times.
.* a
Hello,
Try
s <- c( "colone..xx.","coltwo.ft..rr.","colthree.gh..az.","colfour.DG..lm.")
sub("\\.{2,}.*$", "", s)
#[1] "colone" "coltwo.ft" "colthree.gh" "colfour.DG"
Às 09:00 de 28/06/19, lionel sicot via R-help escreveu:
c( "colone..xx.","coltwo.ft..rr.","colthree.gh..az.","colfour.DG
Hello,
I have files from an equipment with column names including dots.I would like to
simplify these names but all my attempts with sub and regular expressions are
unsuccessful.
I havec(
"colone..xx.","coltwo.ft..rr.","colthree.gh..az.","colfour.DG..lm.")and I would
like to have c( "colone","c
9 matches
Mail list logo