Comments (3)
Dear @WheatSopka,
Since I don't have access to Data_numeric1
I can't figure out what may be happening.
With the example data data_ge
the function doesn't return any error. Could you please run inspect(Data_numeric1)
and see if any warning is returned?
library(metan)
#> Registered S3 method overwritten by 'GGally':
#> method from
#> +.gg ggplot2
#> |=========================================================|
#> | Multi-Environment Trial Analysis (metan) v1.16.0 |
#> | Author: Tiago Olivoto |
#> | Type 'citation('metan')' to know how to cite metan |
#> | Type 'vignette('metan_start')' for a short tutorial |
#> | Visit 'https://bit.ly/pkgmetan' for a complete tutorial |
#> |=========================================================|
inspect(data_ge)
#> # A tibble: 5 x 9
#> Variable Class Missing Levels Valid_n Min Median Max Outlier
#> <chr> <chr> <chr> <chr> <int> <dbl> <dbl> <dbl> <dbl>
#> 1 ENV factor No 14 420 NA NA NA NA
#> 2 GEN factor No 10 420 NA NA NA NA
#> 3 REP factor No 3 420 NA NA NA NA
#> 4 GY numeric No - 420 0.67 2.61 5.09 0
#> 5 HM numeric No - 420 38 48 58 0
#> No issues detected while inspecting data.
model <-
ge_stats(data_ge,
env = ENV,
gen = GEN,
rep = REP,
resp = c(GY, HM))
#> Evaluating trait GY |====================== | 50% 00:00:10 Evaluating trait HM |============================================| 100% 00:00:20
Created on 2022-03-23 by the reprex package (v2.0.1)
from metan.
Since the problems seem to be related to the dataset and no clear and reproducible bug has been reported, I'm closing this now. Please, feel free to reopen if you find it necessary.
from metan.
setwd("D:/PhD/Ragi")
library(readxl)
library(metan)
#> Registered S3 method overwritten by 'GGally':
#> method from
#> +.gg ggplot2
#> |=========================================================|
#> | Multi-Environment Trial Analysis (metan) v1.17.0 |
#> | Author: Tiago Olivoto |
#> | Type 'citation('metan')' to know how to cite metan |
#> | Type 'vignette('metan_start')' for a short tutorial |
#> | Visit 'https://bit.ly/pkgmetan' for a complete tutorial |
#> |=========================================================|
Metan_analysis <- read_excel("Metan_analysis.xlsx",
col_types = c("text", "text", "text",
"numeric", "numeric", "numeric",
"numeric", "numeric", "numeric",
"numeric", "numeric", "numeric",
"numeric"))
View(Metan_analysis)
stab <- ge_stats(Metan_analysis, ENV, GEN, REP)
#> Error in rowSums((gamma.n)^2): 'x' must be an array of at least two dimensions
Created on 2023-02-01 with reprex v2.0.2
from metan.
Related Issues (20)
- Release metan 1.16.0 HOT 1
- error while analysis path analysis HOT 7
- AMMI Analysis HOT 2
- Shukla Stablility with wrong length of levels HOT 1
- print_table(.) : could not find function "print_table" HOT 1
- MGIDI selection differential is false if averaged data is negative HOT 2
- error when I run ge_stat() code of metan package HOT 8
- Problem with plot.gge or plot function HOT 2
- Error in corr_coef(data, ..., type = c("linear", "partial"), method = c("pearson", : could not find function "corr_coef" HOT 2
- Error in path_coeff(datt, resp = SYPPI) : could not find function "path_coeff" HOT 2
- Same code of "metan" running on on one dataset, but not on similar second dataset HOT 2
- Inclusion of covariate to dependent trait while calculating BLUP values
- Inclusion of covariate to dependent trait while calculating BLUP values HOT 1
- How to remove outliers in METAN HOT 1
- Hello HOT 2
- metan temporarily out of CRAN HOT 1
- Mislabeling of ENV and GEN in Which Won Where Biplot HOT 6
- rep and block arguments for gge HOT 1
- problem in running your example code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metan.