Displaying 20 results from an estimated 9000 matches similar to: "combination value"
2011 Nov 09
4
raking weighting
Hi everyone,
Does anyone know if there is a package to compute raking weights using
R? What I need is to create a variable with weights base in some
demographic variables (e.g. sexo, age group, area) using the raking
procedure.
Thank you in advance!
--
Sebasti?n Daza
2011 Feb 02
2
grey scale graphs
Hi everyone,
Does anyone know how to get "black and white theme" (grey scale,, I
would say) graphs using lattice or ggplot2, as it is shown in this
webpage: http://lmdvr.r-forge.r-project.org/figures/figures.html?
I am using Sweave, and I cannot get that color configuration.
I have added the following option: trellis.device(color=FALSE) but I got
a pdf file with color graphs.
Thank
2012 Oct 11
2
survey package question
Hello,
I have got a cluster sample using an election dataset where I already
had the final results of a county-specific election. I am trying to
figure out what would be the best sampling design for my data.
The structure of the dataset is:
1) polling station (in general schools where people vote, for a
county, for example, there are 15 polling stations)
2) inside each polling station, there
2011 Mar 26
2
simple if question
Hi everyone,
I have just got different samples from a dataframe (independent and
exclusive, there aren't common elements among them). I want to create a
variable that indicate the sampling selection of the elements in the
original dataframe (for example, 0 = no selected, 1= sample 1, 2=sample
2, etc.).
I have tried to do it with ifelse command, but the problem is that the
second line
2011 Feb 16
1
id number by group and correlative
Hello everyone,
I am new in R and I am trying to create a id number (a correlative
sequence of numbers) by group, and a correlative sequence of numbers
inside each group (my idea is to get statistics by group without having
to aggregate the database). Here an example:
group id_group correlative_group
A 1 1
A 1 2
A 1 3
A 1 4
B 2 1
B 2 2
B 2 3
C 3 1
C 3 2
C 3 3
C 3 4
C 3
2011 Apr 03
1
style question
Hi everyone,
I am trying to build a table putting standard errors horizontally. I
haven't been able to do it.
library(memisc)
berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)
berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial")
berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial")
berk2 <-
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
2011 Apr 03
1
setCoefTemplate
Hi everyone,
I am trying to build a table putting standard errors horizontally. I
haven't been able to do it.
library(memisc)
berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)
berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial")
berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial")
berk2 <-
2011 Feb 05
1
very basic HLM question
Hi everyone,
I need to get a between-component variance (e.g. random effects Anova),
but using lmer I don't get the same results (variance component) than
using random effects Anova. I am using a database of students, clustered
on schools (there is not the same number of students by school).
According to the ICC1 command, the interclass correlation is .44
> ICC1(anova1)
[1] 0.4414491
2011 Jan 31
1
rj packages and eclipse
Hi everyone!
Does anyone know how to install the rj package in Windows (7)? I am
trying to set up eclipse, but I got [INFO] The R package 'rj' is not
available, R-StatET tools cannot be initialized.
Thank you in advance!
2011 Jan 21
3
Function comparable to cutpt.coxph from "Survival Analysis using S"
Dear Mrs Rachel Pearce,
I am looking for a function "cutpt-coxph" in R - like you did some years ago.
How have you solved the problem? Have you found it or a similar function?
thank you, Sincerely, Friederike
"The title says it all really; I am looking for a function along the lines of
cutpt.coxph as described in "Survival Analysis Using S" (Tableman and
Kim), Chapter
2011 Jan 31
2
Latent Class Logit Models in discrete choice experiments
Dear R users,
I would like to perform Latent Class Logit Models for the analysis of choice experiments in environmental valuation.
This kind of analysis is usually performed with NLogit Software (http://www.limdep.com).
I attach the results I usually obtain using NLogit and NLogit model specifications.
For Random parameter models and Logit Models I usually perform my analysis with the package
2006 Apr 05
1
Combination of Bias and MSE ?
Dear R Users,
My question is overall and not necessarily related to R.
Suppose we face to a situation in which MSE( Mean Squared Error) shows desired results but Bias shows undesired ones, Or in advers. How can we evaluate the results. And suppose, Both MSE and Bias are important for us.
The ecact question is that, whether there is any combined measure of two above metrics.
Thank you so
2010 Jun 02
3
writing a matrix in a file
Hi,
I want to write a matrix (n*m) in a file (Text file) such that the file
will be as Result file (below).
I use the below command but it write all numbers in one column,
> write(paste(matrixname),file="test.txt",append=TRUE)
how can I do this?
Result file:
5 5 -1 -1 -1 -1
8 8 2 7 6 5
6 6 8 2 7 5
Matrix:
[,1] [,2] [,3] [,4] [,5]
2009 Jun 10
1
R: Best way to plot a Matrix of all possible pair combinations
Hallo R Users,
Please help
I have some distance matrix data like
> M[1:10,]
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 0.8750000 0.5000000 0.5000000 0.3750000 0.6250000 0.00000000
[2,] 0.8928571 1.0000000 0.0000000 0.8928571 0.1071429 0.00000000
[3,] 0.8928571 1.0000000 0.0000000 0.8928571 0.1071429 0.00000000
[4,] 0.8928571 1.0000000 0.0000000 0.8928571
2011 May 18
1
data network format and grouping analysis
Hi everyone,
I have a dataset of friendship with this format:
ego alter
4746 1 2
9742 1 3
14738 1 NA
4747 2 NA
9743 2 3
14739 2 1
4748 3 13
9744 3 5
14740 3 14
4749 4 NA
9745 4 NA
14741 4 NA
4750 5 NA
9746 5 13
14742 5 10
4751 6 12
9747 6 7
...
NA means that individuals don't select any
2010 Nov 19
3
Sweave Dynamic Graph Question
i have a time Series of IBM closing px from 1/1/2000 to today
I want to graph the time serie by dividing the graph by year and month
all the monthly graphs with the same year will go to one page. so from
1/1/2000 to 11/19/2010. i will have
11 pages, and each page will have 12 graphs (jan to dec) except for 2010.
I am able to do it in R, but when i use sweave, I can only print the last
page.
2014 Oct 22
2
[LLVMdev] Fetching the functions in C files
Thanks Markus.
Having llvm-as to turn the extracted function.bc file to .ll caused an
error saying:
*llvm-as-3.4: function_bc:1:1: error: expected top-level entity*
*BC! #AI29bEBB2I (some more binary)*
This error is just the same error that I received while using llvm-extract
on a .c file (not .bc or .ll).
Do I have to include other things in the command ? I mean generating a
function.ll
2011 Mar 17
5
Spatial cluster analysis of continous outcome variable
Dear R Users, R Core
Team,
I have a two dimensional space where I measure a numerical value in two situations at different points. I have measured the change and I would like to test if there are areas in this 2D-space where there is a different amount of change (no change, increase, decrease). I don´t know if it´s better to analyse the data just with the coordinates or if its better to group them
2005 Sep 23
2
multifigure question
I would like to put three figures next to each other in
a figure. I have been reading the introduction to R,
section 12 several times now, and I still can't make heads
or tails out of it.
Lets say that I have three dataframes a, b, c, and I want
to plot a$V1, b$V1 and c$V1 in separate plots simply using
plot(), how do I put them next to each other?
I am sorry if this is a FAQ, but I cannot