Displaying 20 results from an estimated 47 matches for "tabel".
Did you mean:
label
2012 Jun 26
5
chisq.test
Dear list!
I would like to calculate "chisq.test" on simple data set with 70 observations, but the output is ''Warning message:''
Warning message:
In chisq.test(tabele) : Chi-squared approximation may be incorrect
Here is an example:
tabele <- matrix(c(11, 3, 3, 18, 3, 6, 5, 21), ncol = 4, byrow = TRUE)
dimnames(tabela) <- list(
"SEX" = c("M","F"),
"HAIR" = c("Brown", &qu...
2003 Nov 12
5
repeat until function
Hi,
I'm in this situation:
I what to generate N random numbers(integer) that are different from each
other.
One suggestion:
tabel <- rep(NULL, N)
for (i in 1:N){
temp <- as.integer(runif(1,1,max))
if(temp in tabel) {
repeat (?) (temp <- as.integer(runif(i,i,max)))
until (?) ((temp in tabel) ==FALSE)
}
else{ tabel[i] <- temp}
I can't use repeat/until - don't exist....
Any suggesti...
2004 Apr 29
1
model.tabels warning refers to wrong function (PR#6839)
Full_Name: Corey A. Moffet
Version: 1.8.1
OS: Windows 2000 and RHL 9
Submission from: (NULL) (199.133.140.156)
The function model.tables.aov and perhaps other model.tables methods refer the
user to use the function se.contrasts when the design is unbalanced. The
function name is se.contrast (singular).
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
Hello all.
Sorry for reposting this message, but I accedently sent it in
HTML-format the first time.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I have made a clean installation where I uninstalled all earliere
version
of R, and I re-ins...
2007 Sep 06
1
the survey package
...using 2 criteria: region(7 values), size of locality(5 values) Using the survey pakage how can i define in a correct way this design (taking into account all 4 strata not just one as in the Survey example)
i have tried
design<- svydesign(ids=~0, strata= c(~regiune,~size_loc), data=tabel) # for 2 criteria
and got this error
Error in strata[, 1] : incorrect number of dimensions
My "tabel" looks like this:
cod cantitate pondere regiune size_loc size_hh age_hhh
740 5977.604 0.9962673 1...
2011 Jan 22
1
R TABELS
Hi
ihave one table that look like
SNP1 SNP2 SNP3 SNP4 SNP5
SIRE1 1 -1 -1 1 -1
SIRE2 1 -1 1 1 1
SIRE3 -1 -1 1 1 0
SIRE4 -1 1 1 0 1
SIRE5 -1 1 -1 -1 1
SIRE6 0 0 0 1 -1
SIRE7 -1 0 -1 1 1
SIRE8 1 -1 NA 0 NA
SIRE9 -1 1 1 -1 -1
SIRE10 1 1 1 1 1
table 2 only one line
SNP1 SNP2 SNP3 SNP4 SNP5
SIRE100 -1 -1 1
2001 Dec 19
2
R strings from C
Hi,
I am trying to study R internal behaviour. So long, I have not
succeeded to access the value of R strings from C.
I use:
void salvesta_tabel(
SEXP data_frame,
SEXP file
)
{
printf( "nimi %d\n", (R_CHAR)( file));
}
and from the R side:
salvesta.tabel <-
function (x, file = "") {
.Call( "salvesta_tabel", x, file)
}
When calling from R as
salvesta.tabel( x, "file")...
2006 Jul 27
0
newbie
Dear guest,
I have 2 tabels with a has_and_belongs_to_many in the model.
I also have created a join tabel with has the 2 primary keys of the
other tabels (foreign keys).
Now i want to add a record in in my join tabel. How can i do that ?
Already tanks for your help,
Robert
--
Posted via http://www.ruby-forum.com/.
2006 Nov 06
0
Hmisc, latex cdec not as expected
Hello all.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I have mad a clean installation where I uninstalled all earliere version
of R, and I re...
2007 Sep 06
3
Survey package
...Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1
E.g: tipping
design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh + size_hh, data= tabel)
and then weights(design)
gives me: 1,1,1,1,1,1,1,1,1,1,1,........... for each element
Why is that? What do i do wrong?
Thank you!
---------------------------------
[[alternative HTML version deleted]]
2000 Sep 07
6
Writing a tabel in LaTeX-format
I have a vague recollection of seeing a R-function
that will output a table or matix in a format suitable
for the tabular enviroment in LaTeX.
But I cannot find it. Any hints?
Bendix
----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
2005 Dec 27
3
What is the best way of setting up the following model:
...sollution would be for
the following:
Lets say i want to setup a CRM system and i have to sorts of contacts:
Customers and Prospects. A part of the info is the same (addresses,
company info etc) for both customers an prospects and a part is
different.
What i would normally do is defining tree tabels: organisations for the
generic info, customerdetails for the customer specific info and
prospectdetails for the prospect details.
Would you also do this in a Rails application?
and if so, how would the models look like? would the customer and
prospect model both use the same table ''or...
2009 May 29
3
IP-Address
Hi,
Is there any way to sort a tabel with a colum with IP-address?
table:
id rank color status ip
138 29746 yellow no 162.131.58.26
138 29746 red yes 162.131.58.16
138 29746 blue yes 162.131.58.10
138 29746 red no 162.131.58.17
138 29746 yellow no 162.131.58.14
138 29746 red no 162.131.58.13
138 29746 yellow no 162.132.58.15
1...
2012 Apr 01
3
namespace hierarchy
Hi,
I'm migrating from Courier to Dovecot and would like to keep the original
namespace and add two new ones on the new server.
There's only one namespace in Courier which is "INBOX." . The seperator is "."
In the new server I would like to have 3 namespaces (private, public, shared)
and use "/" as separator. Is it possible to keep "INBOX." for
2006 Feb 26
5
Help On Associations Extension.
Hi to all,
I''m needing some help here ... I want to do an extension on a
has_and_belongs_to_many to build a custom add method to the
association.
i have a table locations that has a many-to-many association with a
tags tabel using a locations_tags table.
i want to add a method to the Location has_and_belongs_to_many
association so that i can do something like this on the location
model:
myLocation.tags.add_by_names ''tag1 tag2 tag3''
On the extension i want to do something like this:
class Locatio...
2010 Jun 06
2
How to make an SQL querey Within a partial, is that possilbe??
...so
please excused nescience and clerical mistake.
I''ll try to explain my problem as good as possible.
I try to implement a page where a profil is shown, this is searched by
ID.
within this profil page I want to include the comments that refer to
this profil.
In the back I have to database tabels, the one "profiles" and a second
"comments".
In the second one I ve the column "profil_id" because my Idea was to
search for the Id of the profil which is shown and than to display the
comments in which the profil_id is the same.
I already tried to implement this Ide...
2008 Dec 06
2
How to calculate words in column?
...owing table:
Class_ID Test Passed_Count
1 1 Paper 2
2 1 Oral 1
3 3 Oral 1
4 3 Paper 3
Passed_Count column is just the Value, how many people passed the exam. In the
tabell, they are 2 people passed the paper test (Result=Passed).
I hope someone can help me, Or maybe there is an example that i can see.
Thank you in advance
2006 Jun 17
0
Some Rails and ZenTest questions... [long]
...repetitive between controller
trees
def setup
return if convert_classname == File.basename
(__FILE__,"_abstract.rb")
@controller_class_name = File.basename
(__FILE__,"_test_abstract.rb").classify
super
end
def convert_classname
self.class.to_s.tabelize.singularize
end
Notice that none of the code is different for the different
controller tress, but it does make use of the magic __FILE__.
I''ve tried introducing another layer between ControllerTestCase and
the abstract per controller test cases, like so:
class MyRailsControlle...
2009 Jul 22
1
Routing issue - Revisited
...src 192.168.1.1
169.254.0.0/16 dev eth3 scope link
default via 173.11.51.46 dev eth2
# ip route show table cable
173.11.51.44/30 dev eth2 proto kernel scope link src 173.11.51.45
192.168.4.0/24 dev eth0 proto kernel scope link src 192.168.4.1
default via 173.11.51.46 dev eth2
# ip route show tabel T1
67.152.166.0/27 dev eth3 proto kernel scope link src 67.152.166.2
192.168.4.0/24 dev eth0 proto kernel scope link src 192.168.4.1
default via 67.152.166.1 dev eth3
Any insight would be greatly appreciated! I have been pecking away at it
and I just can't seem to get it right.
Thanks -...
2006 May 16
9
Array in database?
Hello, I wanted to know how to make an aray in the database. I''m making
a "backpack" for my game. So i''m gana use it in a array.
--
Posted via http://www.ruby-forum.com/.