Displaying 20 results from an estimated 600 matches similar to: "question"
2012 May 16
2
trouble with ifelse statement
Hello,
I apologize in advance for not providing sample data, I'm a very new to R
and can't easily generate appropriate sample data quickly. I'm hoping
someone can offer advice without it.
This code below works and does what I want it to do, which is for a given
row in my dataframe, where the variable "peak.cort" = max, it makes the
value of another variable
2012 Mar 19
2
by output into data frame
I could do this in various hacky ways, but what's the right way?
I have a nice application of the by function, which does what I want. The output looks like this:
> auc_stress
lab.samples.stress$subid: 2
cortisol amylase
1 919.05 6834.8
---------------------------------------------------------------------------------------------------------------------------
2012 Apr 23
2
plot function creating bars instead of lines
Hello,
I am having a problem where code that plots lines using a different data
frame plots bars with the current data frame (I am intended to plot lines).
The code specifies lines (see below), so I can't figure out why the results
are bars. I suspect that it may have something to do with the fact that in
the data frame where the code worked as intended, the both variables
specifying
2005 Nov 21
1
(no subject)
Hi,
I have written the following function to check whether a vector has elements
satisfying monotonicity.
is.monotone <- function(vec, increase=T){
# check for monotonicity in time-stamp data for cortisol collection
ans <- TRUE
vec.nomis <- vec[!is.na(vec)]
if (increase & any(diff(vec.nomis,1) < 0, na.rm=T)) ans <- FALSE
if (!increase & any(diff(vec.nomis,1) > 0,
2011 Sep 28
3
Plotting Lines Through multiple groups
Hi I have data in the following format
Cort Day Animal
23 0 1
27 3 1
24 0 2
27 1 2
34 2 2
30 3 2
24 4 2
20 0 3
24 1 3
28 2 3
34 4 3
etc.
It is measured across time(day) however no every individual is measured the
same number of times. All I want to do is plot the Raw data and then run a
line connecting the
2009 Jan 10
3
Problems with dovecot
Hi all,
Ihave jsut been compiling dovecot 1.1.6-1.1.8 on a solaris 10 x86
machine with sun studio 12.
It compiles correctly but when i want to run dovecot i am getting this
error message
Jan 10 17:16:16 Carolyn dovecot: [ID 762119 mail.info] Dovecot v1.1.8
starting up
Jan 10 17:16:16 Carolyn dovecot: [ID 107833 mail.warning] auth(default):
Growing pool 'mysql driver' with: 1024
Jan
2009 Jan 14
2
Maildir++ quota: When is it recalculated?
We use Maildir++ quota, with the rules taken from our LDAP backend. We also
have an old expunge script that's not quota-aware; it removes old messages
from the maildir by simply deleting the files.
Sometimes, a mailbox is over quota before the script runs, but well under
quota after the old messages are deleted. This change does not seem to be
picked up, however: When I try to deliver a new
2023 Mar 21
1
Good Will Legal Question
My guess: It I clear from the link that they can use the R logo for commercial purposes. The issue is what to do about the "appropriate credit" and "link to the license." How would I do that on a hoodie? Would they need a web address or something?
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of John Fox
Sent: Tuesday, March 21, 2023
2002 Nov 15
2
Samba "unable to validate password" error
I sent the following to sunmanagers@sunmanagers.org and I'm also forwarding
this to the samba list. I hope you can help:
------------- Begin Forwarded Message -------------
I have an emergency and am at the end of my resources and hope you can help.
I'm a samba newbie and hope you can point me to an answer.
Our Samba2.0.5 server is a Sun Enterprise 450 (Solaris 7). Our PDC
is an NT
2013 Nov 04
1
Access denied when associating a driver with a printer
Hi,
I'm trying to get point & print working against a 4.0.10 Samba server (using the sernet packages if that's relevant).
I have the printer itself setup and I've uploaded the driver, but associating the uploaded driver with the printer causes Windows to give an error: "Printer settings could not be saved. Access is denied".
I'm seeing the same symptoms on XP and
2023 Apr 04
1
Simple Stacking of Two Columns
I may be missing something but using the plain old c() combine function
seems to work fine:
df <- data.frame(left = 1:5, right = 6:10)
df.combined <- data.frame(comb = c(df$left, df$right))
df
left right
1 1 6
2 2 7
3 3 8
4 4 9
5 5 10
df.combined
comb
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
-----Original
2020 Jun 12
2
Misc patches
Sorry about that, let me check the correct version for the intrin0.h include guard.
//Marcus
________________________________
From: Ralph Giles <giles at thaumas.net>
Sent: Thursday, June 11, 2020 19:31
To: Marcus Asteborg <xnorpx at outlook.com>; opus at xiph.org <opus at xiph.org>
Subject: Re: [opus] Misc patches
Speaking of needing more complete ci feedback, the intrin0.h
2010 Jun 17
2
Correct folder permissions for maildir....
G'Day,
I am trying to find a definitive answer to what the directory
permissions should be for my configuration under Centos 5.5. I see a
number of the following error messages in the maillog as a consequence
of permissions errors. After reading the FAQ, Wiki etc. and browsing the
web I am unable to determine just exactly what the user security
settings should be for the offending
2023 Mar 23
1
How to test the difference between paired correlations?
Thank you, but this now sounds more difficult: what would be the point
in having these ready-made functions if I have to do it manually?
Anyway, How would I implement the last part?
On Thu, Mar 23, 2023 at 1:23?AM Ebert,Timothy Aaron <tebert at ufl.edu> wrote:
>
> If you are open to other options:
> The null hypothesis is that there is no difference.
> If I have two equations
2023 Apr 03
1
Simple Stacking of Two Columns
Hi,
You were on the right track using stack(), but you just pass the entire data frame as a single object, not the separate columns:
> stack(NamesWide)
? values ? ind
1 ? ?Tom Name1
2 ? Dick Name1
3 ?Larry Name2
4 ?Curly Name2
Note that stack also returns the index (second column of 'ind' values), which tells you which column in the source data frame the stacked values originated
2023 Mar 22
1
How to test the difference between paired correlations?
Hello,
I have three numerical variables and I would like to test if their
correlation is significantly different.
I have seen that there is a package that "Test the difference between
two (paired or unpaired) correlations".
[https://www.personality-project.org/r/html/paired.r.html]
However, there is the need to convert the correlations to "z scores
using the Fisher r-z
2006 Jan 05
1
Account Unknown for users with Samba 3.0.11/14
Hi,
I've got a problem with a samba server I inherited which I can't solve.
I think it's the configuration rather than the version because I have
the same problem with a 3.0.14 and a 3.0.11 Samba server with almost
identical configurations. Both authenticate against LDAP, one has an
old smbpasswd file which should no longer be in use.
The issue is that when I click
2012 Oct 29
2
naming datasubsets in a loop
Hello everbody,
I want to generate different subsets of my data-set and safe this
subsets with names listet in a vector. Because in reality I have got
about 70 subsets I want to realize this in a loop
Somehow like this:
names=c("nam1",
2023 Apr 04
1
Simple Stacking of Two Columns
Just to repeat:
you have
NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly"))
and you want
NamesLong<-data.frame(Names=c("Tom","Dick","Larry","Curly"))
There must be something I am missing, because
NamesLong <- data.frame(Names = c(NamesWide$Name1, NamesWide$Name2))
appears to
2024 Oct 04
1
apply
It's still hard to figure out what you want. If you have two vectors
you can compute their (2x2) covariance matrix using cov(cbind(x,y)).
If you want to compute all pairwise squared differences between elements
of x and y you could use outer(x, y, "-")^2.
Can you explain a little bit more about (1) the context for your
question and (2) why you want/need to use apply() ?
On