Displaying 20 results from an estimated 440 matches similar to: "Getting vastly different results when running GLMs"
2017 Jun 01
3
Data import R: some explanatory variables not showing up correctly in summary
Hi,
I have a question regarding data importing into R.
When I import my data into R and review the summary, some of my explanatory variables are being reported as if instead of being one variable, they are two with the same name. See below for an example;
Behav person Behav dog Position
**combination : 38 combination : 4** Bank :372
**combination : 7
2006 Apr 14
1
Adding values to top of bars in barchart
Given the following data frame ("freq.sp"),
> str(freq.sp)
`data.frame': 42 obs. of 4 variables:
$ behav : Factor w/ 6 levels "approach","bowride",..: 1 1 1 1 1 1 1 2
2 2 ...
$ species: Factor w/ 7 levels "COAST_SPOT","EAST_SPINR",..: 1 2 3 4 5 6
7 1 2 3 ...
$ n : int 193 194 563 357 570 369 74 194 208 633 ...
$ pct :
2017 Jun 01
0
Data import R: some explanatory variables not showing up correctly in summary
Hello,
In order for us to help we need to know how you've imported your data.
What was the file type? What instructions have you used to import it?
Did you use base R or a package?
Give us a minimal but complete code example that can reproduce your
situation.
Hope this helps,
Rui Barradas
Em 01-06-2017 11:02, Tara Adcock escreveu:
> Hi,
>
> I have a question regarding data
2017 Jun 01
4
Data import R: some explanatory variables not showing up correctly in summary
Hi Tara,
It seems that you categorise and count for each category. Could it be that
the method you use puts everything that doesn't match the predefined
categories in Other?
I'm only guessing because without a minimal reproducible example it's
difficult to do anything else.
Best wishes
Ulrik
Rui Barradas <ruipbarradas at sapo.pt> schrieb am Do., 1. Juni 2017, 17:30:
>
2017 Jun 01
0
Data import R: some explanatory variables not showing up correctly in summary
Check for leading or trailing spaces in the strings in your data.
dput(dataset) would show them.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jun 1, 2017 at 8:49 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com>
wrote:
> Hi Tara,
>
> It seems that you categorise and count for each category. Could it be that
> the method you use puts everything that doesn't match the
2017 Jun 01
1
Data import R: some explanatory variables not showing up correctly in summary
> On Jun 1, 2017, at 8:57 AM, William Dunlap via R-help <r-help at r-project.org> wrote:
>
> Check for leading or trailing spaces in the strings in your data.
> dput(dataset) would show them.
This function would strip any leading or trailing spaces from a column:
trim <-
function (s)
{
s <- as.character(s)
s <- sub(pattern =
2009 Jan 13
1
PCA loadings differ vastly!
hi, I have two questions:
#first (SPSS vs. R):
I just compared the output of different PCA routines in R (pca, prcomp,
princomp) with results from SPSS. the loadings of the variables differ
vastly! in SPSS the variables load constantly higher than in R.
I made sure that both progr. use the correlation matrix as basis. I
found the same problem with rotated values (varimax rotation and rtex=T
2017 Jun 01
0
Data import R: some explanatory variables not showing up correctly in summary
It looks like your printouts are based on the R summary() function? The function lists the number of cases in the 5 largest categories when the variable is coded as a function. Then it indicates how many other categories are present. This is described on the manual page for function summary().
In the first case the duplicates probably represent cases in your source data (a spreadsheet?), where
2006 May 08
1
Repeatability and lme
Dear R-help list members
I gathered longitudinal data on fish behaviour which I try to analyse using
a multi level model for change. Mostly, I am following Singer & Willett
(2003), who provide also the S/R code for their examples in the book (e.g.
http://www.ats.ucla.edu/stat/Splus/examples/alda/ch4.htm). Of course I am
interested in change over time, but I am also very much interested in
2008 Apr 10
5
Extending Bluecloth/Redcloth
I''d like to extend bleucloth or redcloth to support custom tags, e.g. I
want to use markup like this:
[pubmed:18332676]
which shall be extended to:
<a href="http://www.ncbi.nlm.nih.gov/pubmed/18332676">Behav Pharmacol.
2008 Mar;19(2):121-128.</a>
Does anyone know, if this is possible and has some hints how to do
this?! I have not decided, wether I want to use
2007 Oct 23
10
How is everyone structuring stories?
Bleeding-edge story-writers,
How are you structuring your specs?
I am working on a new project and tried this:
./lib
./blah
./spec
./blah
./stories
But it breaks autotest, so I moved stories parallel to lib and spec.
Also what about suffixes?
I have adopted "xyz_story_spec.rb", and "xyz.story" for the time
being, with the line
runner =
2013 Aug 16
2
FBSD 9.2 RC crashes running as virtualbox host
Hi,
after updating my freebsd amd64 box from 9.1 (r250841) to 9.2-RC
(r254276) virtualbox crashes the machine. Seconds after starting VBOX
the screen freezes and then reboots (probably a trap, cannot see it, as
screen is in graphics mode). The kernel modules of vbox have been
recompiled.
Going back to 9.1 kernel and matching vbox modules works.
In both cases VBOX 4.2.16 is used.
cheers, Thomas
2006 Oct 06
2
Fitting a cumulative gaussian
Dear R-Experts,
I was wondering how to fit a cumulative gaussian to a set of empirical
data using R. On the R website as well as in the mail archives, I found
a lot of help on how to fit a normal density function to empirical data,
but unfortunately no advice on how to obtain reasonable estimates of m
and sd for a gaussian ogive function.
Specifically, I have data from a psychometric function
1998 Mar 08
0
vast quantity of samba messages on comp.os.linux.networking
i thought i'd review some of the newsgroups to see if there were any samba
related questions. i've been on it for half an hour now, on _one_
newsgroup (comp.os.linux.networking) - approx 20/25 out of 1841.
if anyone follows newsgroups for fun, answering questions, then can i ask
you the small favour of occasionally also randomly reviewing this and
other suitable newsgroups
2020 Jul 02
4
Integration of VAST Plugin
Hello,
icecast provides something like a plugin for vast ads system?
Or we have to custom parse the xml and create some playlist to add a
preroll mp3 to another stream live?
Thanks.
BR
2020 Jul 02
0
Integration of VAST Plugin
2020 Jul 02
2
Integration of VAST Plugin
As far as I know, the most common practice is handling the ads insertment
at the client side. eg. at the player level.
I know that videojs got a vast plugin:
https://github.com/googleads/videojs-ima
as well as JWPlayer:
https://developer.jwplayer.com/jwplayer/docs/jw8-advertising
However this method has one drawback, Adblock addons will target most VAST
requests and disable the advertisements..
2006 Dec 16
2
how to adjust link function in logistic regression to predict the proportion of correct responses in 2AFC task?
I have would like to use logistic regression to analyze the
percentage of correct responses in a 2 alternative forced
choice task. The question is whether one needs to take into
account the fact expected probabilities for the percentage of
correct responses ranges between 0.5 and 1 in this case and
how to adjust the link function accordingly in R (see details below).
Gabriel
Subjects were asked
2007 Oct 11
1
wireframe shade=T colorkey
Hi,
I am using wireframe with shade=T and I would like a colour key that
matches the colours produced with the option shade=T. How do I do
this?
Thanks,
Karim
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