minimization function, using a shortcut instead of the
classical complete and exhaustive algorithm. This new function is faster and
uses significantly less memory (50 MB compared to 1.5 GB for large datasets).
It should appear soon on CRAN, feedback is welcome.
--
Adrian Dusa
Romanian Social Data
, wibble, pos=3) # always does what you want, whereas:
text(x, 0.4+my.values, wibble) # doesn't look very nice
HTH,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
(i.e., what elements were combined in it) and get the value
of the sum for each combination.
How should I do it?
Thanks a lot!
Dimitri
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210
test, and the recommended ones are:
Ansari-Bradley for two groups (i.e. for t.test)
Fligner-Killeen for three or more groups (i.e. for ANOVA)
hth,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
the position of
the slices the way they are. My geometry seems to be poor towards
innexistent :)
All the best,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
Dear all,
Is it possible to add a list in the data folder when creating a new package?
In other words, is data in packages restricted to data.frame only?
Thank you,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21
Charilaos Skiadas skiadas at hanover.edu writes:
[...]
I save as csv format all the time, and it offers me a choice to use
the labels instead of the corresponding numbers. So you shouldn't
have to lose that labelling.
This is interesting and I tried to do this as well; I don't have access
rather an overkill.
In the mean time, I use portable files or export in different formats
using a comercial software like StatTransfer (this one is really good).
Thanks,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21
[[alternative HTML version deleted]]
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
)
# For 3 columns in base 3
myfunc(3, 3)
hth,
Adrian
On Thursday 22 February 2007 15:00, Adrian Dusa wrote:
Hello Serguei,
Is this what you need?
myfunc - function(x) {
create - function(idx) {
rep.int(c(rep.int(0,2^(idx-1)), rep.int(1,2^(idx-1))),
2^x/2^idx
On Tuesday 30 January 2007 16:38, Peter Dalgaard wrote:
[...snip...]
Is this it?
as.vector(outer(0:2,seq(4,22,9),+))
[1] 4 5 6 13 14 15 22 23 24
Indeed it is :))
Thanks,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel
. This approach openes the way for _exact_
multi-value minimizations, and an even better (and faster) approach is
searched for the future versions.
Best,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618
it does not use the sum:
apply(mat2, 1, function(x) which(apply(mat1, 1, function(y) all(x == y)) ==
TRUE))
-Christos
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
,] 49 50 51 52
[12,] 45 46 47 48
[13,]1234
[14,] 29 30 31 32
[15,] 37 38 39 40
which(apply(matrix(mat2 %in% mat1, dim(mat2)), 1, all))
[1] 1 2 4 8 13
HTH,
Marc Schwartz
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
= /)
match(ind2, ind1)
Oh yes, I thought about that too.
It works fast enough for small matrices, but I deal with very large ones.
Using paste() on such matrices decreases the speed dramatically.
Thanks again,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025
,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
you so much Jim, this made my day :))
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
(apply(mat1, 1, function(y) {
sum(x == y)
}) == ncol(mat1))
})
The code is vectorized, but I wonder if there is a simpler (hence faster)
matrix computation that I miss.
Thank you,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector
that
the code in glmmPQL was general enough to be applicable).
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch
the workarounds I posted:
fun.2(values ~ group)
Brilliant :)
Super fast change, this is why I love R.
Cheers,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
in a data.frame, with no avail.
I did find a hack, creating two new vectors inside the function and creating a
fresh formula, so I presume this has something to do with environments.
Could anybody give me a hint on this?
Thank you,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu
- function(formula) {
mc - match.call()
mc[[1]] - as.name(oneway.test)
eval.parent(mc)
}
fun.3(values ~ group)
fun.4 - function(formula) {
do.call(oneway.test, list(formula))
}
fun.4(values ~ group)
On 1/9/07, Adrian Dusa [EMAIL PROTECTED] wrote:
Hi all,
I want
, but they do like having it all-in-one.
Best regards,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch
Dear helpers,
I have a question about the SVG device. It works fine, the SVG file is
indeed produced, only the graphic differs from the R window.
In the SVG file the dashed line is just a regular plain one. My toy example is:
library(RSvgDevice)
devSVG(myplot.svg, width=10, height=10)
plot(1:10)
Sorry for duplicating the message, the previous had an unintended
subject line...
Dear helpers,
I have a question about the SVG device. It works fine, the SVG file is
indeed produced, only the graphic differs from the R window.
In the SVG file the dashed line is just a regular plain one. My toy
- c('a', 'b', 'a', 'c', 'b', 'b', 'a', 'a', 'c')
library(car)
num - recode(let, 'a' = 1; 'b' = 2; else = 3 )
Or, since the initial vector has letters only:
as.numeric(factor(let))
[1] 1 2 1 3 2 2 1 1 3
Hth,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025
,...{{dropped}}
--
Adrian DUSA
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
050025 Bucuresti sectorul 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo
should yield a value of 2 for the eB
combination:
table(my.data$var1, my.data$var2)
A B C D E
a 1 0 0 0 0
b 0 0 0 1 0
c 0 0 0 0 1
d 0 0 1 0 0
e 0 2 0 0 0
Thanks in advance,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
question: how would the weight variable be applied to correlate
two numerical variables?
Best,
Adrian
On Saturday 14 October 2006 16:00, Gabor Grothendieck wrote:
Try this:
table(lapply(my.data, rep, my.data$weight)[1:2])
On 10/14/06, Adrian Dusa [EMAIL PROTECTED] wrote:
Dear all
On Saturday 14 October 2006 16:52, Gabor Grothendieck wrote:
Try this (and round the result to make to it comparable to your
calculation):
xtabs(weight ~ var1 + var2, my.data)
Oh yes... :)
It was so simple. Thanks for the cov.wt() as well.
Regards,
Adrian
--
Adrian Dusa
Romanian Social
a11 a12
a21 a22
a21 a22
Thanks a lot for any help.
best
--
Adrian DUSA
Arhiva Romana de Date Sociale
Bd. Schitu
--
Adrian DUSA
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
050025 Bucuresti sectorul 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
2.3.1, tcl and tk version 8.4 (dev packages installed as well).
Thanks in advance,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
On Friday 18 August 2006 10:08, Romain Francois wrote:
Le 17.08.2006 20:56, Adrian Dusa a écrit :
[...]
It breaks also every usage of the google feeling lucky default behaviour
which is really useful I think.
There are R related firefox search plugins on mycroft. Find more info
=Rhelp02aquery=;
From now on, every keyword(s) you type in the address bar will take you
directly to the first page of hits at http://finzi.psych.upenn.edu
I found this very helpful.
Best,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax
in the address bar it takes me to www.r-project.org
:)
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https
/
Then:
$ sudo apt-get update
$ sudo apt-get install r-cran-rcmdr
(as Dirk Eddelbuettel advised). It _should_ work flawlessly.
HTH,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int
questions:
- is it mandatory to document _all_ functions (will the source package be
rejected by CRAN if otherwise)?
- if not, is there a way to tell R which are the functions that I don't want
to document?
Thanks,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025
the posting guide.
`R-devel is intended for questions and discussion about code development
in R.'
Thank you very much for your reply, I'll post to R-devel from now on.
It seems to me that name spaces are the solution for my problem.
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1
appreciated,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
was out of energy after several hours of
struggling with this.
Best,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help
might reconsider whether its ok
for you to just pass bb.
Aah-aaa!! :)
So that's the way to do it...
I don't know how many times I read the help from apply and I missed it every
time.
Well, I learned many things today, I feel much better now :)
Thank you,
Adrian
--
Adrian Dusa
Romanian
/ dapper/
This repository has lots of other packages compiled for Ubuntu, feel free to
take a look.
HTH,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
]) is simpler but just
for the sake of it, since we're dealing with matrices it is not a case of
sapply but of _apply_:
apply(M2, 1, function(x) M1[x[1], x[2]])
My 2c,
Adrian
--
Adrian DUSA
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
050025 Bucuresti sectorul 5
Romania
Tel./Fax: +40
am new to analysis of all-categorical data).
Thanks in advance!
Kevin
--
--
Kevin Emerson
Center for Ecology and Evolutionary Biology
1210 University of Oregon
Eugene, OR 97403
USA
[EMAIL PROTECTED]
--
Adrian DUSA
])
}
p.interaction - apply(all.pairs, 1, myfun)
Actually, you don't need as.matrix there, just cbind all your vectors to
obtain the final dataframe:
finally - as.data.frame(cbind(marker1, marker2, p.interaction))
Adrian
On Monday 17 July 2006 18:40, Adrian DUSA wrote:
Hi Kevin,
Regarding your first
.
Regards,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
___
R-packages mailing list
[EMAIL PROTECTED]
https://stat.ethz.ch/mailman
haven't done anything in particular).
When it didn't work, I remember I checked the permissions and everything was
OK. Really have no idea what went wrong, but now it works.
Best,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax
the path to the installed packages (and all depending
packages are installed):
R_LIBS=${R_LIBS-'/home/adi/Installed/R/site-library:/usr/local/lib/R/site-library:/usr/local/lib/R/library'}
Is there something changed about defining R_LIBS?
Thank you in advance,
Adrian
--
Adrian DUSA
Romanian Social
(temp[, var.name])
}
This should perfom the same thing as:
table(bb$q2)
Is this possible?
TIA,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
Thanks, it's exactly what I want.
Adrian
On Friday 31 March 2006 12:59, Adaikalavan Ramasamy wrote:
Try
test.fn - function(obj.name, var.name=q2){
stopifnot( is.character(obj.name) is.character(var.name) )
x - subset( get(obj), select=var.name )
table(x)
}
--
Adrian DUSA
get the correct result...
if (any(nchar(aa) 3)) {
aa[-which(nchar(aa) 3)]
} else {
aa
}
[1] test name
Thanks in advance,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618
On Friday 10 March 2006 16:31, Uwe Ligges wrote:
[...]
aa[!(nchar(aa) 3)]
Thanks very much, I got it now.
All the best,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
welcome.
I hope this helps you,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https
).
Future versions of this package will have more functions to address the
fuzzy-set minimization problems, as well.
Big thanks to the r-help list members, supportive as ever, especially to Gabor
Grothendieck and Martin Maechler for excellent ideas in the key parts of the
algorithm.
--
Adrian DUSA
function
system.time(all.expr(LETTERS[1:12]))
[1] 6.12 0.39 6.54 0.00 0.00
system.time(all.expr2(LETTERS[1:12]))
[1] 8.62 0.27 8.91 0.00 0.00
If anyone interested, I uploaded both functions here:
http://www.roda.ro/all.expr.R
Thank you,
Adrian
--
Adrian DUSA
Arhiva Romana de Date Sociale
Bd
[start.row:end.row, idk[ , k]] - tt
start.row - end.row + 1
}
## How can one modify return.matrix using apply on idk?
}
return.matrix[is.na(return.matrix)] -
return.matrix
}
}
Thank you in advance,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1
Adrian DUSA adi at roda.ro writes:
I'm trying to develop a function [...snip...]
Sorry for the traffic, I forgot to say that I'm using
library(combinat)
for the combn function...
Thank you,
Adrian
__
R-help@stat.math.ethz.ch mailing list
https
is:
## ...
for (k in 1:ncol(idk)) {
end.row - start.row + nrow(tt) - 1
return.matrix[start.row:end.row, idk[ , k]] - tt
start.row - end.row + 1
}
## ...
I'd like to use apply on the idk matrix (to get rid of the for loop) and
write the contents of tt in the result.matrix...
Best,
Adrian
--
Adrian
, function(x) c(0, 1, NA)))
Best,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https
possibility to vectorize this for loop?
(sometimes I have hundreds of columns in the aa matrix)
Many big thanks in advance,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
Ted.Harding at nessie.mcc.ac.uk writes:
[...]
The solution I finally opted for, and still use,
is based (in a Linux environment) on including
the following code in your .Rprofile file:
.xthelp - function() {
tdir - tempdir()
pgr - paste(tdir, /pgr, sep=)
con - file(pgr, w)
source).
R.Version()
$platform
[1] i686-pc-linux-gnu
$arch
[1] i686
$os
[1] linux-gnu
$system
[1] i686, linux-gnu
$status
[1]
$major
[1] 2
$minor
[1] 2.1
$year
[1] 2005
$month
[1] 12
$day
[1] 20
$svn rev
[1] 36812
$language
[1] R
Thank you,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1
) that the first and third rows differ on.
I could try to do that myself, but I don't know where to find the Fortran
code daisy uses.
Thanks for any hint,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618
The daisy function is _very_ good!
I have been able to use it for nominal variables as well, simply by:
daisy(input)*ncol(input)
Now, for very large number of rows (say 5000), daisy works for about 3
minutes using the swap space. I probably need more RAM (only 512 on my
computer). But at least I
[!logical.result] - x
minimized[unique(as.vector(to.be.compared[compare.minimized, ]))] - TRUE
if (sum(minimized) 0) {
input - rbind(input[!minimized, ], unique(t(result)))
}
}
## code end
Any suggestion is welcomed, thank you very much in advance.
Adrian
--
Adrian DUSA
Romanian Social Data
}
colnames(input_mat) = NULL
A little late, but wouldn't be more simple to create input_mat with:
N - 4
input_mat - matrix(NA, ncol=N, nrow=2^N)
for (i in 1:N) input_mat[,i] - c(rep(0, 2^(N - i)), rep(1, 2^(N - i)))
HTH,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
certainly use it.
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
to be,
you can just go find and install that contributed package!
Duncan Murdoch
I got it, it's logic. Well, one could always use Hmisc which does very well
these things.
Thank you again,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel
and column dominance, but (as I am
not a computer scientist), I am unable to apply it.
If you have a better solution for this, I would be gratefull if you'd share
it.
Thank you in advance,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel
]]
[1] 0 1 1
Also, thanks to Duncan and yes, I do very much care finding the smallest
possible solutions (if I correctly understand your question).
It seems that lp function is very promising, but can I use it to find _all_
minimum solutions?
Adrian
--
Adrian DUSA
Arhiva Romana de Date
efficient way to loop over all
possible columns (using perhaps the apply family).
Thanks again,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
than the number of columns, and applying the two above principles will make
the matrix even more simple.
There are algorithms written in other languages (like Java) freely available
on the Internet, but I have no idea how to adapt them to R.
Best,
Adrian
--
Adrian DUSA
Romanian Social Data
/329/webslides/Topic5-QuineMcCluskey/sld079.htm
Best wishes,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
__
R-help
:
[,1] [,2]
[1,]13
[2,]23
which says that rows 1 and 3 of mtrx form one solution
and rows 2 and 3 of mtrx form another solution.
I'm speechless.
It is exactly what I needed.
A billion of thanks!
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025
modified Responent's gender into Respondent's
gender (the previous missed a d). The trouble I'm having is to return the
modified object, with the modified labels. It should be easy, I feel it, but
I just can't get it.
Thank you in advance,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1
On Friday 07 October 2005 20:55, Sundar Dorai-Raj wrote:
Adrian DUSA wrote:
[...snip...]
Hi, Adrian,
You need to assign fix(dataf) to something:
my.data - data.frame(age=c(24,35,28), gender=c(Male, Female, Male))
require(Hmisc)
label(my.data$age) - Respondent's age
label(my.data$gender
specified I
run R under Linux (Kubuntu 5.04, KDE). And I also knew that the Linux
interface is not as developed as the Windows one, so it's probably not
possible yet.
Thanks for everything,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel
of a certain width and height:
X11(width=10, height=5)
and I would like these to be centimeters, rather than inches.
Thank you,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
also thought about transforming, but I was curious if
there's an already built in argument.
Best,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
Adrian DUSA dusa.adrian at gmail.com writes:
I am trying to use the RSvgDevice package to produce some SVG graphs which I
want to edit with Inkscape 0.42.
[...snip...]
Argh, a minute after posting a find out the solution here:
http://www.stat.auckland.ac.nz/~paul/Talks/gridSVG/slide8.html
, fg = black, onefile=TRUE, xmlHeader=TRUE)
with the same result.
Could you please point me to the right direction, please?
Thank you in advance,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest
Romania
Tel./Fax: +40 21 3126618 \
+40 21
On Thursday 14 July 2005 00:51, Peter Dalgaard wrote:
Adrian Dusa [EMAIL PROTECTED] writes:
...snip...
This comes up every now and then, and while it seems that everyone
thinks fill patterns would be nice to have, I suspect that every
attempt to actually implement it have gotten killed
, for a black
and white printer?
TIA,
Adrian
--
Adrian Dusa
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http
On Wednesday 13 July 2005 17:36, Knut Krueger wrote:
Adrian Dusa schrieb:
Is it possible to draw barplots using a texture instead of colors, for a
black and white printer?
barplot(height,.,density=c(4,6,8,10) ...)
for each bar one number - this example is for a barplot with 4 bars
Dear R list,
I have a dataset with a column which should be read as character, like this:
name surname answer
1 xx yyy 00100
2 rrr hhh 01
When reading this dataset with read.table, I get
1 xx yyy 100
2 rrr hhh 1
The string column consists in answers to multiple choice
On 7/10/05, alejandro munoz [EMAIL PROTECTED] wrote:
Adrian,
To prevent coercion to numeric, try:
mydata - read.table(myfile, colClasses=character)
HTH.
alejandro
On 7/10/05, Adrian Dusa [EMAIL PROTECTED] wrote:
Dear R list,
[...snip...]
Thank you all, I got it.
This is my
--
Adrian Dusa
Romanian Social Data Archive
Bd. Schitu Magureanu nr.1
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com
On 15 Apr 2005 13:53:32 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote:
Adrian Dusa [EMAIL PROTECTED] writes:
Hi,
I'm using R for some undergraduate lectures, reaching the t tests.
No matter what conf.level one specifies in the syntax, the output always
shows
the 95 percent
if there is an already built function.
Regards,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
Bd. Schitu Magureanu nr.1
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http
John Dougherty jwd at surewest.net writes:
On Thursday 24 February 2005 04:13, Adrian Dusa wrote:
...
You need to check your font installation. Be sure the X-11 fonts are
installed.
XFree86-fonts-75dpi-4.3.99.902-30
XFree86-fonts-100dpi-4.3.99.902-30
Should both be on your
Prof Brian Ripley ripley at stats.ox.ac.uk writes:
On Tue, 22 Feb 2005 Cedric.Ginestet at tvu.ac.uk wrote:
The R platform that I installed on my Windows XP crashes everytime that
I try to run some sophisticated graphics (e.g. Demo Graphics). Is that
to do with the configuration? Shall
in manually)
Is it possible to read a CD/structure of folders in such a way?
Thank you for any suggestion,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd.
Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
os linux-gnu
system i686, linux-gnu
status
major2
minor0.1
year 2004
month11
day 15
language R
Could you please advice?
Thank you,
Adrian
--
Adrian Dusa
Arhiva Romana de Date Sociale
Bd. Schitu Magureanu nr.1
Tel./Fax: +40 21 3126618 \
+40 21 3120210
Liaw, Andy andy_liaw at merck.com writes:
file.info() should help with some of those items.
Andy
From: Adrian Dusa
Dear R-list,
I have many files on many CDs (probably same as many of you)
and I would like
to create a database containing only a few columns
-
guide.html
~~
Adrian Dusa ([EMAIL PROTECTED])
Romanian Social Data Archive (www.roda.ro)
1, Schitu Magureanu Bd.
010181 Bucharest sector 5
Romania
Tel./Fax: +40 (21) 312.66.1
__
R-help@stat.math.ethz.ch mailing list
octombrie 2004 19:11
To: Adrian Dusa; [EMAIL PROTECTED]
Subject: Re: [R] console under Mandrake
Prof Brian Ripley [EMAIL PROTECTED] writes:
On Fri, 22 Oct 2004, Adrian Dusa wrote:
I recently compiled R 2.0.0 under Mandrake 9, but it won't run unless in a
terminal; is there a way to run
2004 18:27
To: Adrian Dusa
Cc: [EMAIL PROTECTED]
Subject: Re: [R] one more Rcmdr problem
I did experience the same problem.
After installing R 2.0.0 patched and downloading the source for
Rcmdr_0.99-12 from John Fox's Web page
http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/
and recompiling
1 - 100 of 112 matches
Mail list logo