Displaying 20 results from an estimated 300 matches similar to: "unixtime conversion"
2009 Jun 09
2
generating new data with for loop
I'm new at R ...
I've not done for loops in R - so this is very new to me.
One of our students has a data frame that contains two columns data
1. unixtime time of an event (in unix time - #of seconds)
2. duration of event in seconds.
We need to create new data - the unixtime (seconds) that these events
occurred.
We want to create a for loop (or nested for loops) that goes through the
2005 Nov 17
1
Histogram over a Large Data Set (DB): How?
Hi! I'm new to R, and I have a question about how R works with large data sets
--- in particular, data sets that come from databases.
I'm using R 2.2.0 with the DBI package (0.1-9) and the RMySQL package (0.5-5).
My get-my-feet-wet-with-R project is to make a histogram from a data set stored
in a MySQL database. In particular, I have a table that describes some
observed spam emails.
2007 Jul 28
2
lattice grayscale "theme"
Hi,
is there a grayscale setting for lattice plots?
I like the default color settings. I also like the settings that are
available for setting black and white with something like this:
--8<---------------cut here---------------start------------->8---
ltheme <- canonical.theme(color = FALSE) ## in-built B&W theme
ltheme$strip.background$col <- "transparent" ##
2007 Mar 31
1
add confidence intervales to xyplot for ANCOVA and extracting info
Hi,
I would like to add confidence intervales to an ANCOVA with 2
covariates when using xyplot.
What would be a good way of accomplishing this?
--8<---------------cut here---------------start------------->8---
rm(list = ls(all = TRUE))
rm(list = c(ls()))
library(lattice)
## 1. generate data
random <- rnorm(200)
y <- abs(random)
x1.cont <- abs(random)
x2.fac <-
2008 Mar 27
2
strptime and plot(),lines()
Hello,
Im reading Data out of a Database.
#v+
rs <- dbGetQuery(con,"SELECT * ... )
attach(rs)
#v-
There ist a colum I convert into "Time".
#v+
> zeit<-strptime(datum,format="%Y-%m-%d %H:%M:%S");
> class(zeit)
[1] "POSIXt" "POSIXlt"
#v-
1.
A plot(zeit,money) plots the Data.
All i see on the x-achis are the Days.
I would like to see the
2019 Jun 22
1
last login user tracking
On 22/6/2019 16:07, John Fawcett via dovecot wrote:
>
> You can easily view the value in a readable format with the
> FROM_UNIXTIME mysql funciton
>
> https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_from-unixtime
>
> To get remote ip
>
> define the rip field in your table and add it to the primary key
>
> add %r to the
2007 Jul 30
1
add custom strip to lattice plot
Hi,
what is the recommended way of adding a strip to a lattice plot?
In the example below I would like to add the value of mean(y) to a new
strip.:
--8<---------------cut here---------------start------------->8---
library(lattice)
## Small sample data set:
p0 <- xyplot(uptake ~ Type | Treatment, data = CO2)
p1 <- update(p0,
panel = function(x, y, ...) {
2004 Sep 29
6
displaying sample size in boxplots
Hi,
I was wondering if there is a ready made function or parameter
for indicating the sample size in boxplots?
Here's what I came up with so far:
library(ISwR)
data(energy)
attach(energy)
boxplot(expend~stature)
sample.size <- tapply(expend, stature, length)
sample.size <- paste("N=", sample.size, sep="")
mtext(sample.size, at=1:length(unique(stature)), line=2,
2015 Dec 07
7
v2.2.20 released
http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz
http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz.sig
This could be (one of) the last v2.2.x release. We're starting v2.3 development soon.
+ Added mailbox { autoexpunge=<time> } setting. See
http://wiki2.dovecot.org/MailboxSettings for details.
+ ssl_options: Added support for no_ticket
+ imap/pop3/managesieve-login:
2015 Dec 07
7
v2.2.20 released
http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz
http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz.sig
This could be (one of) the last v2.2.x release. We're starting v2.3 development soon.
+ Added mailbox { autoexpunge=<time> } setting. See
http://wiki2.dovecot.org/MailboxSettings for details.
+ ssl_options: Added support for no_ticket
+ imap/pop3/managesieve-login:
2018 Feb 23
3
Remove "Duplicate" emails
In a quest to remove ?duplicate? messages sent to both me and lists I subscribe to I came up with this, which I think should clean out my Archive folder, but I?ve been unable to get it to work for scanning all on my list-user email.
$ doveadm -f table fetch -u kremels 'hdr.message-id guid uid hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if (cnt[$1]==2) print
2018 Feb 24
1
Remove "Duplicate" emails (and documentation update)
On 2018-02-23 (16:47 MST), Joseph Tam <jtam.home at gmail.com> wrote:
>
> On Fri, 23 Feb 2018, @lbutlr wrote:
>
>> $ doveadm -f table fetch -u kremels 'hdr.message-id guid uid
>> hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if
>> (cnt[$1]==2) print prev[$1]; print} {prev[$1]=$0}' |grep -E "[0-9] +$"
>> |awk
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
Hi,
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a surrounding
Sweave document.
Here's a short example in which the fonts of the first plot are
barely readable:
--8<------------------------schnipp------------------------->8---
\documentclass{article}
\usepackage{graphicx}
\newcommand{\mytext}{Some normal sized
2019 Jun 21
3
last login user tracking
Hello,
I'm trying to get last login user tracking going, using Dovecot and
mysql. I'm using:
https://docs.iredmail.org/track.user.last.login.html
and it is working, I am seeing an entry and it is updated, the problem
is the last login value does not mean anything to me. I was wondering
if it's possible to have the value be of a last login date and time,
and also a remote ip would be
2003 Jun 20
6
How can convert user expired days in human readable ?
Hello all,
On my system, some users have expire day user settings. I write a
(python) script
then parse the: 7.th selection in the master.passwd
blabla:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:1064005200:xxxx:xxxx:xxxx:xxxx
How can I conver the number like 1064005200 to human readable date format ?
Or, there is a way to collect the information from a command interactively ?
Regards,
Murat Ustuntas
2007 Mar 29
1
[HH] extending ancova function for 2 factors
Hi,
what would be a good way of enhancing the ancova function from the HH
package when using a 2 factor ANCOVA?
The current behaviour for the "ancova" function from package HH is:
----------------------------------------------
| P1 || P1 || P3 || P4 | | PS | <- the lattice strip
----------------------------------------------
| x|| x ||x ||x | |
2007 Mar 03
2
format of summary.lm for 2-way ANOVA
Hi,
I am performing a two-way ANOVA (2 factors with 4 and 5 levels,
respectively). If I'm interpreting the output of summary correctly,
then the interaction between both factors is significant:
,----
| ## Two-way ANOVA with possible interaction:
| > model1 <- aov(log(y) ~ xForce*xVel, data=mydataset)
|
| > summary(model1)
| Df Sum Sq Mean Sq F value Pr(>F)
|
2004 Jun 11
1
[StatDataML] compile error
Hi,
sorry if this is OT here. I'm trying to compile StatDataML[1] to
import Matlab data into R. The R part works fine but compiling
the Matlab part exits with this error message (following the
INSTALL instructions: autoconf -> ./configure -> make):
,----[ patrick at trurl:~/src/statdatml/StatDataML/MatOct> make ]
| make[1]: Entering directory
2004 Jun 22
1
npmc function: 'x' must be atomic
Hi,
I'm having trouble getting the function `npmc' working. I have a
2 column 30 row table called `mydata':
> npmc(mydata, df=2, alpha=0.05)
Error in sort(unique.default(x), na.last = TRUE) :
`x' must be atomic
> is.atomic(mydata)
[1] TRUE
Is there anything I have overlooked? Am I invoking the function
correctly? I wasn't able to find any hints in the archives
2005 Nov 19
1
[package concord] seeking maintainer
Hi,
can anybody tell me how to contact the maintainer of the
"concord" package? The address given in the help file is not
valid anymore.
,----
| > help(package=concord)
|
| Information f?r Paket 'concord'
|
| Description:
|
| Package: concord
| Version: 1.4-2
| Date: 2005-05-10
| Title: Concordance and reliability
| Author: Jim Lemon