Hi R-helpers,
I am new in programming and R, so this may be basic. I need to speed up
a procedure where I minimize some function on different partitions of
the data. I can do this with a loop, as for instance in:
i-1
meanmin-Inf
while (ilength(x)) {
ind-xxord[i]
if (some
hi all, sorry for this basic question, I think I know I should use ?apply, but
it is really confusing me...
I want to create a matrix by comparing two vectors. Eg:
test-seq(1:10)
fac-c(3,6,9)
and i want to end up with a 10*3 matrix with a boolean that tests if testfac,
so something like:
1
Dear Rexperts,
lately I'm having troubles installing the rgl package via
install.packages(rgl, dependencies=T) in the R 2.4.0
backport running under Ubuntu 6.06 LTS. I get the following
error messages, despite having installed libx11-dev (as
recommended in a similar post about SUSE
Hi!
I'm new here. Want to ask two possibly quite basic questions:
1. How can I clear all objects in one stroke?
how about
rm(ls())
try
rm(list=ls())
Bjorn
2. How can I perform a regression with independent variables specified by
an object?
Äh, no spontaneous idea.
Greetings,
|
| But since foreign is part of R, installing a new version of R will
| update the standard and recommended packages including foreign. So
| this suggests that what is being picked up is another copy
of foreign
| from another library.
Good point.
As I recall, Christian always
I am running R on ubuntu dapper. The version that is in the ubuntu
repos is 2.2.1, so I decided to upgrade by adding
deb http://cran.R-project.org/bin/linux/ubuntu dapper/
to my sources.list, as advised on the web page. After sudo apt-get
update and upgrade, I have version 2.3.1. However,
hi,
i am new here and wanted to know, before i start learning yet another
statistical package:
I want to estimate a system of equations that is non linear in the parameters,
using 3SLS. However, i will probably have to constrain some of the parameters
to be between, say, zero and one. Is