Displaying 20 results from an estimated 10000 matches similar to: "how to get a histogram of an POSIXct vector ?"
2006 Aug 25
1
How to get back POSIXct format after calculating with hist() results
Hi,
I have a casting/formatting question on hist.POSIXt:
The histogram plot from POSIXct works perfect (with help of Prof. Ripley
-thanks!).
When processing the hist(plot=FALSE) output and then plotting the
results over the x-axis (bins) coming from hist(), I lose the date/time
labels, getting instead integers displayed.
Trying to cast the $breaks with as.POSIXct gives silly results with
2020 May 29
2
LLVM Support needed
I wanted confirm answer from you guys.
Request you to provide authentic information on this.
Best Regards / Mit freundlichen Grüßen
Minal Kulkarni
Knorr Bremse Technology Center India
Survey No.276, Village Mann, Hinjewadi, Phase II, Tal.Mulshi,
Pune - 411 057. Maharashtra , India.
Phone: +91 9028098122
Mobile:
mailto:minal.kulkarni at knorr-bremse.com
2020 May 28
2
LLVM Support needed
Hello Dear Team,
I wanted to know in which version of LLVM Tricore architecture is supported.
I have LLVM 2.8 with me which has no support for Tricore.
Basically I wanted to add Aurix target support.
Could you please help me.
Best Regards / Mit freundlichen Grüßen
Minal Kulkarni
Knorr Bremse Technology Center India
Survey No.276, Village Mann, Hinjewadi, Phase II, Tal.Mulshi,
Pune - 411
2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data
is in a data from that includes Year, Month and Day (of month)
fields, so I created a Date with ISOdate(Year, Month, Day,
tz=''). I can plot frequencies for the year 2002 with
> thisyear <- Date[Year==2002]
> hist( thisyear, xaxt='n' )
> axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2014 Sep 04
4
can't turn off password complexity requirements
Hello,
I'm unsing Ubuntu 14.4 Server and samba 4.1.6-Ubuntu. Everything
works great but I somehow fail to switch off the password complexity
requirements. It is not unlikely that this is because I'm very
unexperienced with Windows. I've heard that the password-settings are
always a bit tricky and I did exactly what the windows-tutorials say.
I've tried gpresult for
2012 Jul 16
2
histogram of time-stamp data
Readers,
A data set consists of time-stamp values:
00:00:00
23:11:00
06:22:00
The data set was imported:
timestamps<-read.table("path/to/timestampsvalues")
hist(timestamps)
...error... x must be numeric
Then tried:
plot(timestamps).
How to adjust the graph to create a histogram where the intervals
ranges can be specified, e.g. intervals of 60 minutes?
Thanks in advance.
2003 Oct 02
3
Query: weighting cells in histogram
I have the 'breaks' for the histogram ('hist') but I want weight the cells instead of using actual observations. I thought that using freq=FALSE implied that the numbers in 'x' were weights but this turned out to be wrong.
Any help and/or comment is very much appreciated.
Regards,
M?rten
M?rten Bjellerup
Doctoral Student in Economics
School of Management and Economics
2005 Mar 11
2
RODBC Package
Hello R-Help,
is there any way of using the RODBC Package on a Mac OS X
System? If yes, what do I need to get it running. Concerning these
issues, I am pretty unexperienced, so please state any step
necessary. The actual problem is accessing data in Excel- files.
(unfortunately no alternative way of entering the data).
I already installed the Package, but it says the following:
> versuch
2005 Jan 03
4
Inspecting R functions
In S-Plus, I can look at the structure of a function (for example, hist)
simply by entering
hist <RETURN>
however, if I do this in R, I get the response
function (x, ...)
UseMethod("hist")
<environment: namespace:graphics>
How can I inspect the structure of a function in R?
-------------------------------
Richard Dybowski
143 Village Way
2004 Jan 22
3
adding mean to boxplot
I am a new and unexperienced user of R and got so far as to know how to produce
boxplots. I have no experience of messing with function code, so presently I do
not know how to create a boxplot with group means instead of group medians. If
somebody could help me either replace the median with the mean or superimpose
the mean onto the existing boxplot, it would be appreciated.
2004 May 06
1
plot(hist.default(1:10,plot=F)) error.
Hi!
How to find out which plot function is used when i call
plot(hist.default(1:10,plot=F)) and all works fine ?
The reason why I would like to know it is that after loading some self written R functions
> plot(hist.default(1:10,plot=F))
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
> traceback()
5: stop("x and y lengths differ")
4: xy.coords(x, y,
2023 Sep 12
1
CAN virtualization
>>Dear Users,
>>
>>I use KVM with libvirt 9.0.0. The host and guest OS-es are also AGL needlefish images. I am currently trying to virtualize a CAN driver and provide virtual machines access to the physical CAN channels.
>>
>>I started with the virtual network handling as CAN interface is a network interface, I tried to find analogies, solutions like
2008 Jul 29
2
'for' loop, two variables
Dear Rusers,
I am still an unexperienced builder of functions and loops, so my question is
very basic: Is it possible to introduce a second variable (j) into my loop.
To examplify:
# This works fine:
fn <- function (x) {if (x>46 & x<52) 1 else 0}
res <-NULL
for (i in 40:60) res <-c(res,fn(i))
res
# But here, there is an error in the "for" expression:
fn <-
2015 Jul 01
5
additional leap second
hi,
Index: leap_second/src/library/base/R/zdatetime.R
===================================================================
--- leap_second/src/library/base/R/zdatetime.R (revision 68608)
+++ leap_second/src/library/base/R/zdatetime.R (working copy)
@@ -24,7 +24,8 @@
"1979-12-31", "1981-6-30", "1982-6-30", "1983-6-30",
2011 Mar 08
1
Date arithmetic coerces POSIXlt to POSIXct?
Hi. This feels like a bug to me, or at least an undocumented feature,
but I thought I'd see what people here thought of it. Consider a POSIXlt
object like this one:
> a <- as.POSIXlt ("2011-01-23 12:45:45")
> class (a)
[1] "POSIXlt" "POSIXt"
Fine. Now, if I do some arithmetic on that object, the result is
converted to POSIXct.
> class (a
2007 Aug 08
2
Error: Cannot Coerce POSIXt to POSIXct when building package
A newbie here - please forgive me if this is a basic question. We have an
in house package built in R 2.2.1 (yes we're a little behind the times at
our firm)and would like to rebuild it using R 2.5.1. However, when I try
and build the package from source, I keep getting this error:
Error in as(slotVal, slotClass, strict = FALSE) :
no method or default for coercing "POSIXt"
2002 May 21
1
I() fails on objects of class POSIXct (PR#1587)
Although the documentation is somewhat sketchy, I() can be used to create
objects of class AsIs:
> I("a")
[1] "a"
attr(,"class")
[1] "AsIs" "character"
> I(4)
[1] 4
attr(,"class")
[1] "AsIs" "numeric"
> I(4 + 0i)
[1] 4+0i
attr(,"class")
[1] "AsIs" "complex"
>
This
1997 Nov 11
2
R-alpha: help files of base package
[this message bounced, because it had 'help'
at beginning of Subject. Now sent as "approved". -- MM]
I'm not happy at all with the html and latex version of the base help
files, because presenting (currently) 320 files in alphabetic order is
not a good way for unexperienced users.
I'm thinking about introducing a new command like \category or
whatever to split the
2003 Sep 15
1
sample configurations for samba-3.0.0
Hi !
I'm currently testing out samba-3.0.0 - but I need a lot of time
to find out, how some features have to be configured.
To find out if your current samba-installation doesn't work because
of a configuration, a missing file or a bug in samba consumes sometimes
a lot of time.
I think it would be useful, if the samba-distribution would have
a certain directory for working
2014 Jul 25
1
[Wishlist] a 'PackageDevelopment' Task View
Hello everybody,
as a young/unexperienced R package developer (only a few, mainly
for personal use) i was thinking it could be very useful having a
"meta" task view for all package-development related
packages and/or function.
Something like ...
Creation
- utils::package.skeleton, pkgKitten, Rcpp::Rcpp.package.skeleton
Foreign languages interfaces:
- Rcpp
Documentation
- roxygen2