Displaying 20 results from an estimated 400 matches similar to: "quantcut"
2009 Jul 08
0
Help resolving error in quantcut
I am trying to use the quantcut function to create deciles, but I am getting the error below. I am new to using this function and do not know how to properly use the options or some other conversion that is necessary.
#initial summary using describe function in Hmisc library
DegreeBurn4th
n missing unique Mean .05 .10 .25 .50 .75 .90 .95
76 133
2012 May 26
2
Assessing interaction effects in GLMMs
Dear R gurus
I am running a GLMM that looks at whether chimpanzees spend time in shade
more than sun (response variable 'y': used cbind() on counts in the sun and
shade) based on the time of day (Time) and the availability of shade
(Tertile). I've included some random factors too which are the chimpanzee
in question (Individual) and where they are in a given area (Zone). There
are
2009 Dec 15
1
Supressing Scientific Notation
I'm trying to display my deciles without scientific notation, but have not found an option that will allow me to do so. According to web searches, the options(scipen=999) should remove scientific notation, but it seems not too. Does this option work with quantcut function? Is there any other option that can be used? I am using verison 2.10.0.
library(gtools)
library(gdata)
2009 Apr 16
2
splitting vector into equal sets
Hi R,
I have explored R archives a lot but couldn't find an efficient way of
doing the following:
I want to split a vector into sets of equal sizes. Is there any inbuilt
function of doing so with the option of specifying how to treat the
remaining observations. For example: suppose I want to split 20
observations in 3 groups, then I also want the option to put the extra
two observations
2012 Feb 28
2
Error: could not find function "hier.part"
Error: could not find function "hier.part"
things I have tried:
1. reinstall R (lastest version, on windows XP)
2. install package "gtools"
3. include:
library(gtools)
require(gtools)
4. how I call this function:
hier.part(c$Y, xdata, fam = "gaussian", gof = "Rsqu")
5.when I try to check what's in the package "gtools", I get (hier.part is
2010 Jan 07
1
Help formating data to display commas
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with commas, they only seem to add decimals. Is there a format that will display commas without me
2018 Feb 21
7
alternative for multiple if_else statements
Hi, I am having trouble trying to figure out why if_else is behaving the way it is, it may be my code or the way the data is structured.
Below is a snapshot of a database am working on and it represents a longitudinal survey of study participants in a trial with weekly follow up.
The variable "survey_start" represents the start of the study-defined one year follow up (which we called
2018 Feb 22
0
alternative for multiple if_else statements
I don't fully understand the logic you are trying to implement, but
something along the lines of
foo <- cut(trialData$date,
breaks = as.Date(c("2007-01-01",
"2008-05-01",
"2009-04-01",
"2010-05-01",
2018 Feb 26
0
alternative for multiple if_else statements
That many ifelse statements is obviously rather a pain.
Would you not have got what you want with
... paste("survey", year, sep="_")
?
If that is not what you're looking for (eg because 'year' is the observation year and not the study start year), perhaps something that picks the minimum year for a subject or other relevant group might work? For example
2003 Jan 31
0
Version 0.8.0 of the gregmisc package is now available
Version 0.8.0 of the gregmisc package is now (or will shortly be) available
on CRAN.
New in this release:
- Enhanced and bug-fixed 'CrossTable' function (contributed by
Marc Schwartz)
- Augmented the 'barplot2' function with an 'add' argument to allow for
the addition of a barplot to an existing graphic. (contributed by
Marc Schwartz)
- Added the
2011 Jul 26
0
How do you report lmer results?
Dear R-Gurus
I am a PhD student from South Africa working on chimpanzee behaviour.
I am looking at patterns of shade utilization and am using generalized
linear mixed models to examine the effects of various factors on
whether chimpanzees choose to spend time in the sun or shade. I
realise that the lme4 package and the outputs of the lmer functions
have been discussed ad nauseum but I have been
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package
2019 Mar 18
1
Upgrade from 2.1.17 2.2.36
v2.1.1
v2.2.36
The screenshot is the result returned by imap.
I don't want to want dovecot to return time, can I close it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190318/ef241e9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2018 Feb 22
0
alternative for multiple if_else statements
Hi Kevin,
I ran the code on the full data set and was able to reproduce the problem
that you are facing.
My guess is that you have an error in your intuition and/or logic, and that
this relates to the use of the subscript [1].
Specifically, on the full dataset, the condition
trialData$date[trialData$survey_start == "Y" & trialData$year == 2013 &
trialData$site ==
2008 Feb 26
1
diagnosing broken pipe errors
I'm hoping to get some guidance diagnosing intermittent smbd
errors that have been cropping up in the last 2 months. They
are sporadic, difficult to reproduce, and don't reveal much of
a pattern so far except that the majority are generated by a
couple of clients, although several clients appear to be
affected. Typical symptom on the client is a hang when
attempting to look at the share
2003 Sep 22
1
Problem with non-interactive shells on Sol8 with 3.7.1p1
We recently started upgrading OpenSSH on our Sol8 systems and we've run
into a problem were we can run commands on a remote system since we
installed 3.7.1p1. The debug output from sshd is attached below. We use
PAM in our environment, and have since 2.9.9p2. I think most of the
systems were running 3.4p1 prior installing 3.7.1p1 and they were working
- the only thing we replaced was
2006 Jan 02
2
Plotting the mean of data
Hi all!
I've got a datstructure like this:
subject week value
1 1 4
2 1 8
3 1 3
4 1 5
1 2 5
2 2 6
3 2 2
4 2 6
1 3 3
2 3 7
3 3 3
4 3 7
I'd like to plot the mean of 'value' against week. Is there a direct way
of doing this or do I have to make a new structure with the calculated
values and then plot it?
All the best!
--
###########################################
Kare
2006 Jan 11
2
Space between axis label and tick labels
I'm writing an publication in two column format and need to shrink some
plots. After increasing the axis labels it does not look nice at all.
The y-axis label and tick labels almost touch each other and the x-axis
tick labels expand into the plot instead of away from it. Is there a
better way than "cex" to control the:
1) font size of axis and tick labels
2) font thickness
3)