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
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
and
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:3
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 -- To
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 maili
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 Ten
ossibilities 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
__
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
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
ets twice 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
>
> > You'll have to remove the "#" first, e.g. via substring()
> >
> > -- Bert
> >
> >
> > Bert Gunter
> >
> > "The trouble with having an open mind is that people keep coming
> along
>
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
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-tech
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..
t;shiny")
if (DrawAxes == TRUE) {
axes3d()
}
}
Is it somehow possible to define the sizes of the points all separately?
I tried by adding ”Psize” to function arguments and changing
rgl.points(x = Cx, y = Cy, z = Cz, size = Psize, color = "black”),
then giving individ
5,ColorsRYB[i,3]/255)
> }
>
> pie(rep(1, LenCol), col = ColorsRYBhex)
>
> Regards
>
> Duncan
>
> Duncan Mackay
> Department of Agronomy and Soil Science
> University of New England
> Armidale NSW 2351
> Email: home:mackay at northnet.com.au
> <http
stant should give varying colours of perceptually the same
"colourness" and brightness.
?hcl
pie(rep(1,12),col=hcl((1:12)*30,c=70),border=NA)
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Atte Tenkanen
Sent: Sunday, 26 July 2015 7:50a
To: r
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 Ju
uot;) and got yellow instead 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/po
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
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://user
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 wrote:
> Sorry. I should have mentio
lapsed 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
To: "r-help@r-project.org"
Cc:
Sent: Thursday, September 27, 2012 5:0
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
gt;
> I donÕt have a reference (other than a text book that defines
> sampling distributions).
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.s...@imail.org
> 801.408.8111
>
> From: Atte Tenkanen [mailto:atte...@ut
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
gt;
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [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] Wilcoxo
t; 801.408.8111
>
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [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
>> Subjec
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
> >
>
then, I want to pick 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 da
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:
> >
> &g
> 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:
> >
&g
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 wrote:
> > Hi al
ill 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 wrote:
> > > Hi all,
> > >
> > > I have a distribution, and take a sample of it. Then I compare
> that
haNoteOnsetDists
V = 63855, p-value = 0.0001047
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,
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
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 wrote:
> > I would have tried z-test (n=
ind it in R.
>
> Cheers
> Joris
>
> On Fri, Jun 11, 2010 at 1:50 PM, Atte Tenkanen wrote:
> > Dear R-users,
> >
> > I would like to test, whether a sample distribution differs
> significantly from a population distribution. They are not normally
> distributed. H
.
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
nd 30 is just a rule of thumb, in some
> cases too 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
'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/
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?
Att
s,i)
}
---
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
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
Thanks! I try that. There is in some packege such a function.
Atte
> On Wed, Jul 15, 2009 at 8:55 AM, Atte Tenkanen wrote:
>
> > Do somebody know if there is a function in R which computes the
> greatest common divisor between several (more than two) integers?
>
> Is
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
ct number of dimensions
> dim(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 Mus
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
2 T3T4
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 li
54 matches
Mail list logo