Displaying 10 results from an estimated 10 matches similar to: "Retrieving sample points"
2010 Jul 01
5
identifying odd or even number
Hi, I run into problem when writing a syntax, I don't know syntax that will return true or false if an integer is odd or even.
Thanks
OYEYEMI, Gafar Matanmi
Department of Statistics
University of Ilorin
P.M.B 1515
Ilorin, Kwara State
Nigeria
Tel: +2348052278655
Tel: +2348068241885
[[alternative HTML version deleted]]
2010 Dec 30
1
Problem with my analysis
Dear R-users,
I have problem or at cross-road on using discrminant
analysis for my set of data. All my dependent variables are all categorical,
hence the normalty assumption is no longer valid. Is it still right to use
discrminant analysis or is there any non-parametric technique or approach to
discriminant analysis?
Thanks OYEYEMI, Gafar Matanmi
Department of Statistics
2010 Dec 30
1
Discriminant analysis
Dear R-helpers
I am having problem or reservation analyzing my data
using discrminant analysis. The problem is that all my dependent variables are
categorical which means that the normalty assumption is no longer valid. Can one
still use discrminant analysis for such data? Is there non-parametric technique
of doing discrminant analysis in R.
Thanks
OYEYEMI, Gafar
2013 Apr 19
3
Reading CSV file
I am trying to read a csv file using the code;
contol <- read.csv("RBS.csv")
This is the error message I got;
Error in file(file, "r") : unable to open connection
In addition: Warning message:
In file(file, "r") :
cannot open file 'RBS.csv', reason 'No such file or directory'
Where was the mistake?
--
OYEYEMI, Gafar Matanmi (Ph.D)
Senior
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
Hello,
(Apologies for length, wanted to get all the relevant detail in that I know
of).
I've been having a lot of trouble with some code for an inventory analysis
problem I was doing, and finally came to the conclusion that it appears
that choose() is returning incorrect values. Specifically:
-------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
2012 Sep 26
3
map two names into one
Dear R user:
I have got the following problem:
I have imported two data sets into R: one set includes price information, another one includes volume information. but I noticed the wrong data order problem in the product name,
for instance,
in one data set,
"GALAXY ACE S 5830"
in another one,
it is "S 5830 GALAXY ACE"
both represent same product. how do i map two name
2017 Oct 31
0
lasso and ridge regression
Dear All
The problem is about regularization methods in multiple regression when the
independent variables are collinear. A modified regularization method with
two tuning parameters l1 and l2 and their product l1*l2 (Lambda 1 and
Lambda 2) such that l1 takes care of ridge property and l2 takes care of
LASSO property is proposed
The proposed method is given
2006 May 26
2
combinatorial programming problem
Hola!
I am programming a class (S3) "symarray" for
storing the results of functions symmetric in its
k arguments. Intended use is for association indices
for more than two variables, for instance coresistivity
against antibiotics.
There is one programming problem I haven't solved, making an inverse
of the index function indx() --- se code below. It could for instance
return the
2003 Aug 01
1
index all subsets of k of m items?
How can I efficiently index all choose(m, k) subsets of m items taken
k at a time? For example, with (m, k) = (3, 2), the subsets are (1, 2),
(1, 3), and (2, 3). I'd like a function something like
"index.subsets(subset, k, m)" that would return 1, 2 or 3 for these 3
subsets. Examples:
index.subsets(c(1,2), 2, 3) -> 1
index.subsets(c(1,3), 2, 3) -> 2
2006 May 09
1
combn(n, k, ...) and all its re-inventions
It seems people are reinventing the wheel here:
The goal is to generate all combinations of 1:n of size k.
This (typically) results in a matrix of size k * choose(n,k)
i.e. needs O(n ^ k) space, hence is only applicable to
relatively small k.
Then alternatives have been devised to generate the combinations
"one by one", and I think I remember there has been a
quiz/challenge about 20