similar to: Creating dummys in R

Displaying 20 results from an estimated 600 matches similar to: "Creating dummys in R"

2011 Dec 09
5
Making outregs in R
Dear r-Gods! I am interesting in making an equivalent command like outreg in stata where I get all my 8 regressions in one table. Does R have an easy command to that? MVH Dave [[alternative HTML version deleted]]
2003 Dec 17
5
beginner programming question
Hi all, The last e-mails about beginners gave me the courage to post a question; from a beginner's perspective, there are a lot of questions that I'm tempted to ask. But I'm trying to find the answers either in the documentation, either in the about 15 free books I have, either in the help archives (I often found many similar questions posted in the past). Being an (still actual)
2013 Jan 10
1
Semi Parametric Bootstrap
Greetings to you all, I am performing a semi parametric bootstrap in R on a Gamma Distributed data and a Binomial distributed data. The main challenge am facing is the fact that the residual variance depends on the mean (if I am correct). I strongly feel that the script below may be wrong due to mean-variance relationship #####R code####### fit1s
2011 Mar 07
1
XYPLOT - GROUPING WITH TWO CATEGORICAL VARIABLES
Hi! I have a dataframe like this: dat=data.frame(Age=c(rep(30,8),rep(40,8),rep(50,8)),Period=rep(seq(2005,2008,1),3),Rate=c(seq(1,8,1),seq(9,16,1),seq(17,24,1)),Sex=rep(c(rep(0,4),rep(1,4)),3))attach(dat)dat    Age Period Rate Sex1   30   2005    1   02   30   2006    2   03   30   2007    3   04   30   2008    4   05   30   2005    5   16   30   2006    6   17   30   2007    7   18   30   2008  
2006 May 05
2
Rails MySQL Stored Procedure Fun
Hi All. I have a question about calling MySQL stored procedures that is a little different from the usual. I know stored procedures are not really the ''Rails way'' but in this case there is no other way to accomplish the same task and I have used them successfully. Background: I am using a query to produce a real-time status of items flowing through a factory. The query
2012 Feb 16
3
Converting ts into xts and subsetting
Greetings, I would like to subset observations in a time series using xts, after converting from ts to xts. X=ts(1:100, frequency=12, start=c(1976)) X2=as.xts(X) X2["1984"] The output: Feb 1984 98 Mar 1984 99 Apr 1984 100 What happened to January? The index is always one month off, with X2["1976-01"] giving me Feb 1976. Should I set the time using something else
2018 May 08
0
Fitting problem for Cox model with Strata as interaction term
Dear All, I got a warning message "X matrix deemed to be singular" in Cox model with a time dependent coefficient. In my analysis, the variable "SEX" is a categorical variable which violate the PH assumption in Cox. I first used the survSplit() function to break the data set into different time intervals, and then fit the model. The procedures can be described as follows:
2009 Aug 28
1
problem when runing RCT3 demo from console
Hi, I'm trying to run Roller Coaster Tycooon 3 demo with wine 1.1.28. It installed fine, and when I run it using gnome applications menu shortcut, game menu is working and it crash when loading new map. But that isn't my problem. Problem is, I want to run it from console, in order to see what caused the crash, so I cd into the game directory and I use command like this ( env
2005 Jun 28
3
dragdrop straaange behavior
hi there first thanks for thoose neeto things :) got a question couse i cant figure it out: i made a supersimple demo for the drag event: http://noomik.net/test/drag.html works so far, but: if i remove the code between line 20 and line 27 (in the drag.html) it won''t work any more and i get an javascript error in the dragdrop.js in line 311 saying drag has no properties. any
2017 Jul 10
3
Some tinc clatifications
Hi all, I'm currently happily using tinc in my networks. I also use OpenVPN based on the customer requirements. I though have some questions which I could not find a clear answer. What I'd like to know is: 1. How to revoke a "node", simply removing the host file on the servers is enough? And one created by invitation? 2. Is there a way to let tinc ask for a username/password
2012 Feb 17
10
Xen 3 vs Xen 4
Hi; Currently I am running xen 3.4.2 on one of my Centos servers , I want to upgrade to latest version of xen but I dont know if I should upgrade to latest branch of xen 3 or xen 4 ? is xen 4 backward compatible with xen 3 VMs ? does it provide any performance benefit compared to xen 3 ? What is your recommendation ? Regards
2006 Apr 12
13
rhtml produces so many white places?????
Hi, I have a rhtml file that uses some ruby code inside, there are not too ruby codes, but it repeats itself thousands of time. I find out each time when the ruby code execute, it will produce the html code correctly. But the produced html will conseved the "format" of the rhtml, and it adds a lot no used white space!!!! example : toto.rhtml <body> <table> <% data.each{
2009 Jul 29
17
Install and boot from USB stick?
Hello, Ive tried to find any hard information on how to install, and boot, opensolaris from a USB stick. Ive seen a few people written a few sucessfull stories about this, but I cant seem to get it to work. The procedure: Boot from LiveCD, insert USB drive, find it using `format'', start installer. The USB stick it not found (just stands on "Finding disks"). Remove USB stick,
2011 Jul 22
4
VM backup problem
Hai, I use following steps for LV backup. * lvcreate -L 5G -s -n lv_snapshot /dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/VHD-a2db885c-9ad0-46c3-b2c3-a30cb71d83f8 lv_snapshot created* This command worked properly Then issue kpartx command kpartx -av
2011 Jul 22
4
VM backup problem
Hai, I use following steps for LV backup. * lvcreate -L 5G -s -n lv_snapshot /dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/VHD-a2db885c-9ad0-46c3-b2c3-a30cb71d83f8 lv_snapshot created* This command worked properly Then issue kpartx command kpartx -av
2009 Mar 14
1
dispcrepancy between aov F test and tukey contrasts results with mixed effects model
Hello, I have some conflicting output from an aov summary and tukey contrasts with a mixed effects model I was hoping someone could clarify. I am comparing the abundance of a species across three willow stand types. Since I have 2 or 3 sites within a habitat I have included site as a random effect in the lme model. My confusion is that the F test given by aov(model) indicates there is no
2017 Oct 20
2
Samba 4.6.7 AD, Netapp CDOT 9.2 and missing "Domain Users" membership
Sorry for eventually wrong AD terminology! > You haven't fixed the 'xidNumber:100 issue', giving 'Domain Users' the > ID of '513' is not a good idea and I think you may have just changed > '100' in idmap.ldb to '513' >From the AD DC (;-)) shell the user was missing the "Domain Users" group and we tought that could be a xidNumber
2006 Mar 24
6
Microsoft SQL Server has me stumped
I''m tinkering around with an old legacy table in SQL Server 2000. Ruby 1.8.4, most recent ADO.rb file from RubyForge, Rails 1.0 Here''s the model: class InventoryItem < ActiveRecord::Base set_table_name "[_SMDBA_].[_INVENTOR_]" set_primary_key "sequence" end Everything works fine. I can retrieve records without issue. However, when create a new
2003 Dec 17
1
PRI Error messages
Hello... Does anybody knows what is the meaning of thoose messages ? What i'm doing wrong here ? The * works fine , both incoming and outgoing services.. WARNING[163851]: File chan_zap.c, Line 5683 (zt_pri_error): PRI: Read on 47 failed: Unknown error 500 PRI got event: 8 WARNING[163851]: File chan_zap.c, Line 5683 (zt_pri_error): PRI: Read on 47 failed: Unknown error 500 PRI got event: 6
2003 Jan 08
1
Article from www.linux.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://www.rediff.com/search/2003/jan/07music.htm Was linked from www.linux.org. Good read for thoose who have not yet understood why to move from [what-ever-format-they-are-using] to Ogg Vorbis. Best regards, Andreas Karlsson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla -