search for: roslinaump

Displaying 11 results from an estimated 11 matches for "roslinaump".

2023 Nov 03
1
Sum data according to date in sequence
...2.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 > my dt1 becomes these, th...
2023 Nov 02
4
Sum data according to date in sequence
...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, Pahang, Malaysia [[alternative HTML version deleted]]
2023 Nov 03
2
Sum data according to date in sequence
...e(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 4.680496 > 2 PALO...
2023 Nov 03
1
Sum data according to date in sequence
...e 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 4.680496 > 2 PALO...
2018 Apr 04
2
Plot data in sequence
...eme(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, Pahang, Malaysia [[alternative HTML version deleted]]
2023 Nov 03
1
Sum data according to date in sequence
...' 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/20...
2023 Nov 04
2
Sum data according to date in sequence
...ks >> >> 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...
2018 Apr 04
0
Plot data in sequence
...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 STATUS CGPA > DIP...
2017 Jul 22
1
3-day moving average for block maxima
...;), 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 Malaysia Pahang Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia [[alternative HTML version deleted]]
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:
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 given. > > >> dput(dt) > structure(list(time