Inclui arquivo para o texto e fiz correções nos cálculos
This commit is contained in:
@ -47,7 +47,7 @@ IRP = Índice de renovação do plantel - substituição de vacas velhas
|
||||
| Vacas em lactação | 1 | vaca |
|
||||
| Vacas secas | 1 | vase |
|
||||
| Bezerras até 12 meses | 0.25 | Beze |
|
||||
| Novilhas até 18 meses | 0.50 | No18 |
|
||||
| Novilhas até 18 meses | 0.75 | No18 |
|
||||
| Novilhas até 24 meses | 0.75 | No24 |
|
||||
| Outros | 1 | Outr |
|
||||
|-----------------------+------+-------|
|
||||
@ -57,19 +57,25 @@ Os dados acima são padronizados, sendo que, por padrão, 1 UGM equivale a 500 k
|
||||
A composição do rebanho de cada estabelecimento varia conforme os objetivos, índices e manejo adotado. De modo geral busca-se uma composição com maior participação de categorias produtivas, ou seja, em caso de atividade leiteira, busca-se maior número de animais na categoria *vacas em lactação*.
|
||||
Os dados da tabela 2 refletem a composição de um rebanho com finalidade de produção de leite, considerando um manejo reprodutivo e de alimentação excelentes.
|
||||
|
||||
|
||||
|
||||
#+Caption: Composição ideal em porcentagem , número de animais e UGM, com base em 10 vacas em lactação.
|
||||
:PROPERTIES:
|
||||
:TABLE_EXPORT_FILE: ~/Documentos/GITs/Compos_rebanho/data/composicao.csv
|
||||
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
|
||||
:END:
|
||||
#+NAME: C_ideal
|
||||
| | Categoria de animais | Cabeças | %cab% | UGM | %UGM |
|
||||
|---+-----------------------+---------+-------+------+-------|
|
||||
| # | Vacas em lactação | 18 | 51.4 | 18 | 76.9 |
|
||||
| # | Vacas secas | 2 | 9.5 | 2 | 12.1 |
|
||||
| # | Bezerras ate 12 meses | 10 | 32.3 | 2.5 | 2.8 |
|
||||
| # | Novilhas até 18 meses | 3 | 9.1 | 1.5 | 6.2 |
|
||||
| # | Novilhas até 24 meses | 0 | 0.0 | 0. | 0.0 |
|
||||
| # | Outros animais | | 0.0 | 0 | 0.0 |
|
||||
| # | Total | 33 | 100.0 | 24. | 100.0 |
|
||||
| ^ | | Tcab | | Tugm | |
|
||||
|---+-----------------------+---------+-------+------+-------|
|
||||
| | Categoria de animais | Cabeças (N) | Cabeças (%) | UGM (N) | UGM (%) |
|
||||
|---+-----------------------+-------------+-------------+---------+---------|
|
||||
| # | Vacas em lactação | 20 | 60.6 | 20 | 75.0 |
|
||||
| # | Vacas secas | 2 | 6.7 | 2 | 7.8 |
|
||||
| # | Bezerras ate 12 meses | 4 | 13.3 | 1. | 3.9 |
|
||||
| # | Novilhas até 18 meses | 2 | 6.7 | 1. | 3.9 |
|
||||
| # | Novilhas até 24 meses | 2 | 6.7 | 1.5 | 5.9 |
|
||||
| # | Outros animais | | 0.0 | 0 | 0.0 |
|
||||
| # | Total | 30 | 100.0 | 25.5 | 100.0 |
|
||||
| ^ | | Tcab | | Tugm | |
|
||||
|---+-----------------------+-------------+-------------+---------+---------|
|
||||
#+TBLFM: $4=$3*100/$Tcab;%.1f::@2$5=@2$3*remote(Tab1,@2$2)::@8$3=@2$3+@3$3+@4$3+@5$3+@6$3+@7$3::@3$5=@3$3*remote(Tab1, @3$2)::@4$5=@4$3*remote(Tab1, @4$2)::@5$5=@5$3*remote(Tab1, @5$2)::@6$5=@6$3*remote(Tab1, @6$2)::@7$5=@7$3*remote(Tab1, @7$2)::@8$5=vsum(@2..@7)::$6=$5*100/$Tugm;%.1f
|
||||
|
||||
|
||||
@ -107,11 +113,11 @@ As tabelas de composição de rebanho serão calculadas automáticamente, com ba
|
||||
| | % Bezerras -> novilhas | 0.4 | 0.4 | 0.75 | 0.7 | 0.7 | 0.7 | % S_Nascidos |
|
||||
| ^ | | BA1 | BA2 | BA3 | BA4 | BA5 | BA6 | |
|
||||
|---+------------------------+-------+-------+-------+-------+-------+--------+--------------|
|
||||
| | Vacas a vender | 0 | 0 | 0 | 0 | 5 | 4 | |
|
||||
| | Vacas a vender | 0 | 0 | 0 | 2 | 5 | 4 | |
|
||||
| ^ | | VV1 | VV2 | VV3 | VV4 | VV5 | VV6 | |
|
||||
| | Novilhas a vender | 0 | 0 | 0 | 0 | 0 | 0 | |
|
||||
| ^ | | NV1 | NV2 | NV3 | NV4 | NV5 | NV6 | |
|
||||
| | Bezerras a vender | 0 | 4 | 10 | 12 | 15 | 14 | |
|
||||
| | Bezerras a vender | 0 | 4 | 10 | 11 | 11 | 11 | |
|
||||
| ^ | | BV1 | BV2 | BV3 | BV4 | BV5 | BV6 | |
|
||||
|---+------------------------+-------+-------+-------+-------+-------+--------+--------------|
|
||||
| | Vacas a comprar | 0 | 0 | 0 | 0 | 0 | 0 | |
|
||||
@ -134,7 +140,7 @@ Temos o seguinte:
|
||||
>> No segundo ano serão compradas 2 novilhas
|
||||
|
||||
|
||||
* Composição anual do rebanho da fazenda
|
||||
** Composição anual do rebanho da fazenda
|
||||
** Ano 1
|
||||
#+Caption: Composição do rebanho na fazenda VITRUVIO (ANO 1)
|
||||
#+NAME: Tab3_1
|
||||
@ -144,7 +150,7 @@ Temos o seguinte:
|
||||
| ^ | | EAV | TRV | COV | VEV | SAV | TCV | EFV |
|
||||
| # | NOVILHAS 12<>24 | 0 | 0 | 20 | 0 | 20 | 20 | 0 |
|
||||
| ^ | | EAN | TRN | CON | VEN | SAN | TCN | EFN |
|
||||
| # | BEZERRAS <12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| # | BEZERRAS <12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| ^ | | EAB | FRB | COB | VEB | SAB | TCB | EFB |
|
||||
| # | Outros | | 0 | 0 | 0 | | 0 | 0 |
|
||||
| ^ | | EAO | FRO | COO | VEO | SAO | TCO | EFO |
|
||||
@ -197,11 +203,11 @@ Comentários sobre a tabela 6
|
||||
#+NAME: Tab3_4
|
||||
| | CATEGORIA | EXTTANT | TIR | COMPRA | VENDA | SALDO | TIC | EXTTFIN |
|
||||
|---+-----------------+---------+-----+--------+-------+-------+-----+---------|
|
||||
| # | VACAS >24 | 20 | 4 | 0 | 0 | 24 | 0 | 24 |
|
||||
| # | VACAS >24 | 20 | 4 | 0 | 2 | 22 | 0 | 22 |
|
||||
| ^ | | EAV | TRV | COV | VEV | SAV | TCV | EFV |
|
||||
| # | Novilhas 12<>24 | 0 | 5 | 0 | 0 | 5 | 5 | 0 |
|
||||
| ^ | | EAN | TRN | CON | VEN | SAN | TCN | EFN |
|
||||
| # | Bezerras <12 | 0 | 17 | 0 | 12 | 5 | 5 | 0 |
|
||||
| # | Bezerras <12 | 0 | 15 | 0 | 11 | 4 | 4 | 0 |
|
||||
| ^ | | EAB | FRB | COB | VEB | SAB | TCB | EFB |
|
||||
| # | outros | 1 | | | | | | |
|
||||
| ^ | | EAO | FRO | COO | VEO | SAO | TCO | EFO |
|
||||
@ -213,17 +219,13 @@ Comentários sobre a tabela 6
|
||||
|
||||
#+NAME: Tab3_5
|
||||
#+Caption: Composição do rebanho na fazenda VITRUVIO (ANO 5)
|
||||
:PROPERTIES:
|
||||
:TABLE_EXPORT_FILE: Documents/Tabela 3.5.csv
|
||||
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
|
||||
:END:
|
||||
| | CATEGORIA | EXTTANT | TIR | COMPRA | VENDA | SALDO | TIC | EXTTFIN |
|
||||
|---+-----------------+---------+-----+--------+-------+-------+-----+---------|
|
||||
| # | VACAS >24 | 24 | 5 | 0 | 5 | 24 | 0 | 24 |
|
||||
| # | VACAS >24 | 22 | 5 | 0 | 5 | 22 | 0 | 22 |
|
||||
| ^ | | EAV | TRV | COV | VEV | SAV | TCV | EFV |
|
||||
| # | Novilhas 12<>24 | 0 | 5 | 0 | 0 | 5 | 5 | 0 |
|
||||
| # | Novilhas 12<>24 | 0 | 4 | 0 | 0 | 4 | 4 | 0 |
|
||||
| ^ | | EAN | TRN | CON | VEN | SAN | TCN | EFN |
|
||||
| # | Bezerras <12 | 0 | 17 | 0 | 12 | 5 | 5 | 0 |
|
||||
| # | Bezerras <12 | 0 | 15 | 0 | 11 | 4 | 4 | 0 |
|
||||
| ^ | | EAB | FRB | COB | VEB | SAB | TCB | EFB |
|
||||
| # | outros | 1 | | | | 1 | | 1 |
|
||||
| ^ | | EAO | FRO | COO | VEO | SAO | TCO | EFO |
|
||||
@ -237,15 +239,15 @@ Comentários da tabela 8
|
||||
e, finalmente, na tabela 9, a composição do rebanho no sexto ano após a implementeação e adoção do PRV na propriedade VITRUVIO.
|
||||
|
||||
|
||||
#+name:Tab3_6
|
||||
#+NAME:Tab3_6
|
||||
#+caption: Composição do rebanho na fazenda VITRUVIO (ANO 6)
|
||||
| | CATEGORIA | EXTTANT | TIR | COMPRA | VENDA | SALDO | TIC | EXTTFIN |
|
||||
|---+-----------------+---------+-----+--------+-------+-------+-----+---------|
|
||||
| # | VACAS >24 | 24 | 5 | 0 | 4 | 25 | 0 | 25 |
|
||||
| # | VACAS >24 | 22 | 4 | 0 | 4 | 22 | 0 | 22 |
|
||||
| ^ | | EAV | TRV | COV | VEV | SAV | TCV | EFV |
|
||||
| # | Novilhas 12<>24 | 0 | 5 | 0 | 0 | 5 | 5 | 0 |
|
||||
| # | Novilhas 12<>24 | 0 | 4 | 0 | 0 | 4 | 4 | 0 |
|
||||
| ^ | | EAN | TRN | CON | VEN | SAN | TCN | EFN |
|
||||
| # | Bezerras <12 | 0 | 18 | 0 | 14 | 4 | 4 | 0 |
|
||||
| # | Bezerras <12 | 0 | 15 | 0 | 11 | 4 | 4 | 0 |
|
||||
| ^ | | EAB | FRB | COB | VEB | SAB | TCB | EFB |
|
||||
| # | outros | 1 | | | | | | |
|
||||
| ^ | | EAO | FRO | COO | VEO | SAO | TCO | EFO |
|
||||
@ -261,47 +263,52 @@ Tabela com os dados resumidos referente aos animais existentes anualmente
|
||||
Os dados da tabela abaixo resultam da estimativa de evolução de rebanho, de acordo com os dados da tabela de dados.
|
||||
|
||||
** Entradas e saídas
|
||||
| | Ano | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 |
|
||||
#+NAME:TABELA5
|
||||
#+CAPTION: Resumo das entradas e saídas de animais nos primeiros anos do projeto
|
||||
:PROPERTIES:
|
||||
:TABLE_EXPORT_FILE: ~/Documentos/GITs/Compos_rebanho/data/ResumoEntraSaiVitruvio.csv
|
||||
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
|
||||
:END:
|
||||
| | Categoria | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 |
|
||||
|---+--------------------+------+------+------+------+------+------|
|
||||
| # | Vacas entradas | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| # | Novilhas entradas | 20 | 0 | 0 | 0 | 0 | 0 |
|
||||
| # | Terneiras entradas | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
|---+--------------------+------+------+------+------+------+------|
|
||||
| # | Total entradas | 20 | 0 | 0 | 0 | 20 | 0 |
|
||||
| # | Total entradas | 20 | 0 | 0 | 0 | 0 | 0 |
|
||||
|---+--------------------+------+------+------+------+------+------|
|
||||
| # | Vacas saídas | 0 | 0 | 0 | 0 | 5 | 4 |
|
||||
| # | Vacas saídas | 0 | 0 | 0 | 2 | 5 | 4 |
|
||||
| # | Novilhas saídas | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| # | Terneiras saídas | 0 | 4 | 10 | 12 | 12 | 14 |
|
||||
| # | Terneiras saídas | 0 | 4 | 10 | 11 | 11 | 11 |
|
||||
|---+--------------------+------+------+------+------+------+------|
|
||||
| # | Total saídas | 0 | 4 | 10 | 12 | 17 | 18 |
|
||||
| # | Total saídas | 0 | 4 | 10 | 13 | 16 | 15 |
|
||||
| # | | | | | | | |
|
||||
|---+--------------------+------+------+------+------+------+------|
|
||||
| | | | | | | | |
|
||||
#+TBLFM:@2$3=remote(Tab3_1, $COV)::@2$4=remote(Tab3_2, $COV)::@2$5=remote(Tab3_3, $COV)::@2$6=remote(Tab3_4, $COV)::@2$7=remote(Tab3_5, $COV)::@2$8=remote(Tab3_6, $COV)::@3$3=remote(Tab3_1, $CON)::@3$4=remote(Tab3_2, $CON)::@3$5=remote(Tab3_3, $CON)::@3$6=remote(Tab3_4, $CON)::@3$7=remote(Tab3_5, $CON)::@3$8=remote(Tab3_6, $CON)::@4$3=remote(Tab3_1, $COB)::@4$4=remote(Tab3_2, $COB)::@4$5=remote(Tab3_3, $COB)::@4$6=remote(Tab3_4, $COB)::@4$7=remote(Tab3_5, $COB)::@4$8=remote(Tab3_6, $COB)::@5$3=@2$3+@3$3+@4$3::@5$4=@2$4+@3$4+@4$4::@5$5=@2$5+@3$5+@4$5::@5$6=@2$6+@3$6+@4$6::@5$7=@2$7+@3$3+@4$7::@5$8=@2$8+@3$8+@4$8::@6$3=remote(Tab3_1, $VEV)::@6$4=remote(Tab3_2, $VEV)::@6$5=remote(Tab3_3, $VEV)::@6$6=remote(Tab3_4, $VEV)::@6$7=remote(Tab3_5, $VEV)::@6$8=remote(Tab3_6, $VEV)::@7$3=remote(Tab3_1, $VEN)::@7$4=remote(Tab3_2, $VEN)::@7$5=remote(Tab3_3, $VEN)::@7$6=remote(Tab3_4, $VEN)::@7$7=remote(Tab3_5, $VEN)::@7$8=remote(Tab3_6, $VEN)::@8$3=remote(Tab3_1, $VEB)::@8$4=remote(Tab3_2, $VEB)::@8$5=remote(Tab3_3, $VEB)::@8$6=remote(Tab3_4, $VEB)::@8$7=remote(Tab3_5, $VEB)::@8$8=remote(Tab3_6, $VEB)::@9$3=@6$3+@7$3+@8$3::@9$4=@6$4+@7$4+@8$4::@9$5=@6$5+@7$5+@8$5::@9$6=@6$6+@7$6+@8$6::@9$7=@6$7+@7$3+@8$7::@9$8=@6$8+@7$8+@8$8
|
||||
#+TBLFM:@2$3=remote(Tab3_1, $COV)::@2$4=remote(Tab3_2, $COV)::@2$5=remote(Tab3_3, $COV)::@2$6=remote(Tab3_4, $COV)::@2$7=remote(Tab3_5, $COV)::@2$8=remote(Tab3_6, $COV)::@3$3=remote(Tab3_1, $CON)::@3$4=remote(Tab3_2, $CON)::@3$5=remote(Tab3_3, $CON)::@3$6=remote(Tab3_4, $CON)::@3$7=remote(Tab3_5, $CON)::@3$8=remote(Tab3_6, $CON)::@4$3=remote(Tab3_1, $COB)::@4$4=remote(Tab3_2, $COB)::@4$5=remote(Tab3_3, $COB)::@4$6=remote(Tab3_4, $COB)::@4$7=remote(Tab3_5, $COB)::@4$8=remote(Tab3_6, $COB)::@5$3=@2$3+@3$3+@4$3::@5$4=@2$4+@3$4+@4$4::@5$5=@2$5+@3$5+@4$5::@5$6=@2$6+@3$6+@4$6::@5$7=@2$7+@3$7+@4$7::@5$8=@2$8+@3$8+@4$8::@6$3=remote(Tab3_1, $VEV)::@6$4=remote(Tab3_2, $VEV)::@6$5=remote(Tab3_3, $VEV)::@6$6=remote(Tab3_4, $VEV)::@6$7=remote(Tab3_5, $VEV)::@6$8=remote(Tab3_6, $VEV)::@7$3=remote(Tab3_1, $VEN)::@7$4=remote(Tab3_2, $VEN)::@7$5=remote(Tab3_3, $VEN)::@7$6=remote(Tab3_4, $VEN)::@7$7=remote(Tab3_5, $VEN)::@7$8=remote(Tab3_6, $VEN)::@8$3=remote(Tab3_1, $VEB)::@8$4=remote(Tab3_2, $VEB)::@8$5=remote(Tab3_3, $VEB)::@8$6=remote(Tab3_4, $VEB)::@8$7=remote(Tab3_5, $VEB)::@8$8=remote(Tab3_6, $VEB)::@9$3=@6$3+@7$3+@8$3::@9$4=@6$4+@7$4+@8$4::@9$5=@6$5+@7$5+@8$5::@9$6=@6$6+@7$6+@8$6::@9$7=@6$7+@7$3+@8$7::@9$8=@6$8+@7$8+@8$8
|
||||
|
||||
** Animais existentes
|
||||
#+NAME:TABELA4
|
||||
#+CAPTION: Resumo da evolução do rebanho (Animais existentes anualmente) nos primeiros anos do projeto
|
||||
:PROPERTIES:
|
||||
:TABLE_EXPORT_FILE: data/Tabela4.csv
|
||||
:TABLE_EXPORT_FILE: ~/Documentos/GITs/Compos_rebanho/data/ResumoEvolucapVitruvio.csv
|
||||
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
|
||||
:END:
|
||||
| | Categoria | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 |
|
||||
|---+-----------+------+------+-------+------+------+-------|
|
||||
| # | Vacas | 0 | 20 | 20 | 24 | 24 | 25 |
|
||||
| # | Novilhas | 20 | 0 | 4 | 5 | 5 | 5 |
|
||||
| # | Terneiras | 0 | 4 | 5 | 5 | 5 | 4 |
|
||||
|---+-----------+------+------+-------+------+------+-------|
|
||||
| # | T_cab | 20 | 24 | 29 | 34 | 34 | 34 |
|
||||
| # | T_UGMs | 20. | 21. | 25.25 | 30.5 | 31.5 | 31.75 |
|
||||
| # | | | | | | | |
|
||||
#+TBLFM:@2$3=remote(Tab3_1, $SAV)::@2$4=remote(Tab3_2, $SAV)::@2$5=remote(Tab3_3, $SAV)::@2$6=remote(Tab3_4, $SAV)::@2$7=remote(Tab3_5, $SAV)::@2$8=remote(Tab3_6, $SAV)::@3$3=remote(Tab3_1, $SAN)::@3$4=remote(Tab3_2, $SAN)::@3$5=remote(Tab3_3, $SAN)::@3$6=remote(Tab3_4, $SAN)::@3$7=remote(Tab3_5, $SAN)::@3$8=remote(Tab3_6, $SAN)::@4$3=remote(Tab3_1, $SAB)::@4$4=remote(Tab3_2, $SAB)::@4$5=remote(Tab3_3, $SAB)::@4$6=remote(Tab3_4, $SAB)::@4$7=remote(Tab3_5, $SAB)::@4$8=remote(Tab3_6, $SAB)::@5$3=@2$3+@3$3+@4$3::@5$4=@2$4+@3$4+@4$4::@5$5=@2$5+@3$5+@4$5::@5$6=@2$6+@3$6+@4$6:: @5$7=@2$7+@3$7+@4$7::
|
||||
@5$8=@2$8+@3$8+@4$8::@6$3=(@2$3*remote(Tab1,@2$2)+@3$3*remote(tab1,@3$2)+@4$3*remote(tab1,@4$2))::@6$4=(@2$4*remote(Tab1,@2$2)+@3$4*remote(tab1,@3$2)+@4$4*remote(tab1,@4$2))::@6$5=(@2$5*remote(Tab1,@2$2)+@3$5*remote(tab1,@3$2)+@4$5*remote(tab1,@4$2))::@6$6=(@2$6*remote(Tab1,@2$2)+@3$6*remote(tab1,@3$2)+@4$6*remote(tab1,@4$2))::@6$7=(@2$7*remote(Tab1,@2$2)+@3$7*remote(tab1,@3$2)+@4$7*remote(tab1,@4$2))::@6$8=(@2$8*remote(Tab1,@2$2)+@3$8*remote(tab1,@3$2)+@4$8*remote(tab1,@4$2))
|
||||
| | Categoria | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 |
|
||||
|---+-----------+------+------+-------+-------+------+------|
|
||||
| # | Vacas | 0 | 20 | 20 | 22 | 22 | 22 |
|
||||
| # | Novilhas | 20 | 0 | 4 | 5 | 4 | 4 |
|
||||
| # | Terneiras | 0 | 4 | 5 | 4 | 4 | 4 |
|
||||
|---+-----------+------+------+-------+-------+------+------|
|
||||
| # | T_cab | 20 | 24 | 29 | 31 | 30 | 30 |
|
||||
| # | T_UGMs | 15. | 21. | 24.25 | 26.75 | 26. | 26. |
|
||||
| # | | | | | | | |
|
||||
#+TBLFM:@2$3=remote(Tab3_1, $SAV)::@2$4=remote(Tab3_2, $SAV)::@2$5=remote(Tab3_3, $SAV)::@2$6=remote(Tab3_4, $SAV)::@2$7=remote(Tab3_5, $SAV)::@2$8=remote(Tab3_6, $SAV)::@3$3=remote(Tab3_1, $SAN)::@3$4=remote(Tab3_2, $SAN)::@3$5=remote(Tab3_3, $SAN)::@3$6=remote(Tab3_4, $SAN)::@3$7=remote(Tab3_5, $SAN)::@3$8=remote(Tab3_6, $SAN)::@4$3=remote(Tab3_1, $SAB)::@4$4=remote(Tab3_2, $SAB)::@4$5=remote(Tab3_3, $SAB)::@4$6=remote(Tab3_4, $SAB)::@4$7=remote(Tab3_5, $SAB)::@4$8=remote(Tab3_6, $SAB)::@5$3=@2$3+@3$3+@4$3::@5$4=@2$4+@3$4+@4$4::@5$5=@2$5+@3$5+@4$5::@5$6=@2$6+@3$6+@4$6:: @5$7=@2$7+@3$7+@4$7::@5$8=@2$8+@3$8+@4$8::@6$3=(@2$3*remote(Tab1,@2$2)+@3$3*remote(tab1,@6$2)+@4$3*remote(tab1,@4$2))::@6$4=(@2$4*remote(Tab1,@2$2)+@3$4*remote(tab1,@6$2)+@4$4*remote(tab1,@4$2))::@6$5=(@2$5*remote(Tab1,@2$2)+@3$5*remote(tab1,@6$2)+@4$5*remote(tab1,@4$2))::@6$6=(@2$6*remote(Tab1,@2$2)+@3$6*remote(tab1,@6$2)+@4$6*remote(tab1,@4$2))::@6$7=(@2$7*remote(Tab1,@2$2)+@3$7*remote(tab1,@6$2)+@4$7*remote(tab1,@4$2))::@6$8=(@2$8*remote(Tab1,@2$2)+@3$8*remote(tab1,@6$2)+@4$8*remote(tab1,@4$2))
|
||||
|
||||
* TODO Resolver exportar ou criar data.tabela. Para continuar, é necessário exportar a Tabela acima. Faço pelo menu Table - Export to file. Nome do Arquivo a exportar = Tabela$.csv.>>
|
||||
|
||||
** Gráfico resumo
|
||||
#+NAME: Ler data.table Resumo
|
||||
#+begin_src R
|
||||
#+begin_src R :exports results
|
||||
library(data.table)
|
||||
library(tidyr)
|
||||
library(dplyr)
|
||||
@ -313,27 +320,22 @@ REV<-fread("~/Documentos/GITs/Compos_rebanho/data/ResumoEvolucaoVitruvio.csv",
|
||||
values_drop_na = TRUE )
|
||||
|
||||
REv$Ano=as.numeric(REv$Ano)
|
||||
View(REv)
|
||||
#View(REv)
|
||||
#end_src
|
||||
|
||||
#+NAME: grafico resumo
|
||||
#+begin_src R
|
||||
#+begin_src R :grafResum.png :results graphics file
|
||||
library (ggplot2)
|
||||
|
||||
test1<-ggplot(REv, aes(Ano,
|
||||
ResEvolVit<-ggplot(REv, aes(Ano,
|
||||
Quantidade,
|
||||
colour=Categoria))+
|
||||
geom_line()
|
||||
test1
|
||||
ggsave("ResEvolVit.png", ResEvolVit, path="~/Documentos/GITs/Compos_rebanho/data/", width=7, height=3, units="in")
|
||||
|
||||
#+end_src
|
||||
|
||||
#+RESULTS: Ler data.table Resumo
|
||||
: tibble [36 × 3] (S3: tbl_df/tbl/data.frame)
|
||||
: $ Categoria : chr [1:36] "Vacas" "Vacas" "Vacas" "Vacas" ...
|
||||
: $ Ano : num [1:36] 2004 2005 2006 2007 2008 ...
|
||||
: $ Quantidade: num [1:36] 0 20 20 24 24 25 20 0 4 5 ...
|
||||
: Warning message:
|
||||
: [1m[22mRemoved 6 rows containing missing values
|
||||
: (`geom_line()`).
|
||||
: Erro: unexpected string constant em "ggsave(ResEvolVit.pdf" ResEvolVit, path=""
|
||||
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user