Displaying 20 results from an estimated 20 matches for "roslinazairimah".
2023 Nov 02
4
Sum data according to date in sequence
...73.9 10 1/11/2018 53.3 11 1/11/2019 93.5 12
1/11/2020 66.7 13 1/12/2017 78.6 14 1/12/2018 42.2 15
1/12/2019 22.7 16 1/12/2020 80.9 17 1/13/2017 85.6 18
1/13/2018 46.4 19 1/13/2019 40.0 20 1/13/2020 121.
Thank you very much for any help given.
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pa...
2023 Nov 03
1
Sum data according to date in sequence
...lt;dbl>
## 1 2016-01-14 12.0
## 2 2016-01-15 32.6
## 3 2016-01-16 21.3
## 4 2016-01-17 22.9
## 5 2016-01-18 9.06
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you want to
do, not how you want to do it.*
On Fri, Nov 3, 2023 at 2:51?AM roslinazairimah zakaria <roslinaump at gmail.com>
wrote:
> Hi,
> I tried this:
> # extract date from the time stamp
> dt1 <- cbind(as.Date(dt$EndDate, format="%m/%d/%Y"), dt$EnergykWh)
> head(dt1)
> colnames(dt1) <- c("date", "EnergykWh")
> and
> m...
2023 Nov 03
2
Sum data according to date in sequence
..._by(date) %>%+ summarise(EnergykWh.sum =
sum(EnergykWh))Error in UseMethod("group_by") :
no applicable method for 'group_by' applied to an object of class
"c('matrix', 'array', 'double', 'numeric')"
On Fri, Nov 3, 2023 at 7:23?AM roslinazairimah zakaria <roslinaump at gmail.com>
wrote:
> Dear all,
>
> I have this set of data. I would like to sum the EnergykWh according date
> sequences.
>
> > head(dt1,20) StationName date time EnergykWh
> 1 PALO ALTO CA / CAMBRIDGE #1 1/14/2016 12:09...
2024 Oct 04
1
Time series data decomposition from by minute data
...you can extract POSIX object
tv <- as.POSIXct(index(dt_train))
and use cut together with aggregate
cut(tv, "hour")
aggregate(dt_train, list(cut(tv, "hour")), mean)
2014-10-06 21:00:00 9.807692
2014-10-06 22:00:00 8.666667
Cheers.
Petr
?t 3. 10. 2024 v 17:25 odes?latel roslinazairimah zakaria <
roslinaump at gmail.com> napsal:
> Dear all,
>
> My data is by minutes and I can see it has seasonal trend by daily and
> weekly. How do I decompose the minute data into daily and weekly
>
> some data:
>
> > dput(tail(dt_train,100))structure(c(11L, 11L, 1...
2018 Apr 04
2
Plot data in sequence
...TUS, y=CGPA, group=LEVEL,
colour=LEVEL),cex.axis=0.2, ylim=c(0,4)) +
geom_line(size=1.3) +
geom_point()+
#guides(fill=FALSE) +
theme(legend.title=element_blank(),legend.position=c(.3,
.3),axis.text.x = element_text(size=8),axis.text=element_text(size=10))
Thank you very much.
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pa...
2023 Nov 03
1
Sum data according to date in sequence
...send a 'dput' of some sample data. My guess is that your date is
'character' and not 'Date'.
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you want to
do, not how you want to do it.*
On Thu, Nov 2, 2023 at 4:24?PM roslinazairimah zakaria <roslinaump at gmail.com>
wrote:
> Dear all,
>
> I have this set of data. I would like to sum the EnergykWh according date
> sequences.
>
> > head(dt1,20) StationName date time EnergykWh
> 1 PALO ALTO CA / CAMBRIDGE #1 1/14/2016 12:09...
2023 Nov 04
2
Sum data according to date in sequence
?s 01:49 de 03/11/2023, roslinazairimah zakaria escreveu:
> Hi all,
>
> This is the data:
>
>> dput(head(dt1,20))structure(list(StationName = c("PALO ALTO CA / CAMBRIDGE #1",
> "PALO ALTO CA / CAMBRIDGE #1", "PALO ALTO CA / CAMBRIDGE #1",
> "PALO ALTO CA / CAMBRIDGE #1", &...
2023 Nov 03
1
Sum data according to date in sequence
...t your date
> is 'character' and not 'Date'.
>
> Thanks
>
> Jim Holtman
> *Data Munger Guru*
>
>
> *What is the problem that you are trying to solve?Tell me what you want to
> do, not how you want to do it.*
>
>
> On Thu, Nov 2, 2023 at 4:24?PM roslinazairimah zakaria <
> roslinaump at gmail.com> wrote:
>
>> Dear all,
>>
>> I have this set of data. I would like to sum the EnergykWh according date
>> sequences.
>>
>> > head(dt1,20) StationName date time EnergykWh
>> 1 PALO A...
2024 Oct 03
1
Time series data decomposition from by minute data
...ter = NULL)Error in
decompose(dt_train, type = "multiplicative", filter = NULL) :
time series has no or less than 2 periods
> stl(dt_train, s.window = "periodic")Error in stl(dt_train, s.window = "periodic") :
series is not periodic or has less than two
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pa...
2018 Apr 04
0
Plot data in sequence
...vels(datn$STATUS)
[1] "ENTRY" "11121" "11122" "12131" "12132" "13141" "13142" "14151" "14152"
Reorder the levels to your desired outcome, and then plot the data again.
Sarah
On Wed, Apr 4, 2018 at 11:10 AM, roslinazairimah zakaria
<roslinaump at gmail.com> wrote:
> Hi r-users,
>
> I would like to draw line plots. However, the plot starts from 11121 data
> and plot data ENTRY last in the plot.
>
> Here is the code and data.
>
> datn <- read.table(header=TRUE, text='
> LEVEL ST...
2024 Oct 02
1
How to install this package
...___
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pa...
2024 Oct 04
1
Warning message: Removed 888 rows containing missing values or values outside the scale range (`geom_line()`)
...ot;)+ ) |>+ components() |>+ autoplot() +xlab("Year") ++ ggtitle("Classical additive decomposition of total+ US retail employment")Warning message:Removed 888 rows containing missing values or values outside the scale range (`geom_line()`)
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pa...
2017 Jul 22
1
3-day moving average for block maxima
...7391,
13.10869565, 5.02173913, 11.50869565, 5.195652174, 3.409090909,
0.340909091, 6.231818182, 0.004545455, 0.03)), .Names = c("Year",
"Month", "Day", "Amount"), row.names = 8402:8766, class = "data.frame")
Thank you very much for your help.
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370 <+60%209-549%202370>; Fax. No.+609-5492766
<+60%209-549%202766>*
*Email: roslinazairimah at ump.edu.my
<roslinazairimah at ump.edu.my>; roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University...
2023 Jan 13
1
Customise Plot tick label on time series plot using date series
?s 05:11 de 13/01/2023, roslinazairimah zakaria escreveu:
> Hi,
>
> I would like to customise my date series on the plot. I tried this:
>
> dt_ts <- ts(dt)
> autoplot(dt_ts[,2]) + ylab("Charge counts") + xlab("Daily")
>
> but the label is not the date series.
>
> Tqvm for any help...
2008 Dec 03
1
hypergeometric
Hi,
I hope somebody can help me on how to use the hypergeometric function.
I did read through the R documentation on hypergeometric but not really
sure what it means.
I would like to evaluate the hypergeometric function as follows:
F((2*alpha+1)/2, (2*alpha+2)/2 , alpha+1/2, betasq/etasq).
I'm not sure which function should be used- either phyper or qhyper or
dhyper
Where
2017 Oct 11
3
dput(treat)
I got advice here that I didn't understand! Can I ask to explain me the meaning of this procedure: first get the structure, and then assign it back. For what? Thanks!? (Great thanks to Moderator/Admin!)
You should learn to post in plain text and use dput to present your data structures. At your console do this
dput(treat)
# and this will appear. Copy it to your plain-text message:
2010 Jun 10
0
error message in fitting tcopula
...s length > 1 and only the first element will be used
> fit.ifl <- fitCopula(udat, myMvd@copula, a.0) ## this given the paper
Error in fitCopula(udat, myMvd@copula, a.0) :
Implemented methods are: ml, mpl, itau, and irho.
Thank you so much for your help.
Regards,
Roslinazairimah Zakaria
PhD Student
School of Maths & Stats
University of South Australia
Mawson Lakes, SA 5095.
Ph: 83025296
[[alternative HTML version deleted]]
2010 Jun 01
1
arrange data
Hi r-users,
I have a data below but I would like to rearrange my data so that it will be in the following format: year, month, day, rain. I also would like the data to be arranged so that it will be continues for example year 1939 it will go from january 1 to december 31 and continue with year 1940 from january 1st to 31st December and so on. What I have now is all january for all the years
2008 Jan 06
3
need help
Hi,
I'm Roslina, PhD student of University of South Australia, Australia
from school Maths and Stats. I use S-Plus before and now has started
using R-package. I used
to analyse rainfall data using julian date. Is there any similar
function that you can suggest to me to be used in R-package? Thank you
so much for your attention and help
[[alternative HTML version deleted]]
2023 Jan 13
1
Customise Plot tick label on time series plot using date series
Hi,
I would like to customise my date series on the plot. I tried this:
dt_ts <- ts(dt)
autoplot(dt_ts[,2]) + ylab("Charge counts") + xlab("Daily")
but the label is not the date series.
Tqvm for any help given.
> dput(dt)
structure(list(time = c("1/1/2014", "2/1/2014", "3/1/2014", "4/1/2014",
"5/1/2014",