blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8a992d41ce6d1003117ebb0efa289b8c61dc32c | 03b58eced475bed141a0e81b2b687fd72d42769b | /R/get_p_LSHTM.R | 4359a09eb6daffbb8dd0c87feae4868d96b662c6 | [] | no_license | epicentre-msf/covidestim | a86a14697bac09e27cee2d802dc12489da5fbe91 | 93785a265a495d9388add08913aba3ab14d96c59 | refs/heads/master | 2023-01-04T21:46:17.651857 | 2020-11-02T16:21:49 | 2020-11-02T16:21:49 | 263,291,260 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,846 | r | get_p_LSHTM.R | #' Estimate Covid2019 outcome probabilities for a population given its age
#' distribution, and age-severity estimates used by LHSTM
#'
#' @description
#' Estimate Covid19 outcome probabilities including hospitalizion|infection,
#' ICU|hospitalization, death|hospitalization, and death|infection, using
#' age-specific o... |
7f25737a0795e56c8340cab41f639438de762115 | 011c52e9bae1857c0bd3d44f6f27adada699ba0a | /man/getTileIdFromFilename.Rd | 0a2163dfecbdc8a3ff4e81e9f9c61352dd51599c | [
"MIT"
] | permissive | albhasan/blissR | ffebfe0fcd72e2e0226b140a1ddfe7cdcad579d2 | 2ce56272596c709df4bcecedf4ee9720bb62ef8a | refs/heads/master | 2020-12-24T13:36:46.158293 | 2014-08-19T12:54:25 | 2014-08-19T12:54:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 355 | rd | getTileIdFromFilename.Rd | \name{getTileIdFromFilename}
\alias{getTileIdFromFilename}
\title{Get ths MODIS tile id from the modis filename}
\usage{
getTileIdFromFilename(object, fileName)
}
\arguments{
\item{object}{An instance of the class Util}
\item{fileName}{Name of the file}
}
\value{
The name of the file
}
\description{
Get ths MODIS ... |
59ef695abc651bdc3c150b4ad0c5bd5191745234 | 68d1186a1f8bf36627f45d926e3a0971b07cee7d | /R/RcppExports.R | 149c8ce6b264d2579249e9e660903ae4dd74894c | [] | no_license | tz-lom/bcidat | c0bf6f6de42d163ba01f719fe345bc16e4ef779b | 12bc6f9aea5dd1b2f8e4d933e70669d54e710585 | refs/heads/master | 2021-06-06T18:53:37.679957 | 2019-04-10T19:25:30 | 2019-04-10T19:25:30 | 23,744,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 239 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
load_bcidat <- function(file, raw = FALSE) {
.Call('_bcidat_load_bcidat', PACKAGE = 'bcidat', file, raw)
}
|
939ed1ff93ef0162e6f6c2dc6bad543a2dc5aa1f | 58551e85e82d8e4df11dd7922b619f7896a0f566 | /R/wrappers.R | 4e9f5c0f9b8d8fb298a8ddd66c344d7b4007666d | [] | no_license | jkaupp/infer | e77abe19803061995f1665950750c8dbd4eef053 | c863cd91fc142ca49da458f641736488d3a68dcf | refs/heads/master | 2020-03-19T09:19:16.639094 | 2018-05-14T23:13:22 | 2018-05-14T23:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,975 | r | wrappers.R | # Wrapper functions
# Different shortcuts to doing traditional hypothesis tests & confidence intervals
# in R as well as calculating test statistics,
# following a pipe-able framework
#'
#' A tidier version of t.test for two sample tests
#'
#' @param data a data frame that can be coerced into a \code{\link[tibble]{tib... |
9ae632ffd8d49f1c4c1ea0c526dee6410f01790b | 6eb82256addc1b8da73b394219965b844112c8d3 | /catSurv/man/estimateSE.Rd | 6194dcf9f033362fe0186bf57a303240dd7a0b55 | [] | no_license | drmiller1220/CATSurv | b441b9d34a9b23b0460bfa11ec144661063b4c01 | 9cfff1e28c4f09f75b587101a6c16e00aa8e7981 | refs/heads/master | 2021-01-23T00:48:45.078983 | 2016-03-31T22:11:05 | 2016-03-31T22:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | rd | estimateSE.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/estimateSE.R
\name{estimateSE}
\alias{estimateSE}
\title{Computerized Adaptive Testing Survey Posterior Standard Error of Estimated Latent Trait Position Estimator}
\usage{
estimateSE(cat, theta.hat, ...)
}
\arguments{
\item{cat}{An o... |
6c4e6ba5ee1c6d1fd7a68b480dc3a630c3761be2 | a0cfa7a7e59b8aaa13e413af70eab364bfa31948 | /plot4.R | 2ae46a994d914bd47850676fea19493324dd6f8e | [] | no_license | Manu929/ExData_Plotting1 | ec75b673cda3cb3fc33e3e12cdcc19cd69506bec | 6d33a30611dfb974bec9f5dbf1524685749d2157 | refs/heads/master | 2022-04-24T22:04:56.362956 | 2020-04-26T16:29:15 | 2020-04-26T16:29:15 | 258,986,605 | 0 | 0 | null | 2020-04-26T09:09:47 | 2020-04-26T09:09:47 | null | UTF-8 | R | false | false | 1,564 | r | plot4.R | png(filename = "plot4.png", height = 480, width = 480) #first create a png file (instead of using dev.copy)
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings ="?",
colClasses = c("character","character", "numeric","numeric","numeric","numeric","numeric","nume... |
15620315356ad3f0313facf4dc81064c59e279b7 | f0937348e9cca17d24830c34798e167e85eb0140 | /man/rowMeans.Rd | 59f0f12be2a060934c0a87b0495f96baf357e495 | [] | no_license | mohakuma/AdapteR | 8cc349621d8deb64d80dbab5bf68829fce3bc8b3 | 3f3c31301f0aa4a31a34fbc00b2facac61189954 | refs/heads/master | 2021-01-21T09:59:53.611783 | 2017-05-11T12:05:44 | 2017-05-11T12:05:44 | 91,676,188 | 0 | 0 | null | 2017-05-18T09:41:01 | 2017-05-18T09:41:01 | null | UTF-8 | R | false | true | 578 | rd | rowMeans.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rowcolOps.R
\name{rowMeans}
\alias{rowMeans}
\title{row means of a FLMatrix.}
\usage{
rowMeans(object, ...)
}
\arguments{
\item{object}{is of class FLMatrix.}
\item{...}{any additional arguments}
}
\value{
\code{rowMeans} returns a FLVector ... |
6f4ebd59a7add9ec4243ae4aecb126201b9c954e | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/MarkEdmondson1234/autoGoogleAPI/playmoviespartner_functions.R | 18893991e87cb8f8ce5c2d6494a55cf4ed45e3e9 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,232 | r | playmoviespartner_functions.R | #' Google Play Movies Partner API
#' Gets the delivery status of titles for Google Play Movies Partners.
#'
#' Auto-generated code by googleAuthR::gar_create_api_skeleton
#' at 2017-03-05 19:57:46
#' filename: /Users/mark/dev/R/autoGoogleAPI/googleplaymoviespartnerv1.auto/R/playmoviespartner_functions.R
#' api_json: ... |
a6bf98f28a8903baee696894f1371de04b4ec727 | fc7a4e9a00eae8f4970f5c1e72e63e4f0ad6ac60 | /man/full.rundown.Rd | 2a7a15e48037cb9d3a9a63cfeb14812d389ebaf8 | [] | no_license | andrewejaffe/clusterRundown | 9be6e85d8e82d2cb3343d9579d33f0a498b1f420 | 69d62ca4ef91c3453982c28126220df44c9ef8e4 | refs/heads/master | 2021-01-18T16:22:20.475901 | 2017-03-30T19:42:41 | 2017-03-30T19:42:41 | 86,740,040 | 0 | 0 | null | 2017-03-30T19:21:37 | 2017-03-30T19:21:37 | null | UTF-8 | R | false | true | 281 | rd | full.rundown.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nodes.R
\name{full.rundown}
\alias{full.rundown}
\title{Get Full Cluster Rundown}
\usage{
full.rundown()
}
\value{
List of stuff
}
\description{
Get output of resources and slots begin used by cluster
}
|
9742e87ba4e9de7a5fd7b5ce900050f5ab618777 | 257f253f9fd8fd6a385abaaaa9d9509409137631 | /Numerical method/test - wL.r | 89f1941360a45e65f672eab4c9c23591ba7f482d | [] | no_license | YaojieLu/Optimal-model-with-cost | ee16d16e159687e0b7d06e132101422cd7f3a788 | 0a66573bc221034f02c0554c3ff63e371d025a85 | refs/heads/master | 2020-05-22T01:17:15.500934 | 2017-01-24T22:45:10 | 2017-01-24T22:45:10 | 50,156,177 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 594 | r | test - wL.r |
# Curve fit - gs(w) as a double power function
options(digits=20)
library(deSolve)
library(optimx)
source("Functions 1.r")
ca <- 400
k <- 0.05
MAP <- 1000
h3 <- 10
c <- 2.64
d <- 3.54
wLf <- function(wL){
gswLf <- function(gswL){
int <- c(0.07, 4, 0.08, 0.5)
f1 <- function(pars)-CFf(pars, wL=wL, gswL=gswL)... |
5f1408b4bba49d37dd738a7d198909878cf1d7a5 | af287883420604671bc5fcd223f53dce92b85438 | /man/plaint.Rd | 5be926b9d5723e09ae92cc5b97e48006ff32099e | [
"MIT"
] | permissive | ratmaster/plaint | dfc346d2ba2293009b3c80b2a07bc2e0db4af6eb | 22a3c2fd5f0202769a854d573cdef83523a9584f | refs/heads/master | 2021-06-03T00:27:03.930304 | 2016-10-22T10:32:58 | 2016-10-22T10:32:58 | 53,420,263 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 957 | rd | plaint.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plaint.R
\docType{package}
\name{plaint}
\alias{plaint}
\alias{plaint-package}
\title{plaint: Plain Table Markup Language}
\description{
\code{plaint} allows you to ease your life with forming data arrays, such
as data frames, matrices or tab... |
a5acf4072cfb75db90bbf1412600d142bc401551 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pdSpecEst/examples/InvWavTransf2D.Rd.R | 6cc2e348c7e972f8b30997f5df0ad7f707c02a98 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 342 | r | InvWavTransf2D.Rd.R | library(pdSpecEst)
### Name: InvWavTransf2D
### Title: Inverse AI wavelet transform for surface of HPD matrices
### Aliases: InvWavTransf2D
### ** Examples
P <- rExamples2D(c(2^4, 2^4), 2, example = "tvar")
P.wt <- WavTransf2D(P$f) ## forward transform
P.f <- InvWavTransf2D(P.wt$D, P.wt$M0) ## backward transform
al... |
c683419fc2fb37212c3e06975888bb0221327663 | e20a3587463ac8491b376d6f16cb607426fb119b | /R/load_data.R | 2207cd5d52e08b7931b1709440d49b7234f7f07e | [
"MIT"
] | permissive | phillipwongg/311-analysis | bedaf9b318e34c12309f69191e84b6a3f37697bf | fae5af0e022bf3ee06f8218203173b224be2ba60 | refs/heads/master | 2020-03-25T12:49:27.032641 | 2018-08-09T18:35:23 | 2018-08-09T18:35:23 | 143,795,607 | 0 | 0 | MIT | 2018-08-09T18:35:24 | 2018-08-06T23:53:52 | Jupyter Notebook | UTF-8 | R | false | false | 1,834 | r | load_data.R | #' This script loads the csv files and ensures the correct data types are used
#' and that the column names align before binding the rows
# column names with proper spacing
col_names_311 <- c(
"srn_number", "created_date", "updated_date", "action_taken",
"owner", "request_type", "status", "request_source",
"mobi... |
c8ef7ad681b96438bb07aed9cf08c2151e60f2bc | e532ccecac7a53c2c211ace6864858f88c13e364 | /R/LoadDemandVectors.R | 9d3cf4fac1218b92fb288f8f1e2d916d7975474c | [
"CC0-1.0"
] | permissive | MoLi7/useeior | a8038a30bfabee55af1abfc59947f59254e505fe | b5e8b3bdd544c0ffb1f27e98aba3afcd3b7ab965 | refs/heads/master | 2023-04-04T23:30:07.588455 | 2021-04-13T17:18:05 | 2021-04-13T17:18:05 | 313,776,518 | 0 | 0 | CC0-1.0 | 2021-04-13T17:18:06 | 2020-11-18T00:15:02 | null | UTF-8 | R | false | false | 1,299 | r | LoadDemandVectors.R | #' Adds demand vectors and metadata based on model specs to model object
#' @param model A model list object with the specs object listed
#' @return model with a list of demand vectors and a meta file
#' @export
loadDemandVectors <- function(model) {
logging::loginfo("Loading demand vectors from model spec...")
mod... |
7ef9f6db21e203c19515b892aeac8e6e9bea3224 | 4ee1f08370c39ca5ad702225359a1978d6f1a57e | /figure scripts/miso9_immune_figure1.R | 1d30532a3d6ce444d9acdb777adfdf34572bdd7e | [] | no_license | jgrembi/wash-immune | 358696974d7b2d3a8ecd528eb803e88f60c8decd | 44d924c9ce32dcf7ac034d5220b62a1ec1f8677d | refs/heads/master | 2023-04-04T07:50:59.986253 | 2021-04-02T05:29:23 | 2021-04-02T05:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,527 | r | miso9_immune_figure1.R | source(here::here("0-config.R"))
library(tibble)
data <- tibble(x = 1:100, y= 1:100)
head(data)
library(dplyr)
data %>%
ggplot(aes(x, y)) +
scale_x_continuous(minor_breaks = seq(10, 100, 10)) +
scale_y_continuous(minor_breaks = seq(10, 100, 10)) +
theme_void() ->
p
p +
geom_rect(xmin = 25, xmax=75, ymin=... |
08a7be16190915cdfe218f2d8449b007faf9296f | 065370e27d5d0dd082273f5a707f7c153628828b | /man/AssignedProxy-class.Rd | 8d8c997010bd5a8d942f488a5de974e8bcbc17ca | [] | no_license | takewiki/XR | 9622a1b019c28fadca5c254b4d61edd405756ef0 | 296bbcbc4c2d7d1f7761715923c52f17d047c612 | refs/heads/master | 2020-03-25T06:56:55.203485 | 2018-07-26T23:03:33 | 2018-07-26T23:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,554 | rd | AssignedProxy-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Interface.R
\docType{class}
\name{AssignedProxy-class}
\alias{AssignedProxy-class}
\alias{AssignedProxy}
\title{Class for Assigned Proxy Objects and Related Mechanisms}
\description{
The `AssignedProxy` class is used by interface packages to ... |
d42b70ef711ca98c149abbbae3a4160fff70ae11 | 4f288ad36167e1d97c56aac00ae66a663bf0925d | /puckalytics_dashboard_scraper.r | b0420667ea36903848960cb9dffd2ae27efb353a | [] | no_license | charliechaf/nhl | a629940b5460169908fb6f3174679ddcb175de27 | 9e045dfe35047e15c613565b22eb6473f553eb0a | refs/heads/master | 2021-01-20T12:52:15.556740 | 2017-06-05T16:07:51 | 2017-06-05T16:07:51 | 90,422,211 | 0 | 1 | null | 2017-06-05T16:07:52 | 2017-05-05T22:44:09 | R | UTF-8 | R | false | false | 1,222 | r | puckalytics_dashboard_scraper.r | library("rvest")
library(data.table)
library(stringr)
library(dplyr)
library(dtplyr)
library(beepr)
z=1
situations = c('5v5','5v5home','5v5road','5v5close_home', '5v5close_road', '5v5close','5v5tied','5v5tied_home','5v5tied_road',
'5v5leading','5v5leading_home','5v5leading_road','5v5trailing','5v5traili... |
f4126ad418d6fbae623c13006756349728e8c174 | 497881180743eb709fe9956a42a0aedb60f64878 | /R/update.R | bab6ac8158ab37ff23f6298cb4ba5ab0327eb1d8 | [] | no_license | tr8dr/dygraphs | 77c9e3354e25f404bbfaf666c8cc280fdaab635c | 42ca0e341df49777212912d1b8b7ce74ee8b114f | refs/heads/master | 2020-04-10T19:11:53.284248 | 2018-12-12T13:59:19 | 2018-12-12T13:59:19 | 161,226,587 | 0 | 0 | null | 2018-12-10T19:33:39 | 2018-12-10T19:33:38 | null | UTF-8 | R | false | false | 2,218 | r | update.R | #' dyUpdate allows in-situ replacement of the rendered timeseries in dygraph within shiny, rather than
#' rerendering the widget on each data change. This can be used for "real-time" update changes in
#' sampling, etc.
#'
#' @param session shiny session
#' @param id graph identifier (refers to the dygraph elementId ... |
a118b30885d5f91c754fa06a7f9514264905a3a1 | 66cfbd0954f5067b418e1d5712b029626aaa9923 | /man/plotGens.Rd | b769237b00c068401f0e7f97e78933c1cf9e0cec | [
"MIT"
] | permissive | ozt-ca/TokyoCovidMonitor | 7a390708f8c0696855d5f3670fc40dba0a5e09b3 | b81b1fe0c195d03323cfbd9c7599c18e2ef7e69a | refs/heads/main | 2023-07-09T13:06:37.961797 | 2021-08-13T09:50:57 | 2021-08-13T09:50:57 | 352,635,952 | 13 | 0 | null | null | null | null | UTF-8 | R | false | true | 328 | rd | plotGens.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analysis.R
\name{plotGens}
\alias{plotGens}
\title{Plot of cases by generations}
\usage{
plotGens(out = NULL, saveFile = F)
}
\arguments{
\item{saveFile}{}
}
\value{
}
\description{
Plot of cases by generations
}
\examples{
plotGens(saveFile... |
b6a9fd62a092d0000eb7656fc7c1c493f929d6bb | af09e109dbf1ca9cdbcf3aa8d1a53d8b75dbea44 | /TestScript.R | c71773fcf69d5b24aefc49776aea88092aac7b34 | [] | no_license | shaunharrigan/Test | 738adc30dc2cde44ab5cbd94be51814ee3487e07 | 14bc5b4d92f2381c7415bb936d6e22a99e8e8caa | refs/heads/master | 2020-02-26T13:10:10.349605 | 2016-07-14T14:22:17 | 2016-07-14T14:22:17 | 63,319,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | TestScript.R | # Test script
x <- rnorm(100)
plot(x)
print("Test GitHub V2") |
fae41722c5aee9ec0cd53c2180bf6aba0b0bfbc4 | cfd4ee0d5f3d6c54ba41df91483e19716f313481 | /2groups_sex/server.R | a5cb007af12110763a875d132cde68fd72c1d90b | [] | no_license | anni3ly/behavior_webapp | 92e758f249e9c663d7a59a40740a11e166bcd402 | f86f3c8f84597977d03f277d477bb3f68f3cde28 | refs/heads/master | 2020-09-06T04:40:44.727520 | 2020-07-09T14:10:28 | 2020-07-09T14:10:28 | 220,324,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,823 | r | server.R | server = function(input, output)({
group_1 = c("thc")
group_2 = c("veh")
#----------------------------------------
# Reactive data sets ----
reactive.data1 <- reactive({
data_summary(FR_data, varname=input$y, groupnames=c("session", "group", "fr", "sex"))
#data_summary(FR_data, varname=inp... |
fd09f812f919c73bd36d72371424bc41aa5e4e96 | f23c0c55de531dd18c3f07f194a5ebce2a7c3f13 | /rankhospital.R | bcf217bb66ce1a5e0089408938f9770e4fddf597 | [] | no_license | YevgenyY/RProg-Assignment3 | c899d54e98d260c51e573bba878c59d483ecbe14 | 0e206eb68e54856cee8eae3cd2a96164388df3a4 | refs/heads/master | 2021-01-16T18:03:13.376632 | 2014-09-27T21:45:40 | 2014-09-27T21:45:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,202 | r | rankhospital.R | rankhospital <- function(state, outcome, num = "best") {
## Read outcome data
data <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
# prepare data, format as numeric
tmp <- data_num<-sapply(data[, c(11, 17, 23)], as.numeric)
data_num<-cbind(data[,c(2,7)], tmp)
# order alphabetical... |
edeb697be151d037b5bc84ede5013ca0b521159a | 328a32b2399be3815a5a9d1e09926fa37eb64fb8 | /tests/temp/rubens/ldp/utils/ldp.R | 83fe53367a8cf9e13de7aabd1d01ef52ab1eccdf | [] | no_license | phramos07/taskminer | e5d9b198c61b9c7ebb63e45b30f2df29431faf17 | 1f9515acbb3acc9a8fa5ed8f054cfaec4b1209cf | refs/heads/master | 2023-08-19T07:04:31.731247 | 2019-03-22T13:38:47 | 2019-03-22T13:38:47 | 416,901,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 130 | r | ldp.R | #! /usr/bin/Rscript
# Arguments
args = commandArgs();
inldp <- args[6];
inpar <- args[7];
inseq <- args[8];
output <- args[9];
|
4f83e136e59e736d62909a571d37554a2c648eb8 | 299f423a60e2bd8430cb53b07e750013a12a19a4 | /IQBoss/R/package_functions.R | ad8ed069d9bb09071d45c49814035905220cccf2 | [
"MIT"
] | permissive | xcit-lab/iqboss-audit | d74fd72638cf458e85f7281dae8a650e44e34e12 | 58be89f1298f7e2a0545e9a5ec136abb9608d17f | refs/heads/master | 2020-05-09T09:54:08.828158 | 2019-12-12T16:19:29 | 2019-12-12T16:19:29 | 181,021,392 | 1 | 6 | MIT | 2019-12-12T16:19:30 | 2019-04-12T14:12:49 | R | UTF-8 | R | false | false | 654 | r | package_functions.R | library(tidyverse)
report_summary <- function() {
exp1 <- IQBoss::data %>%
mutate(IQ_change = IQ_post - IQ_pre)
exp2 <- IQBoss::data2 %>%
mutate(IQ_change = IQ_post - IQ_pre) %>%
mutate(dose_ml = dose_l / 1000)
lm_model1 <- lm(formula = IQ_change ~ dose_ml, data=exp1)
print(summary(lm_model1))
... |
7663cf6574d9d5b6177695904608f6d69adaf6cd | d052e3d0af115e428ca3d8df31272b5238ea2107 | /functions/cptPlot.R | 036566e6a6f0b8695bddbb991acc2c2f7a545a48 | [] | no_license | BhaktiDwivedi/shinySISPA | f8e139d33bfbdc2d5bc824fbffb99d8420471623 | 9844a00963032dc2b1a013183227616f17cb1fc3 | refs/heads/master | 2021-01-17T17:51:18.365536 | 2020-06-17T20:46:39 | 2020-06-17T20:46:39 | 70,636,046 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 801 | r | cptPlot.R | cptsPlot <- function(x,y,LABEL){
if(missing(x)){
stop("data is missing!")
}
if(missing(y)){
stop("changepoint cutoffs are missing!")
}
x <- sort(x,FALSE)
y <- sort(y,TRUE)
par(bg = "white")
cptplot <- plot(x, type='p', lty=3, lwd=1, main="", xlab="Samples", ylab=LABEL, cex=2.0, pch=1, xlim=c(... |
2355c9b12821f851d517681702a2ee80485a4f12 | e9cd9c80512f984512ac51f8256cd4c7bd0b61fd | /R/07c_V_HistoricalComparison.R | f0a9c8aa5b9f47b0b8434a91f84da7c03c3f234a | [] | no_license | arnanaraza/streamflow | c49e502c082d3c12265bb9be602d25f49deb34c0 | 610cd81e003e18e7019041607ee55031865e8d63 | refs/heads/master | 2020-04-19T22:09:29.966358 | 2019-01-31T04:21:42 | 2019-01-31T04:21:42 | 168,461,594 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,108 | r | 07c_V_HistoricalComparison.R | ### FUNCTION TO COMPUTE ANOMALIES BASED ON HISTORICAL MEAN STREAMFLOW VALUES PER SEASON ###
# Preliminearies
pacman::p_load(dplyr, lubridate, data.table, ggplot2)
mydir <- setwd('D:/THESIS_PP')
# Function proper
getHist <- function (pred.table, SW, floss) {
# get wet and dry season months
by.month <... |
9f8ca4336bb714aa708856e7b5afd7b34d4cb1dd | c47d4292a1e9500dc151a4b561d97a9b762fc88b | /R/weighting.R | 24f4880063d8030636237b5c974c008cfd46b3c5 | [
"MIT"
] | permissive | Landscape-Data-Commons/aim.analysis | 656f9066e00a40a870dfe12d5778be908b19b76b | 88ec6f227f68874d3bc316c1af56f06392863002 | refs/heads/master | 2023-05-08T18:13:45.030573 | 2021-06-01T20:36:18 | 2021-06-01T20:36:18 | 89,946,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 45,453 | r | weighting.R | #' Calculate sample weights for points using design polygons
#' @description Calculate the weight for points in a sample design based on the sample frame or strata used to draw them and the point fate. The outputs are a data frame of the points and their weights, a data frame summary of the fates of the points (optiona... |
a63320aaac2273a16238c901b5144d54d72606ad | 1064b565d86e7b9fede7a1bd11b397428a4f97f7 | /install_packages/rinstall_cran_R-3.2.0.R | 515edcd2634042de0fccdd1dbfb89c9ace29bdc2 | [] | no_license | bguillod/R_generic_funcs | 5c73d625939748c4738d9df7f409546156f718a8 | df03f5e26b9071b0e4526e92aa992cfb3b90f7e3 | refs/heads/master | 2021-01-17T10:08:30.871309 | 2016-05-06T15:18:26 | 2016-05-06T15:18:26 | 41,424,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,510 | r | rinstall_cran_R-3.2.0.R |
options(repos = "http://stat.ethz.ch/CRAN/")
## libdir.ouce <- file.path(Sys.getenv("HOME"), "R/x86_64-redhat-linux-gnu-library/3.2/")
## libdir.jasmin <- file.path(Sys.getenv("HOME"), "R/x86_64-redhat-linux-gnu-library/3.2/")
libdir <- libdir.jasmin
libdir <- stop("SPECIFY THE LIBDIR PLEASE")
install.path <- file... |
b5cc7c3b1693fa53db9a50d64544995b440b01dd | da25c9a12cd3b720a26ab1fb5db09d40a5932abc | /man/MODIS-deprecated.Rd | 64de6783825168898d737816321db5a7acb714f8 | [
"MIT"
] | permissive | itati01/MODIS | 4e71492825f338c6b392f60335acc1aa06b09b09 | bc478e6fd9262ed7321fca77ac6d713c6e94420d | refs/heads/master | 2023-01-05T15:35:50.412115 | 2022-10-08T08:21:42 | 2022-10-08T08:21:42 | 290,968,032 | 0 | 0 | NOASSERTION | 2020-08-28T06:24:02 | 2020-08-28T06:24:01 | null | UTF-8 | R | false | true | 828 | rd | MODIS-deprecated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MODIS-deprecated.R, R/lpdaacLogin.R
\name{MODIS-deprecated}
\alias{MODIS-deprecated}
\alias{lpdaacLogin}
\title{Deprecated Functions in \pkg{MODIS}}
\usage{
lpdaacLogin(server = "LPDAAC")
}
\description{
The functions listed below are depreca... |
27836c035fce6a5f85360133c571edfa4677b926 | 36128a1548e889c7dfa8d4ab1456e426ee302dba | /SubscriptionSimulation.R | 69bdb1786abfc59a01d406a7939d3fd97bb55117 | [] | no_license | Tybirk/MDP_Project | 9a2935b6c983a16a55dbdddaa3bd2656bf62442c | 599de945c6478129c7d0d9e5817f5e4d32f24992 | refs/heads/master | 2020-03-15T04:21:50.067679 | 2018-05-03T13:10:58 | 2018-05-03T13:10:58 | 131,963,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,868 | r | SubscriptionSimulation.R | #### Project: Subscription Intelligence
### Simulation of Markov chains
Actions = c("Nothing","Incentivize")
States = c("Satisfied Customer", "Dissatisfied Customer","Former Customer")
NothingTransitionMatrix = matrix(0,nrow = length(States),ncol = length(States))
#NothingTransitionMatrix[1,] = c(0.7,0.2,0.1) ... |
349dec03529e370a9969ed2f08d53121d13ac59e | f270c3e243539f0b790db8ba8118bd22500109fc | /orderlist/server.R | 20f0fbc3b9619990c5eb69387223fe1ea8d4dda4 | [] | no_license | takewiki/lcsd | 2bced1651e8e32531b0dc7fac90bf44d6df13c0a | 5b2141c79b43d89db8ada54b04203a330e21482b | refs/heads/master | 2020-12-07T16:19:48.517388 | 2020-10-01T15:55:58 | 2020-10-01T15:55:58 | 232,750,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,005 | r | server.R | library(shiny)
shinyServer(function(input, output) {
files <- getFiles()
dteditCn(input, output,
name = 'files',
thedata = files,
edit.cols = c('FBarcode','FChartNumber','FBillNo'),
edit.label.cols = c('二维码','图号','生产任务单号'),
#input.types = c(Fstatus='numericI... |
db26dd63c6444e7a7e0bac5eaabc2e0718a33fbb | c4fca74f6561d480f844ce9b808a61ca2b5f44e4 | /R/SINTER_functions.R | 7f418733fdda341d1ed4857cb322676da1c4d885 | [] | no_license | WeiqiangZhou/SINTER | c6f362f9c7c01f61221ff6c4e31fff9c8c04311b | f11405f964a4ed3ab5a0b30ed9cc032dcf8dd7a9 | refs/heads/master | 2020-04-03T22:45:14.589375 | 2019-09-09T19:34:44 | 2019-09-09T19:34:44 | 155,608,705 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,186 | r | SINTER_functions.R | #' @import gam
#' @import matrixStats
#' @import preprocessCore
#' @import scran
#' @import ggplot2
#' @import parallel
#' @import GenomicAlignments
#' @import GenomicRanges
#' @import irlba
#' @title Summarize single-cell ATAC-seq data according to ENCODE cluster features
#' @description This function is used for sum... |
6c9276e8e06a0f6ec88dae29a3a2cc1a51c13d19 | 91e29ff9983166531f07f8412d61280cdf57e1d4 | /mergeFARSdata.R | f64749a567abff8ed4e976ec49a21d1388803f43 | [] | no_license | alexvbr22082018/sparklyr_wrecks | 811d430ea6a0835ab9f01b765ca842b940dd5c19 | 68ce2068fc6cdcda9d700e68d047bf46ba63a604 | refs/heads/master | 2021-05-20T13:29:45.664607 | 2017-02-24T14:33:16 | 2017-02-24T14:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,876 | r | mergeFARSdata.R | ###############################################
## Prepare historical FARS data for Analysis ##
###############################################
## Load libraries
install.packages('data.table')
install.packages('RPostgreSQL')
install.packages('dplyr')
library(data.table)
library(RPostgreSQL)
library(dplyr)
## Connect ... |
2f4c6f619b16aee55b81e73b22451cee29a23203 | 993c745624125a614a059ba35401e143c934653a | /BPD_API_Example.R | 468a824732e32674416e77aa753d451f884a960d | [
"MIT"
] | permissive | mammmals/BioPlexDisplayExamples | b6570ff5653314713d6a23278e50d47fb026c0ff | 3a6a19d209bf7c135a8b0f743bb5a98fe9c08d9e | refs/heads/master | 2020-03-25T12:36:14.500437 | 2018-08-06T21:21:25 | 2018-08-06T21:21:25 | 143,784,244 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 678 | r | BPD_API_Example.R | #api with jsonlite
library(RCurl)
library(jsonlite)
base.url = "http://bioplex.hms.harvard.edu/bioplexDisplay/api/api.php?geneQuery="
#return a single table:
one.table=fromJSON(getURL(paste0(base.url,55909)))
#loop over multiple tables
gene.IDs = c(55909,1956,5796,10000000000)
presence = vector()
multiple.tables = l... |
cdbf9ab33beddbd7098bc58e0fb25e12691d087e | e813c4bf652f5ea919c7fff8ee2d84cc36e56f2b | /Quality Control Charts/u-chart.R | 29c8eb4e1fbfa5b68576c0c4fae11ce8ba6beffb | [] | no_license | AnakinNN/R-for-Industrial-Engineering | c77c909f28448f8135decc7a57366ef3dbc5956a | 777423c6e8eb470f7fc15aa0a52968b527beaa47 | refs/heads/master | 2023-03-30T09:55:33.206536 | 2021-04-05T15:10:11 | 2021-04-05T15:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | u-chart.R | ### U-CHART ###
# Import the qcc package
library(qcc)
# Read a csv file and name it as df
df <- read.csv(file.choose(),header = FALSE)
# Assign the columna namea
colnames(df) <- c("Defects", "Sample_size")
# Create the U-chart
u_chart <- with(df, qcc(df$Defects, df$Sample_size, type = "u", data.name = "... |
d0f2b5636f3690110e6c0de0c13d60c601f047e0 | 022e5a9f38fd71cbc182215c07d83de7b82113a8 | /08-figures.R | b3997a144efd5ff11c1e04258abb80a807031eb6 | [
"MIT"
] | permissive | yangxhcaf/ESDL | f5ecdc60b599150d96fadd3eea4d5bcfb936a9a6 | bf6c4a4c3798c94ca9aa0d300ef26e589a971a6c | refs/heads/master | 2022-12-05T07:51:06.921545 | 2020-08-29T09:15:19 | 2020-08-29T09:15:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,858 | r | 08-figures.R | library(tidyverse)
library(tictoc)
# load results:
load('~/Documents/Projects/ESDL_earlyadopter/ESDL/200805_results_ews_halfwindow_gpp.RData')
## join the ecosystem information:
df <- left_join(df, df_biomes)
# map the biomes
df %>%
ggplot(aes(lon, lat)) +
geom_tile(aes(fill = biome)) +
theme_void()
##... |
04838eebc881208cf2257f969042b147724a266e | 3b9c67c1a4dcbeb269255ddfbdcfcacb10cc7554 | /man/infit.conf.Rd | 09890651c5c9d406cfb55404b32388413d8c3098 | [
"MIT"
] | permissive | hyunsooseol/BootFit | 23e5048ed95d0b6dde3fdb5abc52954538a46344 | 9f1327d99f4e925cbca1969742ca2692d35373a8 | refs/heads/master | 2021-04-04T10:18:17.041184 | 2020-03-28T08:39:02 | 2020-03-28T08:39:02 | 248,448,402 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | infit.conf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/infitConfi.R
\name{infit.conf}
\alias{infit.conf}
\title{Bootstrap boot infit.mnsq CI Function}
\usage{
infit.conf(object)
}
\arguments{
\item{data:}{Data Frame}
}
\value{
: boot infit.mnsq CI Function
}
\description{
This function calculates... |
6d6d340636279691f221af1f742342d30684a6a2 | 34ddd88340d93fc8a674411dfc02340609f3495f | /plot2.R | 33bafda360bbacaf2b89adee7fdc876031c8a489 | [] | no_license | khemkaiitr/ExData_Plotting1 | 22e75f2290364d56a1523955e04c7faa93b3f172 | cddd532ba715b941e7b356d53346ed92c9d0e7a1 | refs/heads/master | 2021-01-18T19:51:09.268375 | 2014-09-07T14:25:45 | 2014-09-07T14:25:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 526 | r | plot2.R |
source('getData.R') #This line gets the data in working directory
ndata <- subset(data, as.Date(data$Date, format = '%d/%m/%Y') == '2007-02-01' | as.Date(data$Date, format = '%d/%m/%Y') == '2007-02-02')
# Create the plot
png(file = "plot2.png", bg = "white", width = 480, height = 480)
myplot <- plot(strptime(paste... |
cc4e41402a41dc7bbbd8b37cb66bd37c4aea7900 | 2580e61158bf6db87581f1885b1e6629730ddc8b | /R/helpers-general.R | 9a02875c66074b7479add928b6694a96c69d30b4 | [] | no_license | jimmyday12/fitzRoy | 22d134e027c817c739098902a49eee97d2191e72 | 386f9c9f12d787d1f0fe429ff669ec3853b6f8f8 | refs/heads/main | 2023-08-17T23:25:35.570311 | 2023-08-07T04:17:14 | 2023-08-07T04:17:14 | 116,004,026 | 117 | 46 | null | 2023-08-07T04:17:15 | 2018-01-02T10:33:15 | R | UTF-8 | R | false | false | 3,605 | r | helpers-general.R |
#' Check Season
#'
#' Checks the season for various things
#'
#' @param x Season in Year format
#'
#' @keywords internal
#' @noRd
check_season <- function(x) {
if (is.null(x)) {
x <- Sys.Date() %>%
format("%Y") %>%
as.numeric()
}
if (min(nchar(x)) < 4) rlang::abort(glue::glue("Season should be in... |
d89de65da1935f92d4a17341ea523ee28f1c49cc | 74a9517302f057830a377ede2be56693c0696956 | /server.r | 2a74894095c9959b700d8f76a11d1db6a646d48f | [] | no_license | alanmcknight/SalesAnalysis | be7a7711b019c79584ecd91fe3dd816b6465a543 | 68e3d6fa4a196978160e7bee48d01b53b1d5b6b7 | refs/heads/master | 2021-01-16T21:43:15.068826 | 2017-11-30T14:20:29 | 2017-11-30T14:20:29 | 65,289,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,985 | r | server.r | library(shiny)
library(shinydashboard)
library(plotly)
library(leaflet)
library(lubridate)
library(stringr)
source("user.R")
source("admin.R")
my_username <- c("stephen.mccann", "helen.campbell", "alan","mark.walker", "greg.wilson", "admin")
my_password <- c("Stephen","Helen", "Alan", "Mark", "Greg", "123")
... |
b991149eb39d08a73e2af803ffdf45722f3ea2d2 | 284f05c38d756c4077dde234b91197313eddc1f5 | /code.R | b335c347eed6ea1e30d59ea630aa1ef13891167c | [] | no_license | apth3hack3r/Fake-Insta-Profile-Detector | 30210e30d24d16f85df31757ba54e596f1d3b644 | 40656071f099c22b67a7e8d23e11bbeff0599bf5 | refs/heads/main | 2023-04-11T00:31:27.576653 | 2021-04-26T06:04:20 | 2021-04-26T06:04:20 | 340,871,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,533 | r | code.R | train = read.csv("train.csv") # loading training data
attach(train)
names(train)
dim(train)
test = read.csv("test.csv") # loading test data
#Few plots which are also shown in ppt.
library(ggplot2)
ggplot(data=train,aes(x=fake,fill=as.factor(private))) +geom_bar(position="fill")
ggplot(data=train,aes(x... |
958a5fa97f91fc4e874fdcd77f80bd95d2109b28 | bc3b002789321e6375a4f5e35100061ece9586fd | /test-examples.R | 5b85a2397ac1f670c47c6c119af5d151a4f1b3c9 | [] | no_license | nachocab/clickme_ractives | 1583f129e41c8c111a61f061f7316a2cbb914813 | c94b4ea11d75e08a13f9051c96b3ed1c3b8375c0 | refs/heads/master | 2020-04-26T15:52:40.775060 | 2013-06-03T13:26:44 | 2013-06-03T13:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | test-examples.R | test_that("the HTML example file for the vega ractive is generated", {
ractive <- "vega"
# we do this to ensure that the HTML file doesn't exist before we create it
spec <- "area"
opts <- get_opts(ractive, params = list(spec = spec))
unlink(opts$path$html_file)
data <- read.csv(file.path(opts$p... |
42dcd966319d0689abeae0ff7e3caf1ff86f733e | eacca63e768d93fa74dde6f79fb3e4e1cd144dfd | /HW2RCommands.R | e4a79d6c92710820b26807db29fccd381341a468 | [] | no_license | BU-IE-582/fall19-bahadirpamuk | 1834bc00283e018a287f63d9f7993e3d02057f3e | d795a8e463f484c3146f990d8a7fad22c019f38a | refs/heads/master | 2020-08-05T06:40:25.648633 | 2020-01-03T17:03:39 | 2020-01-03T17:03:39 | 212,434,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,762 | r | HW2RCommands.R | library(data.table)
library(dplyr)
library(tidyr)
library("plot3D")
library(corrplot)
MuskData <- fread(file="c:/Users/BAHADIR/Desktop/IE 582/HW 2/RCode/Musk1.csv", header=FALSE, sep="," , stringsAsFactors=TRUE)
MuskDataReduced <- MuskData[,3:168]
pca<-princomp(MuskDataReduced,cor=T)
par(mfrow=c(1,1))
... |
0b4c0588e708563230548c9cfee4999d5a509ca4 | 7f0f99122d26a2ec67f8ebfde3600d1444535b06 | /CODE/27_sleep_classification_alogrithm.R | 2534d397470e7e53478f09ee52cb4fe7ed57d4eb | [] | no_license | CarterLoftus/social_sleep | 7e52fc6c2cdb6c23ee721fbf2152878977e113f2 | 799a5db3320f8a9d7904211e42a549f02d1eb317 | refs/heads/main | 2023-04-18T22:04:47.409617 | 2023-03-15T11:55:33 | 2023-03-15T11:55:33 | 518,434,403 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 36,890 | r | 27_sleep_classification_alogrithm.R |
library(sjPlot)
library(insight)
library(httr)
library(brms)
library( zoo )
library( hms )
library( data.table )
library( stringr )
library( lubridate )
library( lmerTest )
library( plotrix )
library( suncalc )
library( LaplacesDemon )
library( dplyr )
library( purrr )
library( HDInterval )
library(multcomp)
library(... |
6902f8c9a412543ea338ee96a2992ca4ad4f18c8 | 0d6a33bf526efa8fe4a5747f5e96f0b2a42465c2 | /data/Monserud1999/dataManipulate.R | 7da2d3d8f9d1c9cd8ce04d08c3bf3cf67a728ca0 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | jscamac/baad | 1d57f9ba09553fac43662411e1512c0b23e2f9a6 | 55b352123ab0bc8b55f3203d5e44bf16c23979a9 | refs/heads/master | 2021-01-12T22:34:51.709989 | 2016-04-19T02:57:11 | 2016-04-19T02:57:11 | 27,855,898 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 188 | r | dataManipulate.R | manipulate <- function(raw) {
names(raw)[names(raw)=="species"] <- "wrong.sp"
# h_c was crown length, should be height to crown base
raw$h_c <- with(raw, h_t - h_c)
raw
}
|
58621c62c1e9ac8694067c09896366fbb206ad7b | 143a357cb6142ae963437d902db30a6e1ec005d4 | /testing.R | ddebaa8dbbea0c42a23ee9a2bee5fb5b12f57029 | [
"MIT"
] | permissive | wStockhausen/tmbTCSAM02 | 424c81e1a140e99894d3b9483f92e8564ac9d79d | 258a3e28f4a8e26acde34e6bf4c68ccae71a541d | refs/heads/master | 2021-07-30T03:45:46.800217 | 2021-07-17T00:24:59 | 2021-07-17T00:24:59 | 210,910,086 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,842 | r | testing.R | #----------testing-----------
#require(tmbTCSAM02);
fns = list.files(path="./R",pattern="*.R",full.names=TRUE);
for (fn in fns) source(fn);
setGlobals();
ls(all.names=TRUE);
#fn_mc = "./inst/exampleOld/M21.13.MCI.inp";
fn_mc = "./inst/example21_13/M21.13.MCI.inp";
mc = readTCSAM_ModelConfiguration(fn_mc);
#--read fn... |
cbd6c74d883f23067f1f69d7d2b9e0a4bd0fe68d | b19c1384616de8b9791a64006e4018ed7693daa6 | /RFrontEndSolution/Tests Repo/Rscripts All (163 files)/descriptives.R | 207ba091a0ed5b1815d2295f23f01857216a0e93 | [
"MIT"
] | permissive | AlexandrosPlessias/CompilerFrontEndForRLanguage | 1e04c031f83cac87f1eadc5d2c373f0b641bfb9e | 71e3e60476f6f83b05cc97c625265edbde086341 | refs/heads/master | 2022-12-21T12:23:14.412959 | 2020-09-25T10:27:16 | 2020-09-25T10:27:16 | 276,627,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 704 | r | descriptives.R | # Calculate descriptive statistics on data
# install.packages("psych") # Remove "#" for first run
library(psych) # Package of functions applicable to Psychology
datapsych <- read.table("http://www.uvm.edu/~dhowell/methods8/DataFiles/Tab2-1.dat", header = TRUE)
### Alternative ways to read dat... |
c4498b1689081e5e2864ebfaef12af367fc97e1a | 6be70ffdb95ed626d05b5ef598b842c5864bac4d | /old/house_party_calls_replication_hybrid.R | 11ebf31d67be8a46ea7bf370a2712e67e947c086 | [] | no_license | Hershberger/partycalls | c4f7a539cacd3120bf6b0bfade327f269898105a | 8d9dc31dd3136eae384a8503ba71832c78139870 | refs/heads/master | 2021-09-22T17:54:29.106667 | 2018-09-12T21:16:56 | 2018-09-12T21:16:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 222 | r | house_party_calls_replication_hybrid.R | library(partycalls)
set.seed(1209003941)
house_party_calls <- lapply(93:109, code_party_calls_by_congress_number,
hybrid = TRUE)
save(house_party_calls,
file = "test_data/house_party_calls_replication_hybrid.RData")
|
e96a80891f6c1d1759c0c694a2b96644860df0d0 | 8b53088df90d1d522476c8aa68d9a13e5d834501 | /codes/script.R | 2effce651bf6831ed3cd183b1f5f773519c687a5 | [] | no_license | ahcm-linux/P2-R_COVID-19_2021 | 208d025e38b290fc0dbfc68fcea0c33f5fbe1887 | c977128482f7ace8e9a7ddd294100d2bda71d0ea | refs/heads/main | 2023-05-27T00:25:53.894900 | 2021-06-09T01:53:33 | 2021-06-09T01:53:33 | 374,804,061 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 29,275 | r | script.R | ###############################################################################################################
# Data analysis of COVID-19 published at: (article submitted waiting for publication)
# date of creation: 06/07/2021 (date in US format)
# R version: 4.0.3
# script name: script.R
# aim: data analysis
# input... |
63a528c732a3710529a1c6800be3dfcea6316ffb | 7d7f692dce8c762149d05abcc74b79bab0aa9066 | /code/pcode_check.R | a0729307646b2e8a8119c309facaa45e1ac1a6bc | [] | no_license | luiscape/hdxviz-col-humanitarian-trends | 74b0142e1a70a99bf03f321d0425288e55776fe1 | a666333b943fa3044327a381c5d89e58827ca6f0 | refs/heads/master | 2020-06-04T22:32:28.778701 | 2014-12-05T03:37:42 | 2014-12-05T03:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 554 | r | pcode_check.R | ## Script for checking the pcodes of
## admin3s.
# Load original data.
data <- read.table('data/source/140812_UARIV_RNI_CONSULTA_EDADES.txt',
header = T,
sep = ';')
# Load updated pcode data.
pcodes <- read.csv('data/col_admin3_dane.csv')
# Checking for unique locations
muniq... |
4b0beeffa7f5d6c20933b0e28bd13f8d901ab8a2 | 2e6c45d0a0e20e57d60a0703240f043f7d410b1d | /load_the_dataset.R | 693e32bcea0d4d2bf5eb21657c66952c80ad7fd8 | [] | no_license | rmm241/Iris-Dataset-Visualization | 2051bb4b366ca6f7d4782611e36cee0f650357d0 | 101336bac33d101fcb9e8eeed47b2a816d2b3865 | refs/heads/master | 2020-07-03T10:13:18.324011 | 2019-08-12T07:09:01 | 2019-08-12T07:09:01 | 201,875,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 123 | r | load_the_dataset.R | library(ggplot2)
library(readr)
library(gridExtra)
library(grid)
library(plyr)
iris_ds <- read.csv('./Iris.csv')
|
697a51d9adff28082c946c1177057f1c7a67a1bf | 56944b3b2887eb8d448bc1d9276026afb86b4340 | /r/piratePlotsWrangler.r | 61a1764f34aa48d02e9d1c7121f9df1f48e32cfa | [] | no_license | Jeremieauger/codingTheMicrobiome | 424fe2dac5b20bebdfecc8c576eac7ee72cee7d6 | 5bb3a705a0c4d4c46fd9eeb878629fb75c8f9810 | refs/heads/master | 2021-07-19T11:22:06.252761 | 2021-02-18T20:59:41 | 2021-02-18T20:59:41 | 76,469,396 | 0 | 0 | null | 2016-12-14T17:25:45 | 2016-12-14T14:59:25 | Shell | UTF-8 | R | false | false | 3,718 | r | piratePlotsWrangler.r | Call:
lm(formula = expected_count ~ day, data = foxCo2DF)
Residuals:
Min 1Q Median 3Q Max
-72856 -37810 -24860 -4182 788841
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 72866 25986 2.804 0.00737 **
day -5098 5250 -0.971 0.33656
---
S... |
939731cd3c62a5ad37fe2fc7118efc1b75b13628 | cdff5f098ca959c5af7cbab56f161dfc83ccf31f | /Project Data Wrangling Exercise 2 Dealing with missing values.R | 170b56c791bca1159e63057d28e8cfdd417e7a2d | [] | no_license | LHData/Data-Wrangling-Ex-2-Dealing-with-missing-values | 6078e5d9aff13ea1de1a0b6234f02813d94c9f4e | d9acc7557ea357dac11d3e07df6d17dc3211fa58 | refs/heads/master | 2020-04-24T16:48:03.164804 | 2019-02-22T19:22:53 | 2019-02-22T19:22:53 | 172,122,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,148 | r | Project Data Wrangling Exercise 2 Dealing with missing values.R | library(dplyr)
library(readr)
#0: Load the data in RStudio
titanic <- read_csv("titanic_original.csv")
#possible stuff for RMarkdown
#colnames(titanic)
#distinct(titanic, embarked)
#1: Port of embarkation. Fill in missing values of embarked column with S
titanic <- mutate(titanic, embarked = ifelse(is.na(... |
5d7af1f9b63074d34976f31b5d22eb62f1c1ddde | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.kinesisanalyticsv2/man/delete_application_input_processing_configuration.Rd | af431726b558763ff4b93d7103217835893df27c | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,235 | rd | delete_application_input_processing_configuration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.kinesisanalyticsv2_operations.R
\name{delete_application_input_processing_configuration}
\alias{delete_application_input_processing_configuration}
\title{Deletes an InputProcessingConfiguration from an input}
\usage{
delete_application_i... |
835770559a0c83b3413e95b0e48533bae908c66a | 991f3309becccaffc7b16fab9cc0f264862029de | /wk4/hw4p2.R | 76f0121cf6b5c669fb3aaaa1ab8b25a04208d777 | [] | no_license | franciszxlin/MSCFNumericalMethods | b1ffcce395a0704204b416544476bbf3800dc037 | ee6571c798c3919a3329a7e249a559dce42b29e8 | refs/heads/master | 2021-08-22T12:21:01.671966 | 2017-11-30T06:08:20 | 2017-11-30T06:08:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 937 | r | hw4p2.R | #homework 4 problem 2
#Crank-Nicolson scheme finite difference scheme
cn<-function(sol, dim, lam)
{
# Construct C and D matrices
C=matrix(0, nrow=dim, ncol=dim)
D=matrix(0, nrow=dim, ncol=dim)
for (i in 1:dim)
{
C[i, i]=1+lam
D[i, i]=1-lam
}
for (i in 1:(dim-1))
{
C[i, i+1]=-lam/2
D[i, i... |
cc830e0535d5ab585f5105b9b0a8847bf450e913 | 29585dff702209dd446c0ab52ceea046c58e384e | /COMPoissonReg/R/sdev.R | 4d9b38e3ca15b8c864243235ab8819e9f6b4d6a8 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 49 | r | sdev.R | sdev <- function (object, ...) UseMethod("sdev")
|
ae9c705891636be0ca86d673f34a19dca3d7b8a1 | 552ef1b37b1689c0347071a4ac10f542cb47543f | /man/link_zip.Rd | 3d18137ced0bcf5fd0da27e4a9e83cf252125c78 | [] | no_license | lhenneman/hyspdisp | d49fb29a3944ca0c50398c70ff21459fee247358 | 1763245269211f48da803d282720e6d818a2e619 | refs/heads/master | 2021-05-05T06:37:39.251922 | 2019-10-16T19:41:36 | 2019-10-16T19:41:36 | 118,811,581 | 5 | 3 | null | 2019-06-05T13:45:14 | 2018-01-24T19:27:40 | R | UTF-8 | R | false | false | 1,988 | rd | link_zip.Rd | \name{link_zip}
\alias{link_zip}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Link particles to ZIP codes and take concentration
}
\description{
Takes as input particle locations, zip code spatial object, and a ZIP-ZCTA crosswalk file, and outputs a data table linking particles with zip codes.... |
95f15fab6d6852b8fc4ffcb19ec1485bf2fcad86 | 6a69c035a69b54bcc3a118c2b393f3de25f5f330 | /copied solution_wiComment.R | d4df455fa164566f3e962548eaeda7bab7a8d6e5 | [] | no_license | Wjack07/-Kaggle-Expedia | c67bfbaf8bcbf3a734ff1c490f803506ed36e6d3 | e70b053e16ea7ce29f7cf7aefde7f4b2d89d44dc | refs/heads/master | 2020-12-24T19:37:04.489104 | 2016-04-22T15:38:15 | 2016-04-22T15:38:15 | 56,866,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,254 | r | copied solution_wiComment.R | library(data.table)
setwd(".../[Case 9] Expedia")
filename1 = "train_small.csv"
filename2 = "test_small.csv"
myTrain <- read.csv(filename1)
myTest <- read.csv(filename2)
myTrain_datatable <- data.table(myTrain)
dest_id_hotel_cluster <-myTrain_datatable[,length(is_booking),by=list(srch_destination_id, ho... |
fe10c04cf5a9cd9f2464825f8909d21a1401ade1 | b481d707880afa5e87ba635d1a4bb162f2441573 | /DataPrep_MissingValues.R | eefa961cbf0febe32edf951461c6b7a274cc2f76 | [] | no_license | mendytarun/R-DataPrep | 4b0252f9a0c6b9ddf5c3cacd2648e5751a44c2b4 | 43eaee03ca36f7e4629f38e82a2aac6de1615f72 | refs/heads/master | 2021-01-22T19:36:26.492181 | 2017-03-30T07:59:29 | 2017-03-30T07:59:29 | 85,219,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,981 | r | DataPrep_MissingValues.R |
# replacing blanks with NA while importing data
fin.df <- read.csv("Future-500.csv",na.strings = "")
fin.df
head(fin.df)
str(fin.df)
summary(fin.df)
tail(fin.df,3)
# factors recap..we got some columns as factor though they
# should not be and other way around
levels(fin.df$Industry)
# changing from non factor t... |
a833669aea98001f870d6ffd2de9a60125aa0571 | e639b8dc495cee285869e27c3714affee2d9d876 | /man/samSourceType.Rd | a98676a3b15fdbd72f6c732df8ff0f2a4818359e | [] | no_license | jefferys/SamSeq | 606d200bf2cc6c58cc2b931d8d2bcacf2ac8e57f | 62523c0b3e4023d4b031f4e1973e682c467ba57d | refs/heads/master | 2021-01-12T17:48:50.140263 | 2019-10-24T01:18:16 | 2019-10-24T01:18:16 | 69,393,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 561 | rd | samSourceType.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SamSource.R
\name{samSourceType}
\alias{samSourceType}
\title{SamSource data type accessor}
\usage{
samSourceType(x)
}
\arguments{
\item{x}{Any object for which \code{SamSource(x)} is defined.}
}
\value{
The type of access required for the sa... |
abe9203ffb62214dfe1b59b865b51693ec61a3c3 | e68e99f52f3869c60d6488f0492905af4165aa64 | /man/torch_stft.Rd | 6669db36f264154aaaeccb474ff9555e40a82b99 | [
"MIT"
] | permissive | mlverse/torch | a6a47e1defe44b9c041bc66504125ad6ee9c6db3 | f957d601c0295d31df96f8be7732b95917371acd | refs/heads/main | 2023-09-01T00:06:13.550381 | 2023-08-30T17:44:46 | 2023-08-30T17:44:46 | 232,347,878 | 448 | 86 | NOASSERTION | 2023-09-11T15:22:22 | 2020-01-07T14:56:32 | C++ | UTF-8 | R | false | true | 4,336 | rd | torch_stft.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gen-namespace-docs.R,
% R/gen-namespace-examples.R, R/wrapers.R
\name{torch_stft}
\alias{torch_stft}
\title{Stft}
\usage{
torch_stft(
input,
n_fft,
hop_length = NULL,
win_length = NULL,
window = NULL,
center = TRUE,
pad_mode =... |
a111e0b99b7ca409f163148fd7060cafc4cae0ca | 17cdd6bd71003a5087473808e3ffa85849f86e0c | /Time Series Analysis and Forecasting.R | 41e2406797dd7f2013d715ede1200a3bf356ca77 | [] | no_license | JackTomada95/Time-Series-Analysis-with-R | f0d531820b01b821bce678ad639e7641b7b35e8a | a61f549bf125a640722f33fb97a8bcab5c613257 | refs/heads/master | 2022-11-16T02:02:46.795444 | 2020-07-19T14:12:38 | 2020-07-19T14:12:38 | 279,861,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,872 | r | Time Series Analysis and Forecasting.R | library(seasonal)
# there is a variety of quantitative models to use for time series. Some of them are 100 years old
# there ar both linear and non-linear models
# linear models are the most used ones.
# LINEAR MODELS
########### 1. simple linear models
# naive, mean and drift method...
#... if there is ... |
16d87c1915f3bf70e24bb7597fb9b23b2d1e14cc | 0f380dcb3509961dbbcf59f8b2dfb1d70f92e993 | /R/localRegression.R | 6f30c461a749547b5c1e1fc4d4777f545df1f62e | [] | no_license | ttriche/regulatoR | dced0aa8c0f60b191c38d106b333f3dda84317fa | d7e6b00ef1514423fdf8ca32a73eebc715642161 | refs/heads/master | 2016-09-10T00:04:25.637227 | 2013-02-26T23:14:05 | 2013-02-26T23:14:05 | 4,615,162 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,235 | r | localRegression.R | ## sparse correlation weighted regression for regulation
## this is kind of the heart of the entire package
##
## setup: y ~ (3 * mean(c(x2, x3, x4, x5, x6))) - 2*x15 + 5*x20
## X is a 100xN matrix with only the above predictors, the rest noise
## x2, x3, x4, x5, and x6 are highly multicollinear and... |
820740c8b11b7b8365c6c73b511a1c7ed6941ed3 | 964d62f637341338694889099fcb8cffd5b1ce35 | /workout1/code/make-teams-table.R | 80641b34884b4cb805a5d4868e8085f0fa389daf | [] | no_license | baraniscen/hw-stat133 | 00b4ded1dc3327a5905b7d7c8c7fbfaca34b3bdf | 33d81696e6543056e301d24751075e76220d8faa | refs/heads/master | 2020-03-30T13:37:20.778039 | 2018-10-02T16:44:12 | 2018-10-02T16:44:12 | 151,280,376 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,138 | r | make-teams-table.R | #---
# title: "Data preparation"
#---
getwd()
setwd()
dataset_workout <- read.csv("desktop/hw-stat133/workout1/data/nba2018.csv", header=TRUE)
str(dataset_workout)
dataset_workout$experience <- as.integer(dataset_workout$experience) #experience as integers
str(dataset_workout)
dataset_workout$salary <- (dataset_wo... |
2a7e3819e8e6daab143e50338d88852ea21cda0a | 3503adc96d77bafbe1f1b4ed7c03891eaf0cd93f | /roster.R | 9bd427ce4683692d71c60eddb4b77cbcbc7fd1db | [] | no_license | vibhuk10/NFLplayerstats | 2b81fc0ca0d7bba59eb9842cb9b4321845b76424 | 21aff5181bad5f11dc1fc47382936844a9e9a9fa | refs/heads/master | 2023-02-26T18:47:32.688284 | 2021-02-09T06:19:26 | 2021-02-09T06:19:26 | 284,153,127 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,849 | r | roster.R | roster01 <-
pbp_19 %>%
select(passer_player_id, passer_player_name) %>%
na.omit() %>%
distinct(passer_player_id, .keep_all = TRUE) %>%
rename(name = passer_player_name, id = passer_player_id)
roster02 <-
pbp_19 %>%
select(rusher_player_id, rusher_player_name) %>%
na.omit() %>%
distinct(rushe... |
7b4ed486141cd905d1aef88c2332b004814a45f3 | b725ae79645bb08446f3c7eb4c95da47b2627ad3 | /R/utilities.R | bd9d44ee4800b9ce1b974c84d44a6a9a4fc1e43d | [] | no_license | cbig/zonator | cf1692e9d210d96317164c94dfc902464b3e361c | bfa5a27689d853ef824634a5a6be52f9b3f54c24 | refs/heads/master | 2021-01-18T22:08:44.457702 | 2020-05-18T18:29:08 | 2020-05-18T18:29:08 | 8,728,996 | 12 | 6 | null | 2018-04-11T06:51:40 | 2013-03-12T13:57:04 | R | UTF-8 | R | false | false | 19,272 | r | utilities.R | # This file is a part of zonator package
# Copyright (C) 2012-2014 Joona Lehtomaki <joona.lehtomaki@gmai.com>. All rights
# reserved.
# This program is open source software; you can redistribute it and/or modify
# it under the terms of the FreeBSD License (keep this notice):
# http://en.wikipedia.org/wiki/BSD_license... |
e29ff17680f51c9b6fe53b2417d93994f0d67d27 | 1318b29d7b0f212ebe1a87145a13ee563ea094d8 | /R/Nonpara.Two.Sample.R | 645fb137194c2fb25f68c1678922e773b947e6c8 | [] | no_license | cran/TrialSize | 73c3ff9086760334fa83d4608c111bb0ea32765b | 314e951e9d33786b6a2883f7cd483984cb611243 | refs/heads/master | 2021-06-04T14:24:45.564491 | 2020-07-06T20:40:03 | 2020-07-06T20:40:03 | 17,693,970 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 166 | r | Nonpara.Two.Sample.R | Nonpara.Two.Sample <-
function(alpha, beta,k, p1,p2,p3){
n=(qnorm(1-alpha/2)*sqrt(k*(k+1)/12)+qnorm(1-beta)*sqrt(k^2*(p2-p1^2)+k*(p3-p1^2)))^2/(k^2*(1/2-p1)^2)
}
|
89ce4c6d275337d4537eccac4bbf417e4f6aa642 | 0c780d32356a4b3a2fefa9392ac545bd078de909 | /R/get-perform.R | 81972666ed9adbcc55d58699cfa453591e711579 | [
"MIT"
] | permissive | heavywatal/futurervpa | 80fdeb533017eba10478d760fd9e15c1cd5b34d5 | 8fc6cfa6e831c2b6e8245b4eb83d2a769cc508e9 | refs/heads/master | 2020-04-02T03:56:01.315555 | 2018-10-21T09:20:12 | 2018-10-21T09:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,749 | r | get-perform.R | #' Get perform
#'
#' @rdname get-perform
#' @export
get.perform <- function(fout0,Blimit=0,longyear=50,smallcatch=0.5,N=NULL,
shortyear=c(3,5,10),tmp.year=NULL){
stat1 <- get.stat(fout0,eyear=0,hsp=Blimit,tmp.year=tmp.year)[c("catch.mean","catch.CV","biom.mean","biom.CV","ssb.mean","lower.HS... |
af34a4719e79e2602fde5116a11fec3271504f7e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fma/examples/elco.Rd.R | 585f688c3449056909fb5bc8013517c1af527336 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 144 | r | elco.Rd.R | library(fma)
### Name: elco
### Title: Sales of Elco's laser printers
### Aliases: elco
### Keywords: datasets
### ** Examples
plot(elco)
|
3a60222b5a5e9a99e8ff0d608f5b5501ee1ad0aa | 63f8e36bf88e7f7636ecdfac6b2625012246de19 | /RScripts/Summary_statistics_for_text.R | 115c61a09ebd8c648d147b72c2a5c7f7e87daaef | [] | no_license | jasmineplows/longitudinal_changes_HMOs_over_24_months | 1aa3c8972465b2dae3a9c860b7a8b53c860c2bd1 | c7c335e452f9c99b322566799ed2b88fd7d9cb85 | refs/heads/main | 2023-03-15T13:57:42.768773 | 2021-03-18T00:37:18 | 2021-03-18T00:37:18 | 348,784,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,365 | r | Summary_statistics_for_text.R | coefficients_function <- function(dS, hmo) {
f <- paste0("`", hmo, "`", " ~ Timepoint*Secretor + (1|study_id)")
fit <- lmer(f, data = dS)
result <- summary(fit)
return(result$coefficients)
}
summary_function <- function(dS, x) {
x <- ensym(x)
summarise(dS,
median = median(!! x, na.rm=T), lower... |
b76ee009de21f5811c2b1bffc5c76ac9791bbe1a | fe62480523fc5d0cf8ea255da0ab5d0251079f88 | /lab_sessions/2020_4_15/demonstrations_after_lunch.R | a366ac0ea02feb158ac5def43818fd7ac0272478 | [
"CC0-1.0"
] | permissive | griff-rees/network-analysis-course | f8344d75541fab920cc5def9421ba82fcb9457ac | ae7d968dccae2273b5d928dbb900ddfc96f1f85f | refs/heads/master | 2023-05-29T23:22:09.181993 | 2021-01-18T17:07:43 | 2021-01-18T17:07:43 | 254,641,551 | 1 | 3 | CC0-1.0 | 2021-06-11T14:02:43 | 2020-04-10T13:29:26 | HTML | UTF-8 | R | false | false | 1,468 | r | demonstrations_after_lunch.R | # Only install igraph if not currently installed, and load it either way
if (!require(igraph)) {
install.packages("igraph", repos="http://cran.uk.r-project.org")
}
setwd("~/Downloads/network-analysis-course/")
nodes <- read.csv("data/star-wars-network-nodes.csv")
edges <- read.csv("data/star-wars-network-edges.c... |
168b673c88b3fe43cabe2157c1c833cf687e81c3 | a06fa2937438142f8a8b39199f331984e6eca572 | /ui.R | 0e1a2cd3a61802ad57209f040a6e877bc6d7ef99 | [] | no_license | mskarthik/DevelopingDataProducts | 1ef895019c373e5f1d3286622860b68eee8e9e18 | bb8d4e55b8cf2b11e314d7f21c7574d2b37f1d36 | refs/heads/master | 2016-09-09T22:27:52.254508 | 2015-01-18T08:23:13 | 2015-01-18T08:23:13 | 29,419,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 535 | r | ui.R | library(shiny)
# Define UI for application that draws a histogram
shinyUI(pageWithSidebar(
# Application title
headerPanel("Mortgage Calculator"),
sidebarPanel(
numericInput("LoanAmount", label = h3("Loan Amount"),value = 250000),
numericInput("Rate", label = h3("Interest Rate"), value = 4),
numer... |
5591b673d07838bbb11c3fba51e1d777f9af1fe0 | 57eb853c3a157d6144b3198bb3786fd02496ad6d | /plot2.R | 42b47a15cb7bb901ddc2be26c254e3cb0c8872da | [] | no_license | leighmt/ExData_Plotting1 | bf4db3e02d8bf86824798cda28d49f877381ec64 | b08d585915b61e2bf5d5490265b250ccb4d21ddb | refs/heads/master | 2021-01-16T19:10:04.803579 | 2014-06-05T13:40:01 | 2014-06-05T13:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | plot2.R | ## Generate a line chart of Global Active Power for the time period
## 2007-02-01 and 2007-02-02.
# Set location of archive
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
archive <- "data/exdata-data-household_power_consumption.zip"
# Check if data exists
if(!(file.exis... |
b55062cd840d00a703e089734429cea5c376d9cb | 3b114e03d661141ec13388c7925583079bb814f7 | /unbalance_data.R | 15ac0a0b3f7b7ff631a7bece294c82a0542750cb | [] | no_license | Cyc-Evelyn/R_for-machine-learning | b7cc7606602dfd5ffade1e5e2b97a1d6655292e5 | d55ebc94583659e384e50bc3704f336a3080062a | refs/heads/main | 2023-04-20T16:34:18.326935 | 2021-05-09T07:12:38 | 2021-05-09T07:12:38 | 364,108,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,304 | r | unbalance_data.R | setwd("C:/Users/USER/Desktop/how to rate model")
data <- read.csv("Mass Data 03.csv", header=T, sep=",")
names(data)
#only select important features
data <- data[c(2,3,4,5)]
data_original <- data
#encode Package
data$Package <- ifelse(data$Package == 'A', 1, data$Package)
data$Package <- ifelse(data$Package == 'B', 2,... |
b6538d0e984327161fe7d8a77b0f51e115d67ced | 52a3279763bf2c2b008e7ef23ae26d791aff68cb | /man/mstmap.data.frame.Rd | 1ce0551e5638958f185bbab3e44863790af72e34 | [] | no_license | cran/ASMap | 3289e69aaffb89142673f4a4a5d9542b7a5a105b | 22d9cc46ee3b69531f0f6171db35693829db477a | refs/heads/master | 2023-07-21T17:33:43.863813 | 2023-07-16T18:00:09 | 2023-07-16T19:30:29 | 24,411,213 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,920 | rd | mstmap.data.frame.Rd | \name{mstmap.data.frame}
\alias{mstmap.data.frame}
\title{
Extremely fast linkage map construction for data frame objects using MSTmap.
}
\description{
Extremely fast linkage map construction for data frame objects utilizing the
source code for MSTmap (see Wu et al., 2008). The construction includes
linkage gro... |
c03fc542365e2cef6a6264a0ba5c17a8b6559960 | 9d82f6cf8d99913a3d889c0e1033c26dfca06749 | /man/B3.Rd | 2f196663f13332e83049525fcdc3b227f7ee4a40 | [] | no_license | cran/ptest | 9897e6234a036fee94747ac13fe312b9d476836d | 7e9599c577f9cd8486c1a8d5369f28d6d1905c96 | refs/heads/master | 2021-01-21T22:10:48.716762 | 2016-11-12T21:41:37 | 2016-11-12T21:41:37 | 73,577,492 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,300 | rd | B3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{B3}
\alias{B3}
\title{Benchmark set B3}
\format{A vector containg 518 genes' names.}
\source{
The raw data can be downloaded from
\url{http://www.cbs.dtu.dk/cellcycle/yeast_benchmark/benchmark.php}.
}
\... |
41bbe759d7e48a28bd15cf163009347df1dc2fec | 49686eff0afdc426d0e603abba419e9e928065f5 | /plot4.R | 8f161df578b5d2c8b6befb1022426b79ae1c5a12 | [] | no_license | punadsmile/ExData_Plotting1 | 9ae2e80d9e09e1edaa345948128482fff121613f | 5a78ebd215030593c899f317bebf60607bb90130 | refs/heads/master | 2020-04-05T23:10:14.096386 | 2014-11-09T10:45:29 | 2014-11-09T10:45:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,228 | r | plot4.R | #something I need to say, i don't know why my plot displays Chinese, but the characters are excatly the same meaning as the examples given in the Porject README file. Pls do not regard it as a wrong answer.^-^
library("dplyr")
#I need some function of dplyr, so load dplyr library
file <- read.csv("p1.txt", sep = ";"... |
8d58573a9a7c0a2f0aaf5a87eb61dcd41cd06803 | f41146d721917805eecaacf1079d635a79f24a6a | /man/rboolm.Rd | 883f995141c170574085e6236d0686f6c1b1cf9b | [
"MIT"
] | permissive | krzjoa/matricks | 13fc2e6547534f7578202da8332fb86ef1a5f650 | fd9987b6a4ee41be2520f0abfa935144fef06477 | refs/heads/master | 2020-09-14T05:39:12.488603 | 2020-03-03T22:15:06 | 2020-03-03T22:15:06 | 223,035,650 | 4 | 0 | null | null | null | null | UTF-8 | R | false | true | 498 | rd | rboolm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/random-matrix.R
\name{rboolm}
\alias{rboolm}
\title{Create matrix of random choosen boolean values}
\usage{
rboolm(nrow, ncol, true.proba = 0.5)
}
\arguments{
\item{nrow}{number of rows}
\item{ncol}{numer of columns}
\item{true.proba}{proba... |
b49983c680639a869f2701c368b4851ab659663f | 914765027979b092d632fdbf4e9fbcd417f8223e | /Scripts/04.3.Catch.GAMM.R | fc32f69f14828c7f3a17b0c4fd64254dca56242e | [] | no_license | UWA-Marine-Ecology-Group-students/Analysis_Miller_lobster | 6cc2dc785e7afc8a70f3ae26bd0993f49af60b10 | 1bb1d1e24c294fb74cf3479c5b968c4f0ae173e4 | refs/heads/master | 2023-07-27T05:24:48.634970 | 2021-08-31T03:46:18 | 2021-08-31T03:46:18 | 395,499,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,017 | r | 04.3.Catch.GAMM.R | # A simple function for full subsets multiple regression in ecology with R
#
# R. Fisher
# S.K. Wilson
# S.M. Sin
# A.C. Lee
# Dr Tim J. Langlois
# Explore catch data----
rm(list=ls()) # Clears memory
# librarys----
detach("package:plyr", unload=TRUE)#will error - don't worry
library(tidyr)
library(dplyr)
library(lu... |
3f9f3c3a39e7dca6d84542f88e623d6e27fbc9d1 | 55eb928b52688c5158f412451a3572209d89f5bc | /exploration.R | 1c3c767d16e8a5068d2b6a50130174c16b40ca5f | [] | no_license | indyfree/us-healthcare-politics | 86d068f03167ce843e8c1c90c59b1009d9d9c9ac | 2820b40b17cd4793b26e16bd32ec075a5699ce34 | refs/heads/master | 2021-03-19T06:02:54.344912 | 2019-01-31T15:47:42 | 2019-01-31T15:47:42 | 116,642,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,508 | r | exploration.R | library('ggplot2') # visualization
library('ggthemes') # visualization
# Data exploration Scripts and Visualisations
source ('./dataLoader.R')
source('./preprocesing.R')
states2016 <- get_state_features(plans2016, rates2016, benefits2016)
states2016 <- merge(states2016, pol2012, by = 'State')
states2016$Color <- as.fa... |
2f233c066c130c06cc9ee5ba88be489f0cd3f242 | dfae36f8d11b92f6fbab3e720ad8dfedc0ec9aee | /man/zeropad.Rd | aa752f53484292121e373cd818e04f3dd2a0e5a7 | [] | no_license | stevetnz/stevesRfunctions | 871abc73c05f03e28879632209c7819f96cae805 | afb0b49bc951f2eb5fc7918aa71fa6626b4bc58c | refs/heads/master | 2018-09-09T11:31:07.851685 | 2018-06-05T04:25:45 | 2018-06-05T04:25:45 | 115,288,767 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 611 | rd | zeropad.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zeropad.R
\name{zeropad}
\alias{zeropad}
\title{Format numbers in constant width with leading zeros}
\usage{
zeropad(x, digits = 0, width = NULL)
}
\arguments{
\item{x}{Vector of numbers.}
\item{digits}{Number of decimal places (defaults to ... |
9eeb0c47a8faf2ee72992ba0f9286bcfd29b2d52 | bff6a33ede3dfe6558804694727ea15f77fd13eb | /main.R | 7bb724eac721618428f43a4c2c8b93f67aad9db8 | [] | no_license | amineds/data-analysis-with-Rstudio-in-French | 88048b21b184cf891d77ae93444845062bf98bca | cbb961f1ac2c2f56840aee88bbcb9a2da693d266 | refs/heads/master | 2020-12-24T14:36:37.669364 | 2015-07-23T21:11:11 | 2015-07-23T21:11:11 | 39,345,380 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,436 | r | main.R | library(ggplot2)
library(dplyr)
### Lecture de fichiers, cas particulier du format `.csv`
## Première chose à faire, définir le répertoire de travail
## à l'aide de la fonction `setwd`
#source : "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FGDP.csv"
gdp_data <- read.csv("gdp.csv",
stri... |
f2764f11caef561e59f9f739c27ebdc8724455e2 | 217e28f77f8386ca2f57507cc1fa301897ee3193 | /server.R | 0dd7825a8db5010047d263df9afbba9697152d06 | [] | no_license | jorgehpo/ConcentricRadviz | fbb0bfce0e15d351ff43d8dc3771929f6fb050f7 | 48b5f222c3124fa9408c92418504d186351d5c39 | refs/heads/master | 2021-05-06T04:21:37.792887 | 2017-12-20T21:25:47 | 2017-12-20T21:25:47 | 114,928,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,731 | r | server.R | #server.R
require(shiny)
require(TSP)
source("SortAllDGs.R")
source("OffsetDG.R")
sigmoid <- function(x, s=10, t= -1){
return (1/(1+exp(-s*(x+t))))
}
options(shiny.maxRequestSize=100*1024^2)
#concorde_path("/home/jorgehpo/Desktop/concorde/TSP")
shinyServer(function(input, output,session) {
dataRadviz = NULL... |
00ae008ff216d07cf3cf4862538135cb654ada2d | 9b659628745c424b0abe2ecb1b038e328296679e | /boxy-wCfe_tissues/boxy-tissues-anova.R | abb42042c30169330141622185d4ac3a9a49871d | [] | no_license | driscollmml/sandbox | 5d1f1cfa2e9f7e6cfdc4708f0513d06d9354e1de | 790cd253bb616f13dce1b1fe079ef9a3bd3c8587 | refs/heads/master | 2020-04-10T23:31:50.576887 | 2019-09-05T15:46:07 | 2019-09-05T15:46:07 | 161,356,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 314 | r | boxy-tissues-anova.R | #! /usr/local/bin/R
# library
library(ggplot2)
library(readxl)
data_for_R <- read_excel("/Users/tpd0001/github/sandbox/boxy-wCfe_tissues/wCfe-tissues-ANOVA.xlsx")
# balanced design two-way ANOVA
res.aov2 <- aov(copies ~ tissue * target, data = data_for_R)
summary(res.aov2)
TukeyHSD(res.aov2, which = "tissue")
|
aec220649ed4c4664db98a2cdd5132690a1a79fe | 0cd1ee53f120be720bf68b4288885256a69e2db5 | /man/PhysActBedRest-package.Rd | e8d040e3ae1791aedaf965964557e085e769f270 | [] | no_license | cran/PhyActBedRest | 18bb44330f565f793bac278b38fb8076210aff00 | 93f440bc6bdcc845c35de0d595ba709ee3b166db | refs/heads/master | 2020-03-29T13:29:50.204813 | 2014-02-11T00:00:00 | 2014-02-11T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,465 | rd | PhysActBedRest-package.Rd | \name{PhysActBedRest-package}
\alias{PhysActBedRest-package}
\alias{PhysActBedRest}
\docType{package}
\title{Mark Bedrest}
\description{
This package contains functions, which apply an automated algorithm to mark time intervals in Actigraph accelerometer data as either being either bedrest or active. The functio... |
c5e529788f9d4f5f72b096a652e3f6151a037319 | d4bfe22bab5c1f026d38a02c2b94ca09fba452ce | /figure/plot2.R | e1b6c88c1c508b62e440f364d0c53e700363ed7e | [] | no_license | anemos23/ExData_Plotting1 | a3d141e5ff6000e59f19d856e6e55bafc446c63b | 6eb03ac4bd87d63827628b241671d1c40e1607c7 | refs/heads/master | 2021-01-22T01:43:21.162718 | 2015-01-11T16:54:28 | 2015-01-11T16:54:28 | 27,638,148 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 674 | r | plot2.R |
##read the file in a data frame
df <- read.csv("~/R/household_power_consumption.txt", header = TRUE, sep = ";", stringsAsFactors = FALSE)
##subsetting the data frame to the required dates
df_req <- subset(df, df$Date == "1/2/2007" | df$Date == "2/2/2007")
##create and add a timeline variable that can be used for plo... |
9d29721b06cdf50d51d9b89dfe227e588ec4ef59 | c5448803c6435f5ced328f1d3bc30fc56a4e70a3 | /Documents/Big Data Analytics/DA and E/jupyter/fma/man/telephone.Rd | 7516649d8c6542df9b8ed811b8c72826d8e47043 | [] | no_license | JohannesKokozela/Research_Project | 0028dc0531e68d80b0ad2bee7b2e0f3a7f7596ba | a1b462d3f77ae6437d3648ab3f45fd76ce72ebbe | refs/heads/master | 2021-07-13T01:25:59.689912 | 2017-10-14T13:41:07 | 2017-10-14T13:41:07 | 106,183,621 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 369 | rd | telephone.Rd | \name{telephone}
\alias{telephone}
\title{Telephone cost}
\description{Telephone cost in San Francisco, New York: 1915--1996.}
\usage{telephone}
\format{Time series data}
\source{Makridakis, Wheelwright and Hyndman (1998) \emph{Forecasting: methods and applications}, John Wiley & Sons: New York.
Chapter 9.}
\... |
65a3ce1a8e5dc4029122b0bea8414c577b03a78e | 1dec09df1d39cfb292ddf1301cc285c4727f5271 | /R/LWnomo1.R | 8e958b3bbe7a8bc6ed1b15a435237010fba1086f | [] | no_license | cran/LW1949 | 15d3316301a81f24cb30087f10f78fa97ca2908d | 78efc68e5ed7929946f2beb6a7de83074e70fcc1 | refs/heads/master | 2021-01-09T21:48:52.060550 | 2017-03-20T16:34:16 | 2017-03-20T16:34:16 | 48,083,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,178 | r | LWnomo1.R | #' Recreate Litchfield and Wilcoxon's Nomograph No. 1
#'
#' Recreate Litchfield and Wilcoxon's (1949) nomograph to estimate the
#' contribution to the chi-squared from the expected percent effect and
#' the observed minus the expected percent effect.
#' @export
#' @import
#' plotrix
#' @details
#' Use the n... |
89e03668b7e24b5f1146e8d9608d6628a07a0d51 | 7ba42ea09417547219343e5532a1f7954bdf10b2 | /R/xlnet-embeddings.R | 53149eeb86c020857439ecd62f2a60ac71e3cf46 | [
"Apache-2.0"
] | permissive | r-spark/sparknlp | 622822b53e2b5eb43508852e39a911a43efa443f | 4c2ad871cc7fec46f8574f9361c78b4bed39c924 | refs/heads/master | 2023-03-16T05:35:41.244593 | 2022-10-06T13:42:00 | 2022-10-06T13:42:00 | 212,847,046 | 32 | 7 | NOASSERTION | 2023-03-13T19:33:03 | 2019-10-04T15:27:28 | R | UTF-8 | R | false | false | 2,835 | r | xlnet-embeddings.R | #' Load a pretrained Spark NLP XlnetEmbeddings model
#'
#' Create a pretrained Spark NLP \code{XlnetEmbeddings} model
#'
#' @template roxlate-pretrained-params
#' @template roxlate-inputs-output-params
#' @param case_sensitive whether to treat the tokens as case insensitive when looking up their embedding
#' @param b... |
b20bba45e35d65bf87e851b48d39547493f012da | 1befa50ec497f45d2c5a5973e3526fa708cf71aa | /resamplePRISM.R | 1079f406890d6ea121e0c159e692293bf92eee84 | [] | no_license | mcrimmins/DroughtIndices | 0248841f70e84c68fd6d084b28844635a2f5d700 | 5508184711a03b456cd90aaf4f144dcb4745ab7f | refs/heads/master | 2020-03-25T05:29:09.683410 | 2019-07-03T02:01:57 | 2019-07-03T02:01:57 | 143,449,343 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,047 | r | resamplePRISM.R | # Resample PRISM to Livneh grid resolution
# MAC 08/09/18
library(raster)
library(zoo)
library(rasterVis)
# set rasteroptions
rasterOptions(progress = 'text')
# map layers
#states <- getData('GADM', country='United States', level=1)
# dates 1895-2017 PRISM data
dates=seq(as.Date("1895-01-01"), as.Date("2017-12-31"),... |
cf7f345f04ce8879c063baa8cfbc0e6fe3eb5df4 | ed1f5670a858affeb3377307119ea38e9901470c | /setup/pop1plus.R | d92f3c9fd61f03dd021baffd17c6877dd7049737 | [] | no_license | bthe/NA-fin-ist | e116d84a46154a44a54a05a5dcb5838be0bdf642 | 575e00d3aeac49f320a655b932acfc3942c7626c | refs/heads/master | 2021-01-21T04:43:16.330777 | 2020-11-06T13:04:08 | 2020-11-06T13:04:08 | 48,041,698 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,920 | r | pop1plus.R |
for(ms in c(1,4)){
print(pop %>%
filter(grepl(sprintf('NF-B.-%s',ms),ref)) %>%
mutate(hypo = paste('Hypothesis',hypo)) %>%
ggplot(aes(year,number)) +
geom_line(aes(col=hypo,lty=hypo)) +
facet_wrap(~area,scale='free_y',ncol=2) +
geom_point(aes(year,obs)... |
f7167df2c9d6a844a8f450fbf8a2cf06eb51d703 | 73fc537bb4ca79f15edebcbfef0c90878666380c | /man/plot.ensembleBMA.Rd | 181f03c01f740393b4a5a4e33a6a2ff2baea2648 | [] | no_license | cran/ensembleBMA | b3012f476e3c7e44580edb9fb23e06bec7fce12c | 2bbb7ed69a64dd97b55a40d832b19fbc77e89b10 | refs/heads/master | 2022-09-16T14:20:24.345306 | 2022-09-02T06:20:05 | 2022-09-02T06:20:05 | 17,695,812 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,183 | rd | plot.ensembleBMA.Rd | \name{plot.ensembleBMA}
\alias{plot.ensembleBMA}
\alias{plot.ensembleBMAgamma}
\alias{plot.ensembleBMAgamma0}
\alias{plot.ensembleBMAnormal}
\alias{plot.fitBMA}
\alias{plot.fitBMAgamma}
\alias{plot.fitBMAgamma0}
\alias{plot.fitBMAnormal}
\alias{plotBMAgamma}
\alias{plotBMAgamma0}
\alias{plotBMAnormal}
\title{
Plot t... |
a217b93d007d9d0c460867b83ba0365d61a17bf3 | d4663d9791edda1d4744f52e2fbe585677d90136 | /Sentiment Analysis/[001]Twitter-Sentiment-Analysis/03-wordcloud.R | 279d4458abc4ae383acbe532f2bf36ae16730d22 | [] | no_license | romele-stefano/R-scripts | 1bb9af6dcc353c8f2e2a85248e3de85a2bb0c037 | 557daa981540f7e04e296527993a563323db924e | refs/heads/master | 2020-06-22T05:05:34.278438 | 2019-01-29T13:44:16 | 2019-01-29T13:44:16 | 74,959,531 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | r | 03-wordcloud.R | #################
# WORDCLOUD #
#################
### TRUMP ###
# Eliminate character
text_trump <- gsub("&", "", text_trump)
text_trump <- gsub("http.*", "", text_trump)
text_trump <- gsub("@.*", "", text_trump)
# create wordcloud
corpus=Corpus(VectorSource(text_trump))
# Convert to lower-case
corpus=tm_ma... |
c4530d5de06d0c40d719c2af2aea53b92287c889 | 58b5653f2c3e582a3de4aa5059b33282e000e8cc | /man/draw.StudentT.Rd | 7f736cf1d282153f856f7aad7416ff172e27c4a0 | [] | no_license | hayate0304/Rsymbulate | 539c158af6d758ccf5254c5feaf440be26419089 | 3fc7fd0ca0e9c476e4da0f8382787ac5bbddd010 | refs/heads/master | 2020-03-25T18:57:41.909510 | 2019-01-24T04:47:27 | 2019-01-24T04:47:27 | 144,058,208 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 373 | rd | draw.StudentT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{draw.StudentT}
\alias{draw.StudentT}
\title{A function that takes no arguments and
returns a single draw from the T distribution.}
\usage{
\method{draw}{StudentT}(self)
}
\description{
A function that takes no arguments ... |
44fa749fe368c8884bc3cae95a712a6e573bcc20 | 93d1fcc7758e5e99927be0529fb9d681db71e70c | /man/sparsify_simdat_r.Rd | 27f3dce44f2d2f06b198ab11e773b93c69e9e9ae | [] | no_license | psychmeta/psychmeta | ef4319169102b43fd87caacd9881014762939e33 | b790fac3f2a4da43ee743d06de51b7005214e279 | refs/heads/master | 2023-08-17T20:42:48.778862 | 2023-08-14T01:22:19 | 2023-08-14T01:22:19 | 100,509,679 | 37 | 15 | null | 2023-08-14T01:06:53 | 2017-08-16T16:23:28 | R | UTF-8 | R | false | true | 1,317 | rd | sparsify_simdat_r.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulate_r.R
\name{sparsify_simdat_r}
\alias{sparsify_simdat_r}
\title{Create sparse artifact information in a "simdat_r_database" class object}
\usage{
sparsify_simdat_r(
data_obj,
prop_missing,
sparify_arts = c("rel", "u"),
study_wi... |
3b2cd8303486f473f0506ed57b585e8d062b3eef | ee1727efd8dc3873db7ab949bbe37d609c017a02 | /man/generate_monthly_flow_replicates.Rd | f6e7371779464b0f845359b02b6e59ba373563f8 | [
"BSD-2-Clause"
] | permissive | pnnl/capratTX | 09f189ee5c8d96df32848f10eb06b80b185f7d15 | 860e60d86713af7b86a571d7743a490dee1bcce7 | refs/heads/master | 2023-01-22T17:22:36.058629 | 2020-12-04T23:06:12 | 2020-12-04T23:06:12 | 304,059,832 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 498 | rd | generate_monthly_flow_replicates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/climate.R
\name{generate_monthly_flow_replicates}
\alias{generate_monthly_flow_replicates}
\title{generate_monthly_flow_replicates}
\usage{
generate_monthly_flow_replicates(reservoir, data_path)
}
\arguments{
\item{reservoir}{name of the rese... |
4fa04662a1156e2bfc588d905a9963fbc4c01661 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /GauPro/man/trend_LM.Rd | b055a5f6e399f9f25bbc2f3b131596f70f6f4839 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 482 | rd | trend_LM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trend_LM.R
\docType{class}
\name{trend_LM}
\alias{trend_LM}
\title{Trend R6 class}
\format{\code{\link{R6Class}} object.}
\usage{
trend_LM
}
\value{
Object of \code{\link{R6Class}} with methods for fitting GP model.
}
\descriptio... |
a1879da0dc81d095c99721b152344531920ee8d2 | 8eb62638876d3e7b29732022759ed226774c7e0d | /genetic_score/8_PRS_SNPassoc/getScore.R | b8eae5fb87cda956ed011c243610f0ba64693183 | [] | no_license | isglobal-brge/master_thesis | 93b7d7f09ba8b495895ff152826bfdbbeb8159b9 | 57f27a0997c260604986a603157f87b12730db7c | refs/heads/master | 2023-07-06T09:16:17.497634 | 2023-06-29T11:59:46 | 2023-06-29T11:59:46 | 146,269,866 | 0 | 6 | null | 2023-06-29T10:12:54 | 2018-08-27T08:34:33 | HTML | UTF-8 | R | false | false | 999 | r | getScore.R | getScore <- function(geno, annot, snp.sel){
x <- geno[,snp.sel]
annot <- annot[snp.sel, ]
snp.maf <- dscore.character(snp.sel)
maf <- attr(snp.maf, "MAFs")
ff <- function(i, x, flip){
xx <- x[,i]
flip.i <- flip[i]
ans <- as.numeric(xx) - 1
ans[ans == -1] <- NA
out <- an... |
9de26706c5dc1813e5b2f5dbbddda4eadbc9408c | 387df2ef56aec161c1d835fe9dec44c265c8698d | /man/get_webservice_token.Rd | af2fe0a8b5c36445288eb2548da61642c13f1476 | [
"MIT"
] | permissive | Azure/azureml-sdk-for-r | 072d4e72ad7667a848fc61d50655f7632b6c69cf | 19301e106c0cec69dac0931e98af7e3f713b7bf7 | refs/heads/master | 2023-08-16T16:01:25.257198 | 2022-09-14T16:35:20 | 2022-09-14T16:35:20 | 199,087,253 | 102 | 47 | NOASSERTION | 2022-07-25T19:03:47 | 2019-07-26T22:29:14 | R | UTF-8 | R | false | true | 1,287 | rd | get_webservice_token.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/webservice.R
\name{get_webservice_token}
\alias{get_webservice_token}
\title{Retrieve the auth token for a web service}
\usage{
get_webservice_token(webservice)
}
\arguments{
\item{webservice}{The \code{AksWebservice} object.}
}
\value{
An \c... |
0371b8c333be3707b5776aa90366325e2f776224 | 37d87e93626949ef5b98912a8467e3c22950ba07 | /shiny/06-expressoes-reativas.R | 0685be44b9ad1112c7575277c6a873912d59a46d | [
"MIT"
] | permissive | curso-r/201906-dashboard | bb6b3bf036edc61e8ad15ded8bd8ce93408fbb47 | 559a9b96a8005ef26a73fcd9109b0d1b786faa46 | refs/heads/master | 2020-05-30T11:01:50.248573 | 2019-06-09T12:41:37 | 2019-06-09T12:41:37 | 189,687,929 | 4 | 0 | MIT | 2019-06-03T20:01:08 | 2019-06-01T03:56:10 | HTML | UTF-8 | R | false | false | 2,227 | r | 06-expressoes-reativas.R | library(shiny)
library(shinydashboard)
library(dplyr)
dados <- readRDS("dados/pkmn.rds")
lista_pokemon <- as.list(dados$pokemon)
names(lista_pokemon) <- stringr::str_to_title(lista_pokemon)
ui <- dashboardPage(
dashboardHeader(title = "Pokemon"),
dashboardSidebar(
selectizeInput(
inputId = "pokemon",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.