I think, I succeeded in doing it with Hershey fonts:
plot(0,0,xlim=c(0,2),ylim=c(0,2))
text(1,1,"\\#H2380",vfont=c("serif", "plain"))
This is ok now!
Atte T.
14.8.2017, 9.16, Atte Tenkanen kirjoitti:
Hi,
I would like to draw some Unicode symbols like G- and f-
oesn't
work. G-clef is said to be
UTF-8: F0 9D 84 9E
UTF-16: D834 DD1E
Code point: U+1D11E
I have loaded package extrafont and tried everything found in internet
without success. Font issues stay mysterious to me ...
My system is OSX 10.12.6, R 3.3.
somehow effect on that an get intact layers?
--
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
your screen and
video card.
Can we somehow produce larger images virtually, for example, 4k-images
(3840x2160)?
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
<- function() {X <- scan(n =1); X}
f()
1: 3
Read 1 item
-- 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 Tue, Dec 20, 2016 at 12:
Hi,
How to get scan(file="") command to ask my input from the keyboard?
If I put the command straight to the console it works
> X1 <- scan(n=1)
1: 22
Read 1 item
but as a part of a program it just continues without asking my value?
> X1 <- scan(n=1)
1:
Read 0 items
Thanks, time is no problem!
Atte
13.9.2016, 15.12, Duncan Murdoch kirjoitti:
On 13/09/2016 5:58 AM, Atte Tenkanen wrote:
Hi,
Is it possible to give 3d-like form for rgl lines3d-lines? Although I
increase lwd, lines still look like lines, not like tubes.
cylinder3d() should do that. It puts
Hi,
Is it possible to give 3d-like form for rgl lines3d-lines? Although I
increase lwd, lines still look like lines, not like tubes.
--
Atte Tenkanen, FT MuM
Turun Martinseurakunnan kanttori
p. 040-3417125
__
R-help@r-project.org mailing list
Hi,
How can open the window for rgl to use it in making full HD -videos, in
which the resolution is 1920 x 1080?
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
Oh, thanks... ;-)
Atte
21.6.2016, 17.30, Duncan Murdoch kirjoitti:
for(i in 1: 10)
{
a2=i*0.1; b2=i*0.2; c2=i*0.3
print(c(a2,b2,c2))
UserMatrix = rotationMatrix(pi/4,a2,b2,c2)
print(UserMatrix)
}
__
R-help@r-project.org
Hi,
Why does this not work? The values inside the rotationMatrix() doesn't
seem to change:
library(rgl)
for(i in 1: 10)
{
a2=i*0.1; b2=i*0.2; c2=i*0.3
print(c(a2,b2,c2))
UserMatrix = rotationMatrix(pi/4,a2,b2,c2)
print(UserMatrix)
}
Yours,
Atte Tenkanen
t to do, not how you want to do it.
On Wed, Apr 27, 2016 at 11:46 AM, Atte Tenkanen <atte...@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
etc.
Best regards,
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, s
wice the weight
colorRampPalette(c(x, "#00"), space = "Lab")(4)[2]
rgb2hsv(col2rgb(colorRampPalette(c(x, "#00"), space = "Lab")(4)[2]))
[,1]
h 0.1597633
s 0.8407960
v 0.7882353
Atte T.
16.4.2016, 19.03, Duncan Murdoch kirjoitti:
On 1
m>> wrote:
> > ?strtoi
> >
> > You'll have to remove the "#" first, e.g. via substring()
> >
> > -- Bert
> >
> >
> > Bert Gunter
> >
> > "The trouble with having an open min
Hi,
How would you calculate the "mean colour" of several colours, for
example c("#FF7C00","#00BF40","#00")?
Yours,
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
http
Hi,
Here is the function DrawDensity3D in package VecStatGraphs3D. My
question is: if we use more layers than one, could we change the
function in a way that in the final plot only the outmost layer is drawn
(the inner layers omitted)?
Best regards,
Atte Tenkanen
function (vectors, Div
Hi,
Is it somehow possible to produce 3D-printing data from the kernel
density map produced by the
"DrawDensity3D"-function of "VecStatGraphs3D"-package?
I'm not an expert of KDE-technics, just can use that function to produce
surfaces...
B
015, 16.04, Duncan Murdoch kirjoitti:
On 27/11/2015 7:24 AM, Atte Tenkanen wrote:
Hi,
Is it somehow possible to produce 3D-printing data from the kernel
density map produced by the
"DrawDensity3D"-function of "VecStatGraphs3D"-package?
I'm not an expert of KDE-techni
= Cy, z = Cz, size = Psize, color = black”),
then giving individual point size to each point but this does not work.
This does’t work either:
for(i in 1:length(Cx))
{
rgl.points(x=Cx[i], y=Cz[i], z=Cz[i], size=PSize[i], col= Colors[i])
}
Atte Tenkanen
Message-
From: R-help [mailto:r-help-bounces at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help] On Behalf Of Atte Tenkanen
Sent: Tuesday, 28 July 2015 18:22
To:r-help at r-project.org https://stat.ethz.ch/mailman/listinfo/r-help
Subject: [R] Opposite color in R
It seems
-project.org] On Behalf Of Atte Tenkanen
Sent: Sunday, 26 July 2015 7:50a
To: r-help@r-project.org
Subject: [R] Opposite color in R
Hi,
I have tried to find a way to find opposite or complementary colors in R.
I would like to form a color circle with R like this one:
http://nobetty.net/dandls/colorwheel
Thanks,
This helps me going on.
The description in complementary {colortools} was/is somehow misleading:
Complementary or opposite color scheme is formed by colors that are opposite
each other on the color wheel (example: red and green).
Atte T.
/ On 25 Jul 2015, at 21:49 , Atte Tenkanen
of orange.
Do you know any solutions?
Atte Tenkanen
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
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
I found one:
sum(is.element(c(1,4,2),c(1,2,3)))==length(c(1,4,2))
Are there others and perhaps more elegant ways?
Atte Tenkanen, FT, MuM
http://users.utu.fi/attenka/
Lähettäjä: Atte Tenkanen
Lähetetty: 17. joulukuuta 2012 22:24
Vastaanottaja: r-help@r
Thank you!
___
Lähettäjä: Berend Hasselman [b...@xs4all.nl]
Lähetetty: 28. syyskuuta 2012 10:47
Vastaanottaja: Atte Tenkanen
Cc: R help
Aihe: Re: [R] How to test if there is a subvector in a longer vector
On 28-09-2012, at 07:41, Atte Tenkanen atte...@utu.fi wrote:
Sorry. I should
Hi,
There are certainly several ways to test, whether a longer vector includes a
subvector.
For instance, c(1,4,6) is included in c(2,1,1,4,6,3). How to test this and
which would be the fastest way to do it?
Best,
Atte Tenkanen, FT, MuM
http://users.utu.fi/attenka
relative user.self sys.self
#1 isTRUE(all(vec2 %in% vec1))1 0.2951 0.2720
# user.child sys.child
#1 0 0
A.K.
- Original Message -
From: Atte Tenkanen atte...@utu.fi
To: r-help@r-project.org r-help@r-project.org
Cc:
Sent: Thursday, September
[mailto:r-help-boun...@r-
project.org] On Behalf Of Atte Tenkanen
Sent: Thursday, June 24, 2010 11:04 PM
To: David Winsemius
Cc: R mailing list
Subject: Re: [R] Wilcoxon signed rank test and its requirements
The values come from this kind of process:
The musical composition is segmented into so
-
project.org] On Behalf Of Atte Tenkanen
Sent: Thursday, June 24, 2010 11:04 PM
To: David Winsemius
Cc: R mailing list
Subject: Re: [R] Wilcoxon signed rank test and its requirements
The values come from this kind of process:
The musical composition is segmented into so-called 'pitch-class
segments
Atte Tenkanen kirjoitti 26.6.2010 kello 5.15:
Greg Snow kirjoitti 25.6.2010 kello 21.55:
Let me see if I understand. You actually have the data for the
whole population (the entire piece) but you have some pre-defined
sections that you want to see if they differ from the population
).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
From: Atte Tenkanen [mailto:atte...@utu.fi]
Sent: Friday, June 25, 2010 10:08 PM
To: Atte Tenkanen
Cc: Greg Snow; David Winsemius; R mailing list
Subject: Re: [R] Wilcoxon
only some regions from the piece and compare those values
of those regions, whether they are higher than the mean of all values.
Atte
On Jun 24, 2010, at 6:58 PM, Atte Tenkanen wrote:
Is there anything for me?
There is a lot of data, n=2418, but there are also a lot of ties.
My sample n
using z- or
t-test, just to compare several different samples?
Atte
On Jun 24, 2010, at 6:58 PM, Atte Tenkanen wrote:
Is there anything for me?
There is a lot of data, n=2418, but there are also a lot of ties.
My sample n≈250-300
I do not understand why there should be so many
is different than the hypothetical value.
On Wed, Jun 23, 2010 at 10:27 PM, Atte Tenkanen atte...@utu.fi wrote:
Hi all,
I have a distribution, and take a sample of it. Then I compare
that
sample with the mean of the population like here in Wilcoxon signed
rank test with continuity
that the data are distributed
symmetrically around the median. If the distribution is asymmetrical, the P
value will not tell you much about whether the median is different than the
hypothetical value.
On Wed, Jun 23, 2010 at 10:27 PM, Atte Tenkanen atte...@utu.fi wrote:
Hi all,
I have
On Jun 23, 2010, at 9:58 PM, Atte Tenkanen wrote:
Thanks. What I have had to ask is that
how do you test that the data is symmetric enough?
If it is not, is it ok to use some data transformation?
when it is said:
The Wilcoxon signed rank test does not assume that the data
should I use? No choices?
This distribution comes from a musical piece and the values are 'tonal
distances'.
http://users.utu.fi/attenka/Hist.png
Atte
On 06/24/2010 12:40 PM, David Winsemius wrote:
On Jun 23, 2010, at 9:58 PM, Atte Tenkanen wrote:
Thanks. What I have had to ask
alternative hypothesis: true 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
Hi,
I would like to know whether 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
.
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/
__
R-help@r-project.org mailing list
https://stat.ethz.ch
Joris
On Fri, Jun 11, 2010 at 1:50 PM, Atte Tenkanen atte...@utu.fi wrote:
Dear R-users,
I would 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
Thanks!
Atte
Take a look at this document:
http://cran.r-project.org/doc/contrib/Ricci-distributions-en.pdf
All information you need is in there.
Cheers
Joris
On Fri, Jun 11, 2010 at 2:50 PM, Atte Tenkanen atte...@utu.fi wrote:
I would have tried z-test (n=67) but since
conservative, in others too liberal).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: Atte Tenkanen [mailto:atte...@utu.fi]
Sent: Friday, April 16, 2010 1:22 PM
To: Greg Snow
Cc
)
}
---
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
Thanks,
OK. My question is if there is any reasonable way to find p=0.05 boundaries for
such a random distribution? Unfortunately I'm not statistician and thus I'm not
sure, if even this question makes sense... Should we always consider samples
of, say, more than 30 individuals?
Atte Tenkanen
that 'Distribution'.
http://www.ag.fimug.fi/~Atte/RandomComp.pdf
All the values are averaged over the bars. That's why the curves are so smooth.
Is there any way to find such boundaries?
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka/
- Original
Hi,
I have a population. Then I have picked one relatively small sub-sample of it
using a particular criterion. The means of the whole population and that of the
sample seems to differ significantly. The distributions are not normal. What is
the right test?
Atte Tenkanen
University of Turku
Hi,
Do somebody know if there is a function in R which computes the greatest
common divisor between several (more than two) integers?
Best,
Atte
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+35823335278
http://users.utu.fi/attenka
Thanks! I try that. There is in some packege such a function.
Atte
On Wed, Jul 15, 2009 at 8:55 AM, Atte Tenkanenatte...@utu.fi wrote:
Do somebody know if there is a function in R which computes the
greatest common divisor between several (more than two) integers?
Is there a function
Dear R-users,
How do you save a big table or matrix as an independent object and attach it to
your Rdata-project when needed?
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+023335278
__
R-help@r-project.org mailing list
https
(Tondistmatrix1)
NULL
So, this didn't work but then I noticed that this is enough
load(/Users/atte/Skriptit/Tondistmatrix1)
dim(Tondistmatrix1)
[1] 3938 3938
No problems any more...
Atte Tenkanen
University of Turku, Finland
Department of Musicology
+023335278
- Original Message -
From: Gabor
T4
T1 0.00 0.41 0.24 1.18
T2 0.21 0.00 0.46 0.12
T3 0.80 0.89 0.00 0.20
T4 0.09 1.04 0.17 0.00
Any suggestions? Something like gplot+mds+weighted arrays?
Atte Tenkanen
University of Turku, Finland
__
R-help@r-project.org mailing list
https
54 matches
Mail list logo