Hi, your Videos save my Bachelor Thesis. Thank you^^
@weecology
Жыл бұрын
That’s awesome to hear! You’re welcome!
@Blood4Justice
9 ай бұрын
thank you very much, most videos do not have that "string as factors" piece which turned out to be why my data was not read properly. Using your code fixed it!
@weecology
9 ай бұрын
Glad it helped!
@oscarrosalescorzo
Жыл бұрын
Clearly explained. Thanks!!
@weecology
Жыл бұрын
You're welcome!
@rigelrixton6662
3 жыл бұрын
Oh Im so sorry if I remove my comment because I thought this is not active anymore. But I actually have read it. Thank you so much by the way for the vid. I wonder why it has less views.
@rigelrixton6662
3 жыл бұрын
But the thing in adding a fixed day would it be make the data somewhat false? because it might the data was released on a different day so on
@weecology
3 жыл бұрын
@@rigelrixton6662 Yes, it depends on the details of how the data is collected and analyzed whether this approach will work or not. In many cases it will be fine because you are basically analyzing it as evenly spaced monthly data, which this approach allows. In cases where it is not OK then you can store them as `yearmon` data using the `zoo` package (see stackoverflow.com/questions/37009720/how-to-transform-dates-in-y-m-format-without-days) but you won't have access to most of the standard functions that work on dates.
@rigelrixton6662
3 жыл бұрын
@@weecology ohhhh Thank you so much I know now how to handle my data. Youre awesome.
@weecology
3 жыл бұрын
@@rigelrixton6662 So happy it has helpful. Good luck with your analysis!
@sakkariyaibrahim2650
Жыл бұрын
Awesome. found very useful
@AkilaDJ
Жыл бұрын
Good. Pls explain what happen if missing records are there. Data cleaners remove empty records which leads to missing days. etc
@Hamzakhan-cc6nq
2 жыл бұрын
thanks alots maam God bles you
@weecology
2 жыл бұрын
You're welcome!
@alessandrorosati969
Жыл бұрын
what are basic temporal statistical summaries in time series?
@johannaw2031
Жыл бұрын
Why did you have to put the comma at the end when you ordered it at 2:55? You said that otherwise it would break? Such details are the hardest part to learn with R... =/
@weecology
Жыл бұрын
The reason you need the comma relates to the way [ ] work for subsetting data frames. If you just give it a single value or a single vector it will return the columns associated with those numbers. So, data[1] gives the first column and data[c(1, 2, 3)] returns the first three columns. But, if you give it two numbers separated by a comma the first number designates the row and the second number the column. So data[1, 2] gives the value in first row of the second column and data[c(1, 2, 3), 2] gives the first, second, and third rows of the second column. If you want all of the rows or all of the columns you leave that part blank. So, data[c(1, 2, 3),] gives you the first three rows of all columns. And that's what this command is doing for us, except that it's giving us all of the rows, ordered by the date, and all of the columns for each of those rows, so it sorts the dataframe by date. Does that help clear things up?
@johannaw2031
Жыл бұрын
@@weecology That is a clear explanation! Many thanks for elaborating. So if I only want to make a subset of the data a ts-object then I dont have to pick an entire column. That makes sense. Thanks!
Пікірлер: 20