R – How do I convert values ​​to percent using Data.table?

I have a data.table() with the columns region, year and quantity.

The amount is in total, I would like to make it in percent per year.

What I have:

     Região  ano  Quantidade
      Norte  2017        252
   Nordeste  2017        281
    Sudeste  2017       2038
        Sul  2017       2246
Centro-Oeste 2017        525

What I want:

     Região  ano  Quantidade    % por ano
      Norte  2017        252          4.5
   Nordeste  2017        281            5
    Sudeste  2017       2038           36
        Sul  2017       2246           40
Centro-Oeste 2017        525          4.1

I'm trying to do that with that lapply()

Estab_regiao <- Estab_regiao(,Freq:=Quantidade/tapply(Quantidade, ano, FUN=sum)*100,)

But I have the following error:
Evaluation error (jsub, SDenv, parent.frame ()):
dims (product 8) does not match the length of the object (40)


structure(list(Região = c("Norte", "Nordeste", "Sudeste", "Sul", 
"Centro-Oeste", "Norte", "Nordeste", "Sudeste", "Sul", "Centro-Oeste", 
"Norte", "Nordeste", "Sudeste", "Sul", "Centro-Oeste", "Norte", 
"Nordeste", "Sudeste", "Sul", "Centro-Oeste", "Norte", "Nordeste", 
"Sudeste", "Sul", "Centro-Oeste", "Norte", "Nordeste", "Sudeste", 
"Sul", "Centro-Oeste", "Centro-Oeste", "Norte", "Nordeste", "Sudeste", 
"Sul", "Centro-Oeste", "Norte", "Nordeste", "Sudeste", "Sul"), 
    ano = c(2017, 2017, 2017, 2017, 2017, 2016, 2016, 2016, 2016, 
    2016, 2015, 2015, 2015, 2015, 2015, 2014, 2014, 2014, 2014, 
    2014, 2013, 2013, 2013, 2013, 2013, 2012, 2012, 2012, 2012, 
    2012, 2011, 2011, 2011, 2011, 2011, 2010, 2010, 2010, 2010, 
    2010), Quantidade = c(252L, 281L, 2038L, 2246L, 525L, 233L, 
    265L, 1952L, 2193L, 502L, 187L, 247L, 1881L, 2059L, 469L, 
    155L, 195L, 1808L, 1975L, 449L, 113L, 182L, 1758L, 1830L, 
    441L, 108L, 186L, 1746L, 1835L, 423L, 397L, 106L, 206L, 1697L, 
    1749L, 345L, 98L, 185L, 1653L, 1584L)), row.names = c(NA, 
-40L), class = c("data.table", "data.frame"), .internal.selfref = )

800 percent payment – 800percentpay.com

I'm not admin

About us.

800PercentPay is a professionally managed group of experienced Bitcoin and Forex traders. We offer you a stable basis for your efforts to be successful. Our investment plans and products, combined with our outstanding security features and reputation for ethics and transparency, ensure that you have the best options to trade worldwide.

We offer a comprehensive investment service for the cryptocurrency (Bitcoin) trading market and the Forex trading market. Our professional and experienced staff will be very good and stability will lead to money management activities. That is why we decide to open our service to small investors and to offer this internet project.

We make investments easy. You can get free tips and compare investment plans and features side by side. You can choose the most suitable investment plan and follow it with us. Your investment is risk-free and the profit of all investment plans is guaranteed as described. Take part, you will definitely be satisfied!

Our mission is to help our customers by creating and providing a unique and valuable quality service and to help our customers achieve financial success by offering real investment opportunities and support.

468.gif "data-src =" https://www.800percentpay.com/images/468.gif "src =" https://topgoldforum.com/applications/core/interface/js/spacer.png "/>
	<strong>Investment plans:</strong></p>
<p>	– 800% after 1 day <br />
	– 7000% after 2 days <br />
	– 60000% after 3 days <br />
	– 600% after 12 hours <br />
	– 800% after 1 hour <br />
	– 1000% after 1 minute
	<strong>Investment amount:</strong></p>
<p>	– Minimum $ 30<br />
	– A maximum of $ 100,000
	<strong>Payment accepted:</strong></p>
<p>	– perfect money,<br />
	– PAYEER<br />
	– Bitcoin (BTC)<br />
	– Bitcoin Cash (BCH)<br />
	– Litecoin<br />
	– ether
	<strong>Recommendation Commission:</strong> 3%, 5%, 6%
	<strong>Program features:</strong></p>
<p>	– GC HYIP license script<br />
	– SSL-certified by COMODO RSA<br />
	– Secure DDOS protection hosting<br />
	– Immediate payment
	<strong>Program reference link: </strong><strong>Pay 800 percent</strong>
	</div><!-- .entry-content -->

	<footer class= Posted on Categories ArticlesTags , , ,

Mining Pools – If I launched a 51 percent attack, would I transfer my network status to the nodes?

In the scenario where a company controls more than 51% of the hash performance and wants to build a longer chain where it doubles up previously confirmed transactions, is the chain sent to the network during processing?

The alternate scenario I see is the entity that works on the chain and only sends it to the full nodes at the point where it has overtaken what is probably the longest chain currently. This second scenario seems to me to be far more damaging to trust in Bitcoin if it is deleted. Are both scenarios technically possible?

I offer you a 200 percent backlink service for your SEO service for $ 20

I offer you 200 backlinks for your SEO service

Hello everybody!

Create a 200 high DA backlinks service for your SEO service.

Domain Authority (DA) or SEO backlinks and Page Authority (PA) are two elements that you must always consider in addition to relevance before choosing a domain for linking. DA and PA are the new page rank (PR itself is now an outdated search engine optimization metric and should not be seen as such). You can calculate the DA of a domain by basically installing the MOZ toolbar for search engine optimization. The analysis shows that DA is an integral part of the Google ranking algorithm (there are actually more than 200 ranking things).

What do you get from me?

  • 200 high DA backlinks
  • Full login information
  • Fresh Excel report
  • 48 hours express delivery


– It's a Dofollow & Nofollow Natural Mix Link.
– Domain Authority (DA) is between 40 and 100
– Page Authority (PA) is high
– Confidence flow (TF) – high
– Citation Flow (CF) – high
– The page rank (PR) is high
– The post stays there permanently.
– Secure and natural backlinks
I will need from you?

short description

, (tagsToTranslate) SEO (t) Service (t) Offpage (t) Onpage (t) Backlink

TrentaHost INC. | E3-1220 – 32 GB – 500 GB SATA – 27.99 USD / month | DDOS protected | REDUCED BY 50 PERCENT

Make this your last stop and choose TrentaHost! All Dedicated Server plans come standard with 20Gbps DDOS protection.

Action: 50% DISCOUNT – Coupon Code: Use DEDI50 when paying! * Monthly duration only *


Here at TrentaHost INC. Has support as our top priority. We believe it's an amazing feature to have a strong support team around the clock to provide answers to our end users when needed. We have a small team of friendly and dedicated support staff who are growing rapidly as the company grows.

We have many opportunities to support our end users. These range from online live single chats to special support tickets. We are constantly developing new ways to support our customers.

– E-mail messages.
– Live Chat (ONLY sales!)
– Support tickets.
– Direct e-mail form.
– Facebook Fan Page.
– Twitter account.
– Vimeo & Youtube Tutorials.

( Locations )

Portland, OR

( Characteristics )

Special system control
Choice of operating system (x86 or x64)
1 DEDICATED IP is included in each Dedicated Server
99.9% availability guarantee
Full server access
Great pings worldwide!
24 hours setup
Improve at any time
No contract
Easy to follow T.O.S
Powerful server
Technical support around the clock


(PTL-E3-1220-V1-32GB) – ORDER NOW!


CPU: Intel (R) Xeon (R) CPU E3-1220 V1 at 3.10 GHz
Hard disk: 500 GB Sata HD
Uplink: 100 Mbps
Bandwidth – 10 TB
DDOS protection – 20 GBit / s
IPMI – IPMI 2.0 with integrated KVM over IP

Monthly: $ 27.99 / month

(PTL-E3-1230-V2-32GB) – ORDER NOW!


CPU: Intel (R) Xeon (R) CPU E3-1230 V2 at 3.30 GHz
Hard disk: 500 GB Sata HD
Uplink: 100 Mbps
Bandwidth – 10 TB
DDOS protection – 20 GBit / s
IPMI – IPMI 2.0 with integrated KVM over IP

Monthly: $ 34.99 / month

(PTL-E3-1270-V2-32GB) – ORDER NOW!


CPU: Intel (R) Xeon (R) CPU E3-1270 V2 at 3.50 GHz
Hard disk: 1 TB Sata HD
Uplink: 100 Mbps
Bandwidth – 10 TB
DDOS protection – 20 GBit / s
IPMI – IPMI 2.0 with integrated KVM over IP

Monthly: $ 41.99 / month

Payment Methods: PayPal, Bitcoin & all major credit cards.

Terms of Use, Privacy and Frequently Asked Questions:
Terms of Use: https://www.trentahost.com/terms-of-service/
Data Protection Policy: https://www.trentahost.com/privacy-policy/
Refund policy: https://trentahost.com/refund-policy/

Visit our website here: https://www.trentahost.com

Why does Bernie Sanders, who belongs to the top 1 percent, own three different houses, of which two luxury houses cost more than $ 500,000?

Bernie, who once stood for what he spits, was paid. He was paid for not stinking for the DNC who repaired Hillary Elementary School. He was paid for not showing his followers anything. Hillary has won. Throw your support behind her. Was paid and it really opened his eyes, what life could be like. He has little chance of winning this time, but he believes he will get paid again. That's Bernie's truth now.

If nobody cares if I'm gay, why are 90 percent of my interactions on Yahoo Answers Politics INSULTS that I'm gay?

I am a 68 year old male conservative. I have just returned from a cruise with my niece to Honduras. She is a lesbian. I judge people by their character as an individual. She is great and she is also conservative. She feels love that is different from no one else. You will not find me if I beat someone for being part of a group. There are gay, black, brown, Muslim people whom I have met and who are worth more than me. Not only do I care that you are gay, as far as I know, you could be a really cool person.

REDUCED BY 50 PERCENT! MPHosts.mx – Powerful Web Hosting – WHT PROMO! From $ 0.75, cPanel, SSL, Softaculous, SSD

MPHosts.mX – Powerful web hosting – REDUCED BY 50 PERCENT for WHT users! cPanel, SSL, Softaculous, SSD.


50% DISCOUNT for all shared hosting packages

40 GB SSD, cPanel, Softaculous and Sitepad! 2.45 USD per month (29.40 USD per year)

MPHosts Now with SitePad in all our hosting plans – it's free!

What is SitePad?
SitePad is a drag-and-drop website builder with 354 professional themes covering a variety of categories such as blog, business, portfolio, restaurants, travel, etc. and more than 40 widgets such as Image / Video Slider, Image Galleries, Rich Text, Video, Cover Audio, Service Box, Google Maps, Contact Form, Social Media and more.

Start plan $ 9.00 for the first year?!
MAXXX Plan 29,40 USD for the first year?!
Promo Code works with monthly and yearly Payments.
Valid: 01.11.2019 – 30.11.2019

English page:

Server Location: Phoenix – USA

Why MPHosts?

Every customer is something special for us. Our customers are our most important asset and we are ready and willing to provide the best possible service.
We believe that by listening to our customers' needs and wishes, we can improve our overall product offering and customer experience.

Performance-based web hosting is not a luxury but a necessity. Designed for reliability, convenience and ease-of-use, our web hosting platform provides the perfect balance between storage, monthly transfer and account management.

Why our hosting?

  • NVMe 3D SSD storage
  • SuperCharged server with CloudLinux and LiteSpeed
  • 24/7/365 support
  • No hidden fees or costs
  • 30-day money-back guarantee
  • Softaculous – Install over 300 scripts

Main features: cPanel Control Panel CloudLinux Technology Attracta SEO Tools LSAPI LiteSpeed ​​Technology Softaculous Auto Script Installer CloudFlare CDN Free SSL encryption, multiple PHP versions (5.2 to 7.1), DKIM and SPF control

Standard Hosting Plans


  • 1 GB SSD
  • 10 GB bandwidth
  • 1 hosted domain
  • 5 e-mail accounts

0.75 USD per month ($ 9.00 per year) – including 50% DISCOUNT
Order now


  • 2 GB SSD
  • 15 GB bandwidth
  • 2 hosted domains
  • 10 e-mail accounts

0,95 USD per month (11.40 USD per year) – including 50% discount
Order now


  • 10 GB SSD
  • 40 GB bandwidth
  • 5 hosted domains
  • 20 e-mail accounts

1.45 USD per month ($ 17.40 per year) – including 50% off
Order now

PRO Line:


  • 20 GB SSD
  • 70 GB bandwidth
  • 10 hosted domains
  • 50 e-mail accounts

1.85 USD per month ($ 22.20 per year) – including 50% DISCOUNT
Order now


  • 40 GB SSD
  • 100 GB bandwidth
  • Unlimited hosted domains
  • Unlimited e-mail accounts

2.45 USD per month (29.40 USD per year) – including 50% discount
Order now


Secure payments:

Stripes (MasterCard, Visa, Discover, American Express), Paypal

Mexico: www.mphosts.mx
English page: www.mphosts.com

Polish site: www.mphosts.pl