Displaying 20 results from an estimated 900 matches similar to: "effects package --- add abline to plot"
2011 Jan 12
1
how to change strip text of effect plot
Dear r heper,
How can I change the strip text, for example (16,23] in the following
example, to other more informative text such as "high level" on the
fly?
library(effects)
Cowles$ex2 <- cut(Cowles$extraversion,3)
mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial)
eff.cowles <- allEffects(mod.cowles)
plot(eff.cowles,
2010 May 04
1
help overlay scatterplot to effects plot
I have a process where I am creating a effects plot similar to the cowles effect example. I would like to add the point estimates to the effects plot, can someone show me the correct syntax. I have included the "R" effects example, so you can show me the correct syntax. Thanks
mod.cowles <- glm(volunteer ~ sex + neuroticism*extraversion,
    data=Cowles, family=binomial)
2010 Nov 20
2
How to produce glm graph
I'm very new to R and modeling but need some help with visualization of glms.
I'd like to make a graph of my glms to visualize the different effects of
different parameters.
I've got a binary response variable (bird sightings) and use binomial glms.
The 'main' response variable is a measure of distance to a track and the
parameters I'm testing for are vegetation parameters
2011 Jul 11
3
quantile regression: out of memory error
Hello,  I?m wondering if anyone can offer advice on the out-of-memory error I?m getting. I?m using R2.12.2 on Windows XP, Platform: i386-pc-mingw32/i386 (32-bit).
I am using the quantreg package,  trying to perform a quantile regression on a dataframe that has 11,254 rows and 5 columns.
> object.size(subsetAudit.dat)
450832 bytes
> str(subsetAudit.dat)
'data.frame':   11253 obs.
2009 May 21
1
vcd package --- change layout of plot
Hello,
I'm trying to use the vcd package to analyze survey data.  Expert judges
ranked possible features for product packaging.  Seven features were
listed, and 19 judges split between 2 cities ranked them.
The following code (1) works, but the side-by-side plots for Cities PX,
SF are shrunk too much.  Stacking PX on top of SF would make for a
better plot.  (I could switch the order of
2010 Mar 23
2
Sample size for proportion, not binomial
Hello,  I am looking for a sample size function for samples sizes, to test proportions that are not binomial proportions.  The proportions represent a ratio of (final measure) / (baseline measure) on the same experimental unit.  Searches using RSeek and such bring multiple hits for binomial proportions, but that doesn't seem to fit my situation.  Perhaps there's some standard terminology
2010 Dec 16
1
Arguments in functions
Hello,  I'm not much of a programmer, and am trying to understand the workings of the function below called "RStatFctn" within this bootstrap procedure.  
RStatFctn is defined to have two arguments: "x", intended to be a data vector; and "d" intended to be an index (or so it looks to me).
Later, "rnormdat" is created to be the data vector.   However,
2012 Feb 01
1
Windows 7 installation of .qz package from SourceForge
Hello,  I'm trying to install the package metRology from SourceForge.  I save the zip file metRology_0.9-06.tar.gz to my Windows 7 machine, and try to install the package using the RGUI:  Packages > Install packages from local zip files > metRology_0.9-06.tar.gz.  There's no .zip extension, but R seems to go to work on the installation with a couple warning messages and one error.
2012 Mar 29
1
abline with xyplot does not work
I am trying to plot the results of a random effects model where each subject is allowed to have his, or her, own intercept. I use xyplot to plot the data, lme to compute the regression and then try to put a summary regression line on the xyplot. As can be seen by the output pasted below, I am getting an error message,
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : 
  (list)
2013 Feb 23
2
assign index to colnames(matrix)
Hello,  I’m trying to follow the syntax of a script from a journal website.  In order to create a regression formula used later in the script, the regression matrix must have column names “X1”, “X2”, etc.  I have tried to assign these column names to my matrix ScoutRSM.mat using a for loop, but I don’t know how to interpret the error message.  Suggestions?  Thanks, Paul
2009 Apr 09
1
Error in saveLog(currentLogFileName
Hello,  very basic question from a user who is baffled by the workings of computers in general
When logging off R, a dialog box asked if I wanted to save my log,  I chose yes.  Then I noticed that the following message appeared in the Command Window
Error in saveLog(currentLogFileName) : 
  unused argument(s) ("C:/Documents and Settings/prewpj/My Documents/Data/Analyses/Healthcare/Hand Care
2013 Jul 08
3
A question on the abline function
Dear whom it may concerns,
I am Jia Xu, a summer intern analyst at Citi Research. I am also a graduate student studying Financial Engineering at Cornell. I am running regression analysis with Rstudio now. I have been experiencing difficulty with the abline function. No matter I call it directly in linear regression or call it through residual plots, or plot results from lasso regression, it
2009 Mar 24
0
repolr output
Hello all, 
I am unsure of how to interpret the output from a Generalized Estimating
Equation analysis of an ordinal response.  I hope someone can enlighten
me. The analysis was done using package 'repolr'.   The data consists of
a Score on a 3-point scale from 56 Subjects after repeatedly washing
their hands with soap.  Two soap Products were tested, each panelist
washed 10 times = 10
2009 Jul 13
2
Problems in plotting with abline
Dear R-users,
                     I am using R(a package igraph) to calculate certain
topological features of networks. When I try to draw a plot between these
features I get an error. Following is the code I am using :
*> plot(met_eco_deg,met_eco_bet)
> lmout<-lm(met_eco_bet ~ met_eco_deg)
> abline(lmout)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
  plot.new
2009 Apr 01
2
Plotting multiple ablines
I really want to do this:
abline(
a=tan(-kT*pi/180),
b=kY-tan(-kT*pi/180)*kX
)
where kX,kY and kT are vectors of equal length. But I can't do that
with abline unless I use a loop, and I haven't figured out the least
unelegant way of writing the loop yet. So is there a way to do this
without a loop?
Or if I am to resort to the loop, what's the best way of doing it
considering that I
2010 Nov 20
10
An empty grey diagram
Hi folks,
Win7 64bit
R 1.12.0
I run following command on R:-
> ToothGrowth
> attach(ToothGrowth)
> plot(dose,len)
> matrics=lm(len~dose)
> abline(metrics)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : 
  plot.new has not been called yet
Only a grey diagram is displayed without content
> plot(abline(metrics))
Error in int_abline(a = a, b = b, h = h, v
2009 Mar 12
2
Time-Ordered Clustering
Hello All,
Does anyone know of a package that performs constraint-based clusters?
Ideally the package could perform "Time-Ordered Clustering", a technique
applied in a recent journal article by Runger, Nelson, Harnish (using MS
Excel). Quote, "in our specific implementation of constrained
clustering, the clustering algorithm remains agglomerative and
hierarchical, but observations
2008 Nov 21
2
Windows version of package "Ratings"?
Hello,  
Does anyone know whether a Windows version of the Ratings package will
be available?
 Thank you, Paul Prew
CONFIDENTIALITY NOTICE: \ This e-mail communication an...{{dropped:11}}
2008 Aug 05
2
qqline function doesn't plot
I have a data vector x.  When I try 
qqline(x)
I get the following error:
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : 
  plot.new has not been called yet
And a blank plot appears.
Can anybody help?  What am I doing wrong?
Thanks,
Scotty
_________________________________________________________________
 Contest
	[[alternative HTML version deleted]]
2010 Jun 17
1
Problems using allEffects() (package effect)
Dear R users,
I have some trouble using the allEffects() function to compute and
display effect plots for a linear model.
My data is quite simple, it concerns effects of 3 treatments on the
tumoral volume of mice. vTum codes for the qualitative initial volume,
from small to big, temps is the time in month since beginning of
treatment, and S?rie codes for the batch. Data is unbalanced.
>