Telegram Group & Telegram Channel
Forwarded from آمارکده (🫧ᵞᴱᴳᴬᴺᴱᴴ🫧)
🌺🔴

کد R برای رسم گل

# نصب و بارگذاری کتابخانه‌های لازم
# install.packages("ggplot2") # اگر قبلاً نصب نکرده‌اید
library(ggplot2)

# تعیین تعداد گلبرگ‌ها و پارامترهای دیگر
n_petals <- 8
theta <- seq(0, 2 * pi, length.out = 100)

# محاسبه مختصات x و y برای گل
x <- (1 + 0.5 * cos(n_petals * theta)) * cos(theta)
y <- (1 + 0.5 * cos(n_petals * theta)) * sin(theta)

# رسم گل
plot(x, y, type = 'l', col = 'pink', lwd = 2, xlab = '', ylab = '', asp = 1,
     main = 'Flower Plot')
polygon(x, y, col = 'lightpink', border = 'darkred') # پر کردن گلبرگ‌ها

# اضافه کردن مرکز گل
points(0, 0, col = 'yellow', pch = 19, cex = 3) # مرکز گل



┏━━━━━
🌐  @Amar_kadeh 📖✍️
┗━━━━━━━━━━



group-telegram.com/vru_statistics/314
Create:
Last Update:

🌺🔴

کد R برای رسم گل

# نصب و بارگذاری کتابخانه‌های لازم
# install.packages("ggplot2") # اگر قبلاً نصب نکرده‌اید
library(ggplot2)

# تعیین تعداد گلبرگ‌ها و پارامترهای دیگر
n_petals <- 8
theta <- seq(0, 2 * pi, length.out = 100)

# محاسبه مختصات x و y برای گل
x <- (1 + 0.5 * cos(n_petals * theta)) * cos(theta)
y <- (1 + 0.5 * cos(n_petals * theta)) * sin(theta)

# رسم گل
plot(x, y, type = 'l', col = 'pink', lwd = 2, xlab = '', ylab = '', asp = 1,
     main = 'Flower Plot')
polygon(x, y, col = 'lightpink', border = 'darkred') # پر کردن گلبرگ‌ها

# اضافه کردن مرکز گل
points(0, 0, col = 'yellow', pch = 19, cex = 3) # مرکز گل



┏━━━━━
🌐  @Amar_kadeh 📖✍️
┗━━━━━━━━━━

BY انجمن علمی آمار دانشگاه ولی عصر(عج)




Share with your friend now:
group-telegram.com/vru_statistics/314

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

"Someone posing as a Ukrainian citizen just joins the chat and starts spreading misinformation, or gathers data, like the location of shelters," Tsekhanovska said, noting how false messages have urged Ukrainians to turn off their phones at a specific time of night, citing cybersafety. That hurt tech stocks. For the past few weeks, the 10-year yield has traded between 1.72% and 2%, as traders moved into the bond for safety when Russia headlines were ugly—and out of it when headlines improved. Now, the yield is touching its pandemic-era high. If the yield breaks above that level, that could signal that it’s on a sustainable path higher. Higher long-dated bond yields make future profits less valuable—and many tech companies are valued on the basis of profits forecast for many years in the future. What distinguishes the app from competitors is its use of what's known as channels: Public or private feeds of photos and videos that can be set up by one person or an organization. The channels have become popular with on-the-ground journalists, aid workers and Ukrainian President Volodymyr Zelenskyy, who broadcasts on a Telegram channel. The channels can be followed by an unlimited number of people. Unlike Facebook, Twitter and other popular social networks, there is no advertising on Telegram and the flow of information is not driven by an algorithm. The perpetrators use various names to carry out the investment scams. They may also impersonate or clone licensed capital market intermediaries by using the names, logos, credentials, websites and other details of the legitimate entities to promote the illegal schemes. Russian President Vladimir Putin launched Russia's invasion of Ukraine in the early-morning hours of February 24, targeting several key cities with military strikes.
from us


Telegram انجمن علمی آمار دانشگاه ولی عصر(عج)
FROM American