[R] Fwd: about plantbreeding library
Patrick Connolly
p_connolly at slingshot.co.nz
Sat Aug 17 07:54:04 CEST 2013
On Sat, 17-Aug-2013 at 10:18AM +0500, Waqas Shafqat wrote:
|> ---------- Forwarded message ----------
|> From: Waqas Shafqat <waqas1518 at gmail.com>
|> Date: Sat, Aug 17, 2013 at 10:18 AM
|> Subject: Re: [R] about plantbreeding library
|> To: Marc Girondot <marc_grt at yahoo.fr>
|>
|>
|> problem 1
|> stability analysis
|>
|> >setwd("E:/")
|> > Data <- read.table(file="setwd.csv", header=TRUE, sep=",")
|> >
|> > Data
|> environments genotypes relication yield
|> 1 1 1 1 34
|> 2 1 1 2 35
[...]
|> 27 3 3 3 63
That tells you that there's a dataframe called Data but you then try
to use something else which isn't there.
|> > # stability analysis
|> > data(multienv)
|> Warning message:
|> In data(multienv) : data set ?multienv? not found
That's telling you that there's nothing called multienv but then you
try to use it.
|> > out <- stability (dataframe = multienv , yvar = "yield", genotypes =
|> "genotypes",
|> + environments = "environments", replication = "replication")
|> Error: could not find function "stability"
|> > out
|> Error: object 'out' not found
Nothing called out could be created since to do so requires something
you don't have. All of your errors have a similar basis. Maybe you
need to look through a few tutorials to understand a few basics, such
as using ls() to see what's in your working directory.
[....]
HTH
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list