Displaying 20 results from an estimated 38 matches for "attenka".
2010 Jun 11
1
glm-test?
...ould like to test, whether a sample distribution differs significantly from a population distribution. They are not normally distributed. How should I proceed? Using somehow glm-models? How?
The population and the sample data are here. They can be loaded using the load-command.
http://users.utu.fi/attenka/D_Pop
http://users.utu.fi/attenka/D_Samp
Best regards,
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka/
2012 Dec 17
3
How to test whether is.element() returns only TRUE's
Hi,
How can I test, whether all the values that is.element() -function returns are TRUE's
Eg.
> (is.element(c(1,4,2),c(1,2,3)))
[1] TRUE FALSE TRUE
This doesn't work:
> (is.element(c(1,4,2),c(1,2,3)))==TRUE
[1] TRUE FALSE TRUE
Best,
Atte Tenkanen, FT, MuM
http://users.utu.fi/attenka/
2006 Mar 18
2
How to divide too long labels?
Is there any possibility to divide too long text in a plot to two or more
lines, when using labels-parameter in the text()-command?
Here is an example picture:
http://users.utu.fi/attenka/253.jpeg
My example script is something like this:
text(1,0.7,labels=Chordnames[fnid(pcs%%12)]) # according to Larry
Solomon's table http://solomonsmusic.net/pcsets.htm
Chordnames is a long vector with long character strings.
Atte Tenkanen
University of Turku
Finland
2016 Apr 16
2
Mean of hexadecimal numbers
...gt;
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Sat, Apr 16, 2016 at 5:47 AM, Atte Tenkanen <attenka at utu.fi> wrote:
>> Hi,
>>
>> How would you calculate the "mean colour" of several colours, for example
>> c("#FF7C00","#00BF40","#FFFF00")?
>>
>> Yours,
>>
>> Atte Tenkanen
>>
>> _______________...
2010 Apr 16
3
Is it ok to apply the z.test this way?
...-------------------------------------------
I have marked the border values given by this script to the histogram of the original random distribution:
http://www.ag.fimug.fi/~Atte/62Hist100410.pdf
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka/
2006 Sep 08
8
Weighted association map
Could somebody program this kind of plot type to R, if none exists,
based on mds or correlation tables or some more suitable method? What
do you think about idea? Does it work? None similar or better exists?
http://weightedassociationmap.blogspot.com/
Atte Tenkanen
University of Turku, Finland
2006 Oct 06
4
Row comparisons to a new matrix?
Hi,
Can somebody tell me, which is the fastest way to make comparisons between all rows in a matrix (here A) and put the results to the new symmetric matrix? I have here used cosine distance as an example, but the comparison function can be any other, euclidean dist etc.
A=rbind(c(2,3),c(4,5),c(-1,2),c(5,6))
M=matrix(nrow=length(A[,1]),ncol=length(A[,1]))
for(i in 1:length(A[,1]))
{
for(j in
2016 Apr 16
0
Mean of hexadecimal numbers
...> > "The trouble with having an open mind is that people keep coming along
> > and sticking things into it."
> > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
> >
> >
> > On Sat, Apr 16, 2016 at 5:47 AM, Atte Tenkanen <attenka at utu.fi> wrote:
> >> Hi,
> >>
> >> How would you calculate the "mean colour" of several colours, for
> example
> >> c("#FF7C00","#00BF40","#FFFF00")?
> >>
> >> Yours,
> >>
> >> At...
2010 Jun 23
3
Wilcoxon signed rank test and its requirements
...ue location is greater than 0.4115136
What assumptions are needed for the population?
What can we say according these results?
p-value for the "less" is 0.999.
Thanks in advance,
Atte
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka/
2016 Apr 27
3
Same sum, different sets of integers
Hi,
Do you have ideas, how to find all those different combinations of
integers (>0) that produce as a sum, a certain integer.
i.e.: if that sum is
3, the possibilities are c(1,1,1), c(1,2), c(2,1)
4, the possibilities are
c(1,1,1,1),c(1,1,2),c(1,2,1),c(2,1,1),c(2,2),c(1,3),c(3,1)
etc.
Best regards,
Atte Tenkanen
2006 Jun 15
1
How to change the margin widths in png-plots?
Hello,
I have tried to change the margin widths so that mtext (here "sd of
consecutive pc intervals", look at the picture) and
plot(...,xlab="bar") fits to the picture.
Here is an example:
http://users.utu.fi/attenka/margins.png
This doesn't help:
par(mar=c(5.1, 7.1, 4.1, 2.1))
And here are the commands:
png(filename="/Users/kone/Vaitostutkimus/Pictures/
BachBWV60_sd_cons_pc_int.png", width = 2800, height = 1200,pointsize =
12, bg = "white");
plot(Compo_SD_succ_int_array_vector,yli...
2006 Jun 19
3
Border line width?
Is there some way to change the line widths of plot borders?
I couldn't find any parameters for that purpose.
Atte Tenkanen
University of Turku, Finland
2007 Jan 23
1
Scatterplot3d-proposal
Hi,
Does somebody know if there is some trick to betoken the starting points ("on the floor") of the vertical lines in scatterplot3d-plots.
I'd prefer something like that one in the example here
http://users.utu.fi/attenka/proposal3d.jpg
If this is not possible, could this option be added? Sometimes it is not easy to distinguish objects behind the others and for instance in this example picture the case nr. 21 is important.
Atte Tenkanen
University of Turku, Finland
2010 Jun 16
1
prcomp() and the lenght of PC:s
...ther there is some deeper rationale behind or is it just an established practice that the lenghts of principal components, giving for example by prcomp-function, are normalised to 1?
Best regards,
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka/
2016 Apr 16
0
Mean of hexadecimal numbers
..." first, e.g. via substring()
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Apr 16, 2016 at 5:47 AM, Atte Tenkanen <attenka at utu.fi> wrote:
> Hi,
>
> How would you calculate the "mean colour" of several colours, for example
> c("#FF7C00","#00BF40","#FFFF00")?
>
> Yours,
>
> Atte Tenkanen
>
> ______________________________________________
> R-h...
2016 Apr 28
0
Same sum, different sets of integers
...4
1, 1, 1, 2, 3
1, 1, 2, 2, 2
1, 1, 1, 1, 1, 3
1, 1, 1, 1, 2, 2
1, 1, 1, 1, 1, 1, 2
1, 1, 1, 1, 1, 1, 1, 1
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Wed, Apr 27, 2016 at 11:46 AM, Atte Tenkanen <attenka at utu.fi> wrote:
> Hi,
>
> Do you have ideas, how to find all those different combinations of
> integers (>0) that produce as a sum, a certain integer.
>
> i.e.: if that sum is
>
> 3, the possibilities are c(1,1,1), c(1,2), c(2,1)
> 4, the possibilities are
> c...
2006 Nov 19
4
The most common row in a matrix?
Hi,
How do you get the most common row from a matrix? If I have a matrix
like this
array(1:3,dim=c(4,5))
[,1] [,2] [,3] [,4] [,5]
[1,] 1 2 3 1 2
[2,] 2 3 1 2 3
[3,] 3 1 2 3 1
[4,] 1 2 3 1 2
in which rows 1 and 4 are similar, I want to find that vector c
(1,2,3,1,2).
Atte Tenkanen
University of Turku, Finland
2006 Aug 22
4
Successive subsets from a vector?
I'd like to pick every imbricated five character long subsets from a
vector. I guess there is some efficient way to do this without loops...
Here is a for-loop-version and a model for output:
VECTOR=c(1,4,2,6,5,0,11,10,4,3,6,8,6);
ADDRESSES=c();
for(i in 1:(length(VECTOR)-4)){
ADDRESSES[i]=paste(VECTOR[i:(i+4)],collapse="")
}
> ADDRESSES
[1] "14265"
2016 Apr 16
5
Mean of hexadecimal numbers
Hi,
How would you calculate the "mean colour" of several colours, for
example c("#FF7C00","#00BF40","#FFFF00")?
Yours,
Atte Tenkanen
2016 Apr 28
1
Same sum, different sets of integers
..., 1, 2, 2
> 1, 1, 1, 1, 1, 1, 2
> 1, 1, 1, 1, 1, 1, 1, 1
>
>
>
> Jim Holtman
> Data Munger Guru
>
> What is the problem that you are trying to solve?
> Tell me what you want to do, not how you want to do it.
>
> On Wed, Apr 27, 2016 at 11:46 AM, Atte Tenkanen <attenka at utu.fi> wrote:
>
>> Hi,
>>
>> Do you have ideas, how to find all those different combinations of
>> integers (>0) that produce as a sum, a certain integer.
>>
>> i.e.: if that sum is
>>
>> 3, the possibilities are c(1,1,1), c(1,2), c(2,1)...