Displaying 20 results from an estimated 3000 matches similar to: "apply loop - using/providing a data frame to loop over"
2009 Nov 12
2
redundant factor levels after subsetting a dataset
#I have a data frame with a numeric and a character variable.
x=c(1,2,3,2,0,2,-1,-2,-4)
md=c(rep("Miller",3), rep("Richard",3),rep("Smith",3))
data1=data.frame(x,md)
#I subset this data.frame in a way such that one level of the character
variable does not appear in the new dataset.
data2=data1[x>0,]
data3=subset(data1,x>0)
#However, when I check the levels
2009 Jul 26
1
Assessing standard errors of polynomial contrasts
Hi, using polynomial contrasts for the ordered factors in an experiment
leads to much nicer covariance structure than using treatment contrasts. It
is easy to assess the mean effect for each of the experimental groups.
However, standard errors are provided only for the components of the
orthogonal contrasts. I wonder how to assess the standard errors not of the
components, but of the respective
2004 Feb 27
1
Samba3 with W2K Native Mode
Hi.
I use Samba 3.0.2-29 on Server S7.
In our network is a W2K Server named S4 running in Native Mode, Domain Name
hel.lan.
I tried to join the S4-Domain hel.lan.
s7:~ # kinit Administrator@HEL.LAN
Administrator@HEL.LAN's Password:
s7:~ # net ads join
[2004/02/27 08:20:54, 0] libads/ldap.c:ads_add_machine_acct(1006)
Host account for s7 already exists - modifying old account
Using short
2009 Aug 21
1
intra-class correlation? coherence among multiple ordinal responses
I have a quick statistical question and hoped somebody has a tip for me
without me having to go to the local statistician on Monday.
I assess 4 statements from 90 subjects. Each of the 4 statements receives
one of three responses (say -1, 0, or 1). I can use Cramer's V or Spearman
correlations to assess the correlation between each pair of statements, but
I am looking for a measure of
2020 Apr 08
5
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
When building with Clang + -Wtautological-compare and
CONFIG_CPUMASK_OFFSTACK unset:
arch/x86/mm/mmio-mod.c:375:6: warning: comparison of array 'downed_cpus'
equal to a null pointer is always false [-Wtautological-pointer-compare]
if (downed_cpus == NULL &&
^~~~~~~~~~~ ~~~~
arch/x86/mm/mmio-mod.c:405:6: warning: comparison of array 'downed_cpus'
2003 Apr 21
2
randomForest crash?
I am attempting to use randomForests to look for interesting genes in
microarray data with 216genes, 2 classes and 52 samples. My data.frame
is 52x217 with the last column, V217 being the class(1 or 2).
When I try
lung.rf <- randomForest(V217 ~ ., data=tlSA216cda, importance=
TRUE, proximity = TRUE)
the GUI crashes.
I am running R-1.6.2 under windo$e98, and most
2020 Feb 16
3
[PATCH] virtio_balloon: Adjust label in virtballoon_probe
Clang warns when CONFIG_BALLOON_COMPACTION is unset:
../drivers/virtio/virtio_balloon.c:963:1: warning: unused label
'out_del_vqs' [-Wunused-label]
out_del_vqs:
^~~~~~~~~~~~
1 warning generated.
Move the label within the preprocessor block since it is only used when
CONFIG_BALLOON_COMPACTION is set.
Fixes: 1ad6f58ea936 ("virtio_balloon: Fix memory leaks on errors in
2020 Feb 16
3
[PATCH] virtio_balloon: Adjust label in virtballoon_probe
Clang warns when CONFIG_BALLOON_COMPACTION is unset:
../drivers/virtio/virtio_balloon.c:963:1: warning: unused label
'out_del_vqs' [-Wunused-label]
out_del_vqs:
^~~~~~~~~~~~
1 warning generated.
Move the label within the preprocessor block since it is only used when
CONFIG_BALLOON_COMPACTION is set.
Fixes: 1ad6f58ea936 ("virtio_balloon: Fix memory leaks on errors in
2003 Sep 24
5
splitting clusters
Hi All:
I am clustering 500 genes using hclust of R. Visualizing cluster
membership becomes difficult with so many genes in each cluster...Is there
a way of printing the dendrogram in multiple pages so that I can clearly
see what is in each cluster?
Thanks in advance.
Karthi.
2007 May 25
2
Switch back to mount after fallback
Hi Geoff,
Geoff Shang wrote:
> Hi,
>
> That's what fallback-override is meant to do. Are you saying that it's not
> working for you?
Not working. But what is wrong? I've added the second mount to
icecast.xml and tested whether it switch back to the original mount
point. The mount part of icecast.xml:
<mount>
2020 May 18
2
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
On Mon, May 18, 2020 at 2:31 AM Nathan Chancellor
<natechancellor at gmail.com> wrote:
>
> On Wed, Apr 08, 2020 at 01:53:23PM -0700, Nathan Chancellor wrote:
> > When building with Clang + -Wtautological-compare and
> > CONFIG_CPUMASK_OFFSTACK unset:
> >
> > arch/x86/mm/mmio-mod.c:375:6: warning: comparison of array 'downed_cpus'
> > equal to a
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
2005 Jun 16
3
Excel files first row not being read
hi,
i am using the RODBC package to read excel files using
odbcConnectExcel and susequently sqlFetch to read the contents of the
file.
the file that i use is just a matrix of numbers thats all. no headers
and column names. what happens is that the sqlFetch is not reading my
first row of numbers.
i have tried different combinations of colnames and rownames logical
values but that first row is not
2007 May 26
3
Web application to feed icecast
Hello,
i guess this question appeared before, but I haven't found anything by
searhing the whole morning.
I know that some web radio stations use icecast2. They also have a web
application that makes it possible to request songs, add items to the
playlist of the source client and so on. Most of the web radios have
developed the web application by itself (i guess so).
I'm not able to
2007 May 25
2
Switch back to mount after fallback
Hello icecast user,
That's my first post to this list, because everything works fine :) But
now I'm missing a feature and I'm not sure if it is possible to realise.
I have two mounts. Only one defined in the configuration:
<mount>
<mount-name>/gast.ogg</mount-name>
<fallback-mount>/offline.ogg</fallback-mount>
2009 Apr 21
4
plotting with R
Friends,
i) I am new to R. Kindly suggest some resources that has examples of
plotting with R.
ii) How to set number of tick marks and labels, i have a x axis ranging fro
1 to 21. By default R shows the tick marks at 5, 10,15,20. How can i change
this.
Thanks,
Bala
[[alternative HTML version deleted]]
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
Dear all,
Can anybody tell me how to export a 3d figure made with the plot3d
function? I'm careless about whether it's still interactive or not in
another format, as long I can get it out of R.
Thanks!
Alejandro Gonz?lez
Departamento de Biodiversidad y Conservaci?n
Real Jard?n Bot?nico
Consejo Superior de Investigaciones Cient?ficas
Claudio Moyano, 1
28014 Madrid, Spain
Tel +0034
2020 Feb 16
1
[PATCH] virtio_balloon: Adjust label in virtballoon_probe
On Sun, Feb 16, 2020 at 08:36:45AM +0100, David Hildenbrand wrote:
>
>
> > Am 16.02.2020 um 01:41 schrieb Nathan Chancellor <natechancellor at gmail.com>:
> >
> > ?Clang warns when CONFIG_BALLOON_COMPACTION is unset:
> >
> > ../drivers/virtio/virtio_balloon.c:963:1: warning: unused label
> > 'out_del_vqs' [-Wunused-label]
> >
2003 Oct 23
3
Writing and running a R program
Is there a way I can combine multiple lines of R commands (see below) into
a little code snippet or a program in a text file, and run it in R to do my
analysis?
sink("mysink.txt")
for (......) {
code for creating a dataframe from supplied data
code for doing anova from selected data
}
Thanks very much.
Karth.
2009 May 04
3
problem with ms office
Friends,
I installed MS office 2k7 with wine 1.1.15. I am able to open the
applications and work on it. However if i try to copy a figure from
powerpoint and paste is on the word, it is not working. The reverse is also
not working.
In addition, i am not able to move the figures in the work file to the
appropriate positions. I dnt understand what is going wrong. Any suggestion
on how to resolve