similar to: problem with expand.model.frame

Displaying 20 results from an estimated 1000 matches similar to: "problem with expand.model.frame"

2002 Mar 29
1
expand.model.frame fails when call creating model has no data (PR#1423)
I've encounted a problem using expand.model.frame. To illustrate, consider the function > test <- function(model){ + expand.model.frame(model, "income") + } > The data frame Prestige (from the car library) has several variables, including prestige, income and education. I've attached this data frame and fit the following model >
2002 Mar 29
0
use of expand.model.frame
Dear R-help list members, I'm encountering problems using expand.model.frame. To illustrate, consider the function > test <- function(model){ + expand.model.frame(model, "income") + } > The data frame Prestige (from the car library) has several variables, including prestige, income and education. I've attached this data frame >
2002 Dec 01
1
generating contrast names
Dear R-devel list members, I'd like to suggest a more flexible procedure for generating contrast names. I apologise for a relatively long message -- I want my proposal to be clear. I've never liked the current approach. For example, the names generated by contr.treatment paste factor to level names with no separation between the two; contr.sum simply numbers contrasts (I recall an
2011 Jan 14
1
Question about scatterplot in package car
I am getting an error message from scatterplot: > library(car) > scatterplot(Prestige$income~Prestige$type) Error in Summary.factor(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, : range not meaningful for factors In addition: Warning message: In Ops.factor(x[floor(d)], x[ceiling(d)]) : + not meaningful for factors > The command does output the kind of graph that I want (boxplots).
2012 Apr 12
2
scatter3d: problem with spheres-color
Dear List, I don't get scatter3d to color the sheres according to the '|' argument. library(car) scatter3d(prestige ~ income + education|type, data=Prestige) The spheres on my screen are all colored the same and they are not conditional on Prestige$type. On the other hand: Fit3d and Ellipse3d are colored according to the group argument. rgl_0.92.879 car_2.0-12 R version 2.15.0
2017 Oct 15
2
Bootstrapped Regression
Hello Rui, Thanks for your helpful suggestions. Just for illustration, let's use the well known Duncan dataset of prestige vs education + income that is contained in the "car" package. Suppose I wish to use boot function to bootstrap a linear regression of prestige ~ education + income and use the following script: duncan.function <- function(data, indices) {data =
2017 Oct 15
0
Bootstrapped Regression
Hello, Much clearer now, thanks. It's a matter of changing the function boot calls to return the predicted values at the point of interess, education = 50, income = 75. I have changed the way the function uses the indices a bit, the result is the same, it's just the way I usually do it. pred.duncan.function <- function(data, indices) { mod <- lm(prestige ~ education +
2008 May 12
2
ggplot2: font size mismatch for pdf output
Hi In the following, the graph I see on the screen and the .png output coincide. However, in the .pdf file, the fonts seem to be scaled fairly larger, resulting in the label for the top legend disappearing. Is this an infelicity or bug, or is there something I've missed? More generally, how do I control the size of fonts used in legends and axis labels? library(car) library(ggplot2) qp
2006 Sep 19
2
help w/ Powerware Prestige 9
Hi, I've got a Powerware Prestige 9 1kVA UPS that seems to not be working with nut. It's not in the current "supported hardware" list, but the old bcmxcp page lists it as being a UPS that speaks that protocol. I have the following in my ups.conf [powerware] driver = bcmxcp port = /dev/ttyS0 desc = "Powerware Prestige 9 EXT" baud_rate = 2400 And when I start the
2005 Feb 24
1
choppy and cracking sound from zyxel prestige 2002
Hi, Does anyone have suggestions hooking Zyxel Prestige 2002 to Asterisk? I have tested Zyxel Prestige with both supported codecs. Call with G.711 sounds very choppy and cracking. Almost can't understand a word. Today I installed G.729 support into Asterisk but unbearable voice quality remains. It's a little bit better though. I have tested that Zyxel ATA with some commercial SIP
2010 Mar 22
2
Factors attribute?
I noticed that when I fit a linear model using 'lm' there is an attribute called "factors" that is added to the "term". It doesn't seem to appear for 'model.matrix', just 'lm'. I have been unable to find where it gets constructed or what it means? It looks like a two dimensional array that I may be able to use so I would just like to get some
2009 Nov 08
2
linear trend line and a quadratic trend line.
Dear list users How is it possible to visualise both a linear trend line and a quadratic trend line on a plot of two variables? Here my almost working exsample. data(Duncan) attach(Duncan) plot(prestige ~ income) abline(lm(prestige ~ income), col=2, lwd=2) Now I would like to add yet another trend line, but this time a quadratic one. So I have two trend lines. One linear trend line
2013 Jul 18
1
Bland Altman summary stats for all column combinations
Hello, I have the following data.frame structure(list(Study = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L,
2011 Feb 08
1
How to change labels in scatterplot?
Dear all, I'm trying to use "scatterplot" from package "car" to get a scatterplot with row-names as labels and I want my data to be divided into two groups defined by the column "tresh". Leaving away the groups-command gives me the right labels but they are not distinguished by colors according to "tresh". Does anybody know why the following example
2007 May 19
1
Powerware Prestige 1000VA
Hi all, I've more-or-less got NUT 2.0.4 working with my Powerware Prestige 1000VA UPS (serial), but unfortunately NUT is flagging LOW_BATTERY continuously, which is a tad embarrassing when power fails ;-) The numbers from upsc blah at localhost seem reasonable: ambient.temperature: 24.5 battery.charge: 99 battery.runtime: 3999 battery.voltage: 69.2 driver.name: bcmxcp
2006 Feb 24
1
Uploading driver to Samba
Hi I'm replacing my actual print server by a Linux server and I have everything else working except the following When I try to uplad tme printer drivers to the special Samba print$, I receive the following error Samba unable to install Windows 2000, intel driver I read an reread the how to an d differents books, without success Is it working to upload like they say in the How To ? (many
2004 Jun 02
5
ZyXEL Prestige 2000W SIP hangup fails
Does anybody have any experience with the ZyXEL Prestige 2000W? I am having problems with the line tear down when I call another extension. If nobody picks up at the other end when I hangup the 2000W, the other extension continues to ring. Is there any way to hangup a SIP call if there is no more traffic? Asterisk seems to think that there is still a connection open. This is pretty annoying
2005 Aug 23
2
Zyxel Prestige 2000W Firmware - EVIL
If you see a wj0011 version of firmware for Zyxel Prestige 2000W floating around (I found it in a German forum), KEEP AWAY. It completely trashed the wireless networking in my phone. -- ========================================== Rod Bacon Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600 Fax: +613 99401650 FWD: 512237
2004 Jul 13
5
WiSIP and Zyxel Prestige 2000W
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Anyone have any experience with either of these, I 'd appreciate some feedback? Plus it seems pretty easy to steal a connection with this. Zyxel Prestige 2000W WiSIP thanks, - -- Steve "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." Benjamin
2005 Sep 20
1
Powerware Prestige EXT 1000VA / PowerWorks A30 support?
Hello, does NUT support Powerware Prestige EXT 1000VA / PowerWorks A30 models in smart mode? I don't see them mentioned in the compatibility list (only Powerware 3115 and 5119 are there, listed as supported only by the "genericups" driver). Is the protocol known to be compatible with any other, supported UPS types? Thanks, Marek