Displaying 20 results from an estimated 20000 matches similar to: "Screen resolution Problem"
2023 Nov 05
3
strptime with +03:00 zone designator
I have some data that includes timestamps like this:
2017-02-28T13:35:00+03:00
The documentation for strptime says that %z expects
an offset like 0300. I don't see any way in the documentation
to get it to accept +hh:mm with a colon separator, and
everything I tried gave me NA as the answer.
Section 4.2.5.1 of ISO 8601:2004(E) allows both the
absence of colons in +hh[mm] (basic format) and
2011 Apr 06
5
Need a more efficient way to implement this type of logic in R
I have cobbled together the following logic. It works but is very
slow. I'm sure that there must be a better r-specific way to implement
this kind of thing, but have been unable to find/understand one. Any
help would be appreciated.
hh.sub <- households[c("HOUSEID","HHFAMINC")]
for (indx in 1:length(hh.sub$HOUSEID)) {
if ((hh.sub$HHFAMINC[indx] == '01')
2010 Sep 16
1
ANOVA - more sophisticated contrasts
dear list,
i am using a multifactorial design with two treatments (factor A: drugs,
three levels; factor B: theraphy, two levels) and a time factor (three
levels, different timepoint). hypothetically, i measured the same subjects
for all treatements and timepoints, so its a repeated measurement design.
now i ran an anova in R and also some Tukey post-hoc tests using glht. but
what i am actually
2020 Apr 30
2
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
Recently thunderbird and Dovecot IMAPS cannot agree on SSL however
Evolution, on the exact same system, is working fine with the same
accounts. Tried recreating the Dovecot cert and also the thunderbird
accounts from scratch. The OpenSSL raw client works fine as well.
Would someone also confirm the openssl commands to create a selfsigned
cert for dovecot imaps. They cert created does work
2011 Sep 08
2
help subsetting data based on date AND time
Dear R Community,
I am new to R, and have a question that I suspect may be quite simple but is
proving a formidable roadblock for me. I have a large data set that
includes water-quality measurements collected over many 24-hour periods.
The date and time of sample collection are in a combined Date/Time field in
the format yyyy-mm-dd hh:mm:ss. I need to be able to subset the data for
analysis of
2011 Apr 17
1
How to retrieve a vector of a data.frame's variable attributes?
Hi,
I have a data.frame with 100 variables and I have assigned a "label",
"units" and "category" attribute to each variable. I would like to reorder
the variables in the data.frame by the "category" attributes but can't find
a way.
For example, the first variable is:
> attributes(hh$aez)
$levels
[1] "coastal" "forest"
2020 Apr 30
5
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
Hello,
This is a selfsigned cert. Both of the below methods were used.
May I ask for 1. pointer to info setting up "intermediate certs" and
where the certfile goes?
The objective is to generate a self-signed cert and use it for just
internal use with IMAPS dovecot.
Separately, what are your thoughts as to why evolution works and
thunderbird does not?
Thank you,
==1
openssl
2020 Apr 30
4
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
I would expect the public cert to be imported as a "server" not an "auth"
The attached image shows that TBird wants an httpS url for a webserver,
for the source.
Ages ago, I think it prompted for "do you want to trust this new cert"
and YES added it (assuming that is the public key) to the server list.?
A bit confused by this.
<see attached thunderbird
2023 Nov 06
1
strptime with +03:00 zone designator
try using 'lubridate'
> library(lubridate)Attaching package: ?lubridate?
The following objects are masked from ?package:base?:
date, intersect, setdiff, union
> x <- "2017-02-28T13:35:00+03:00"> ymd_hms(x)[1] "2017-02-28 10:35:00 UTC"
>
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you
2006 Sep 01
2
Compiling a package
Hello,
I am in Win-XP R:2.3.0
latest rtools and Perl - of today
I got Rcmdr.HH source code and tried to compile it myself
copy all directory to R/R-2.3.0/src/library/Rcmdr.HH
from R/R-2.3.0/src/library
I typed:
..\..\bin\R CMD build --force --binary --auto-zip Rcmdr.HH
* checking for file 'Rcmdr.HH/DESCRIPTION' ... OK
* preparing 'Rcmdr.HH':
* checking DESCRIPTION meta-information
2012 Apr 03
4
Recodificar datos faltantes
Hola a todos
La cuestión es una tontería, me gustaría recodificar los NA (valores
faltantes) por el valor 0
He probado varias cosas del estilo:
> hh<-c(2,3,4,NA,4)
> replace(hh,which(hh==NA),0)->hh
> hh
[1] 2 3 4 NA 4
Conocéis alguna forma.
Saludos
2008 Sep 12
1
Error in solve.default(Hessian) : system is computationally singular
Hello everyone,
I'm trying to estimate the parameters of the returns series attached using the GARCH code below, but I get the following error message:
Error in solve.default(Hessian) :
system is computationally singular: reciprocal condition number = 0
Error in diag(solve(Hessian)) :
error in evaluating the argument 'x' in selecting a method for function 'diag'
Can
2012 Mar 06
1
How to eliminate for next loops in this script
I needed to compute a complicated cross tabulation to show weighted means
and standard deviations and the only method I could get that worked uses a
series of nested for next loops. I know that there must be a better way to
do so, but could use some assistance pointing the way.
Here is my working, but inefficient script:
library(Hmisc)
rm(list=ls())
load('NHTS.Rdata')
day.wt <-
2008 May 27
2
HH.EXE location
This is related to my post about .chm where vitamin set me on the right path.
http://forum.winehq.org/viewtopic.php?t=1026
Since then I reinstalled Ubuntu 8.04 and wine.
While perusing the virgin registry I noticed the chm.file ...command key was: C:\windows\system32\hh.exe %1
There is no hh.exe located in that directory. The hh.exe file is located in the C:\windows\ directory.
If wine uses the
2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is
(1) One cannot make strptime accept ISO8601-compliant zone designators
(2) The lubridate package can
(3) Or one can hack away with regex.
Lubridate it is, then.
But I do regard strptime's inability to process ISO8601-compliant zone
designators as a bug.
On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote:
> try using 'lubridate'
2010 Jan 29
1
use zoo package with multiple column data sets
Readers,
I am trying to use the zoo package with an array of data:
file1:
hh:mm:ss 1
hh:mm:ss 2
hh:mm:ss 3
hh:mm:ss 4
file2:
hh:mm:ss 11 55
hh:mm:ss 22 66
hh:mm:ss 33 77
hh:mm:ss 44 88
I wanted to merge these data set so I tried the following commands:
library(chron)
library(zoo)
z1<-read.zoo("path/to/file1.csv",header=TRUE,sep=",",FUN=times)
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied.
On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote:
> OK, so the consensus is
> (1) One cannot make strptime accept ISO8601-compliant zone designators
> (2) The lubridate package can
> (3) Or one can hack away with regex.
> Lubridate it is, then.
>
> But I do regard strptime's inability to process
2008 Aug 18
1
ARMA(0,2) & GARCH(1,1) - code & hessian
Hello R-list-members,
I'm trying to model ARMA(0,2) & GARCH(1,1) process using the code below, but according to my textbook, the estimated parameters are wrong. The MA-parameters should be negative. (I've got the same problem using garchFit()). Can anyone tell me what I'm doing wrong? And how can I calculate the hessian matrix?
Many thanks,
Desislava Kavrakova
Code:
2009 Mar 17
2
Converting time from HH:MM:SS to only HH:MM
Hi all,
I need to compare between times and put all similar times in specific
1 minute bins.
Unfortunately the original data include seconds as well.
My data is in HH:MM:SS format but I need it rounded to only HH:MM and
trying in Excel to display "unique" records only does not work since
the seconds are not unique.
Is there an easy way using perhaps CHRON to change all from the
2006 May 30
1
Query: lme output
Dear R-Users
I have a problem accessing some values in the output from the summary of an lme fit.
I fit the model below:
ggg <- lme (ST~ -1 + as.factor(endp):Z.sas + as.factor(endp), data=dat4a,
random=~-1 + as.factor(endp) + as.factor(endp):Z.sas|as.factor(trials),
correlation = corSymm(form=~1|as.factor(trials)/as.factor(id)), weights=varIdent(form=~1|endp))
hh