similar to: What does the : operator mean in glm formulas

Displaying 20 results from an estimated 400 matches similar to: "What does the : operator mean in glm formulas"

2010 Nov 24
4
R encoding question
Hi, I am using RpgSQL to retrieve data from a PostgreSQL database wich is with encoding UTF8, and I have some Chinese character in one of the columns, unfortunately R can't show it correctly. > df <- dbGetQuery(con, "select * from test") > df a b 1 1 ????????\xa2 2 2 ???? EURO\xa1 I see the following option, do I need to change the encoding option to show
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following: # Produces right justfified column names caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)
2007 May 14
3
install opt-samba-base on aix 5.3
I am trying to install samba 3.0.24 on aix 5.3. I have downlaoded the binaries from samba.org and I am using the directions found at: http://us4.samba.org/samba/ftp/Binary_Packages/AIX/ The directions dont specify installing the base. WHen I try to install the pware 3.0.24, it fails due to required packages missing. I do not see a way to get opt-samba-base installed. Included below is the
2011 Mar 09
2
No response after click the "show Rules" button on Tab "Associate".
Hi, I am using Rattle 2.6.4 with R 2.12.2 on win64, is this a bug ? Following is the content after execute the associate analysis process: Summary of the Apriori Association Rules: Number of Rules: 23351 Summary of the Measures of Interestingness: support confidence lift Min. :0.1250 Min. :1 Min. :2.667 1st Qu.:0.1250 1st Qu.:1 1st Qu.:2.667 Median :0.1250
2018 Apr 10
4
convert numeric variables to factor
You are missing a comma between "MARITAL" and "JOBSTATUS". On Tue, Apr 10, 2018 at 10:27 AM, Saif Tauheed <saif.tauheed at gmail.com> wrote: > I run this command for converting the numerical variable into factor. > However, I get the following error message. > > > cols<- c(?GrMM", "RELG", "CASTE1", "SECTOR",
2011 Dec 11
2
as.factor does not work inside function
Hi, I am trying to write a function do cast columns of data frame as factor in a loop, the source is : as.factor.loop <- function(df, cols){ if (!is.null(df) && !is.null(cols) && length(cols) > 0) { for(col in cols) { df[[col]] <- as.factor(df[[col]]) } } } source('D:/ambertuil.r') x <- 1:5 y <- 2:6 df <- data.frame(x=x, y=y)
2008 Dec 23
1
MCP51 sound card can be recognized but can't work
Hi all, I recently install CentOS 5.2 on my Asus Z99M laptop, everything seem to works fine but there is some problem with the sound card. The system can recognized the hardware and I can even run the Realplayer for linux without any error messages, but it can't make any sound, or even noise. I have googled a lot but still can't get it work. Will anyone please guide me to solve this
2012 Mar 26
2
trellis plot
Hi everyone, I am just trying to figure out how to do a xyplot where in addition to dots and lines I can change dots' colors according to an individual variable (e.g., marital disruption across time, a dummy 0/1). When I use "groups" specification (see below), I get two different lines for each individual based on groups, and what I want is to get one line connecting dots, and
2009 Jan 08
3
How to select a block in gnome-terminal or in vim
Hi, When I connect to a Cisco router and issue the show ip interface command, the output is similar as follows: Interface IP-Address OK? Method Status Protocol Ethernet0/0 192.168.12.1 YES NVRAM up up Serial0/0 unassigned YES NVRAM administratively down down Ethernet0/1 unassigned YES NVRAM administratively down
2008 Dec 24
4
Please share some RHCE/RHCT learning material
Hi all, will anyone please share me some material on RHCE/RHCT, I am fighting for the Quality Engineer in RedHat, and that may help a lot in the coming written exam. Many thanks and Merry Christmas! Cheers, Xiaobo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081224/57086264/attachment-0003.html>
2018 Apr 10
0
convert numeric variables to factor
Thank you very much. After that I have the following error: cols<- c("GrMM", "RELG", "CASTE1", "SECTOR", "SECTOR4","AGE", "MARITAL", "JOBSTATUS", "ENG", "EDU", "PARENT_EDU", "MASSMEDIA_F", "MASSMEDIA_M", "HomeComputer", "HomeInternet") > for
2017 Dec 14
1
Aggregation across two variables in data.table
Dear all, I have a data.frame that includes a series of demographic variables for a set of respondents plus a dependent variable (Theta). For example: Age Education Marital Familysize Income Housing Theta 1: 50 Associate degree Divorced 4 70K+ Owned with mortgage 9.147777 2: 65
2018 Apr 09
2
convert numeric variables to factor
Hello, Though Bert's and David's answers are what you should do, note that some R functions that need factors will coerce their input variables when necessary. Have you tried to run the code you haven't posted without coercing to factor? It might run... Hope this helps, Rui Barradas On 4/9/2018 6:11 PM, David L Carlson wrote: > Try the help files: > > ?factor >
2010 Aug 01
3
Can saved R object .RData files be loaded by more than one R sessions for read only purpose?
Especially for large ff objects. Xiaobo.Gu [[alternative HTML version deleted]]
2008 Jan 29
2
A good way to store some profile-information?
What would be a good way to store profile-information, in the cases where the information can be selected from a list of choices? i.e. gender (male,female), religion or marital status. The lists don''t change, so putting that in the db doesn''t seem like a good idea, but how do i put something like this in a model? --~--~---------~--~----~------------~-------~--~----~ You received
2013 Apr 16
1
assistant
Dear Sir/Ma, I Adelabu.A.A, one of the R-users from Nigeria. When am running a coxph command the below error was generated, and have try some idea but not going through. kindly please assist: > cox1 <- coxph(Surv(tmonth,status) ~ sex + age + marital + sumassure, X) Warning message: In fitter(X, Y, strats, offset, init, control, weights = weights, : Ran out of iterations and did not
2018 Apr 10
0
convert numeric variables to factor
I run this command for converting the numerical variable into factor. However, I get the following error message. > cols<- c(?GrMM", "RELG", "CASTE1", "SECTOR", "SECTOR4","AGE", "MARITAL" "JOBSTATUS", "ENG", "EDU", "PARENT_EDU", "MASSMEDIA_F", "MASSMEDIA_M",
2013 Oct 04
2
pregunta
En el libro EPICALC (pagina 229-230) en el que está el siguiente script, todo nos funciona bien, pero cuando vamos a life table, ya allí no avanza, lo señalamos en el script, por favor quizá se nos haya ido algún detalle, pero fuimos siguiéndolo por el libro paso a paso y no no hemos percatado Todos los de el paquete survival de la ayuda del R funcionan perfectamente
2010 Dec 24
1
How to specify ff object filepaths when reading a CSV file into a ff data frame.
Hi, The read.csv.ffdf function in package ff will create the ff object physical file in the default directories, I am trying to let the files created in the paths users specify, I think the point is to make use of the asffdf_args parameter, I have a test CSV file named D:\rtemp\fftest.csv, the content of the file is as following: col1,col2,col3 1,"amber",2.4 2,"linda",4.5
2015 Dec 17
5
Assistance much appreciated
I have been struggling with this error message - and think I finally understand it's context. Start Line by line debugging shows me the function works: ... > saveRDS(val, mapfile) > val $variables $variables$IANA_HTTP_status_code_db [1] 0 1256 $variables$IANA_URI_scheme_db [1] 1256 3458 $variables$table_of_HTTP_status_codes [1] 4714 830 $references named list() $compressed